diff --git a/.github/workflows/github-backup-tests.yml b/.github/workflows/github-backup-tests.yml index 47e692d6f2..e1bcb18330 100644 --- a/.github/workflows/github-backup-tests.yml +++ b/.github/workflows/github-backup-tests.yml @@ -23,6 +23,11 @@ name: github-backup tests # Python. The remaining tests shell out to the real git CLI, which the # runner image provides. # +# The queue Worker's own suite (worker/test/index.test.mjs, #6085 — +# auth + KV pagination) is a node --test file, not part of the Python +# glob; it runs in its own step below with the same fail-if-missing +# discipline, so it cannot silently drop out of CI either. +# # Trigger policy matches the house pattern since 5a94833ea3: # dispatch/schedule only, no push/pull_request triggers. The schedule # is daily at 04:47 UTC (off the hour, clear of the other dailies); @@ -86,3 +91,13 @@ jobs: exit 1 fi echo "github-backup regression suite: all $count files passed." + + - name: Run the github-backup Worker tests (node --test) + run: | + test_file="infra/github-backup/worker/test/index.test.mjs" + if [ ! -f "$test_file" ]; then + echo "::error::Worker test file missing: $test_file — the suite was not run." + exit 1 + fi + node --test "$test_file" + echo "github-backup Worker tests passed."