From a61310287d4daed3c73ba4bc0be74fc707898e38 Mon Sep 17 00:00:00 2001 From: repo-worker-code-k Date: Tue, 10 Nov 2026 22:04:07 -0600 Subject: [PATCH] ci(github-backup): run the Worker test suite in github-backup-tests (#6085) worker/test/index.test.mjs was run by no workflow (#5937 wired only the Python suite). New node --test step in the same job with the workflow fail-if-missing discipline; header comment documents it. Verified locally: 11/11 tests pass. --- .github/workflows/github-backup-tests.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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."