Skip to content

Commit 9753bbf

Browse files
modem7claude
andcommitted
Fix CI version test sentinel: wait for 'Time Zone:' not 'borgmatic'
The borgmatic wrapper now prints a WARNING containing 'borgmatic' before s6 init completes. The CI test was polling for 'borgmatic' in logs as a readiness signal, which fired immediately on the warning — before svc-cron/run had printed the version table. 'Time Zone:' only appears at the end of the version table, making it a reliable sentinel that the container is fully initialised. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a37741d commit 9753bbf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ jobs:
307307
run: |
308308
docker run -d --name test-versions -e CRON=false ${{ env.IMAGE }}
309309
timeout 30 bash -c \
310-
'until docker logs test-versions 2>&1 | grep -q "borgmatic"; do sleep 1; done'
310+
'until docker logs test-versions 2>&1 | grep -q "Time Zone:"; do sleep 1; done'
311311
logs=$(docker logs test-versions 2>&1)
312312
echo "$logs"
313313
echo "$logs" | grep -qE "borg [0-9]" || { echo "borg version missing"; exit 1; }

0 commit comments

Comments
 (0)