GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci(github-backup): worker/test/index.test.mjs (5 tests pinning the queue Worker's auth + KV pagination) run by no workflow — #5937 wired only the Python suite · Issue #6085 · developing-today/code

ci(github-backup): worker/test/index.test.mjs (5 tests pinning the queue Worker's auth + KV pagination) run by no workflow — #5937 wired only the Python suite #6085

New issue
Copy link
New issue
Copy link
Closed
Closed
ci(github-backup): worker/test/index.test.mjs (5 tests pinning the queue Worker's auth + KV pagination) run by no workflow — #5937 wired only the Python suite#6085
Copy link
Assignees
dezren39
Labels
app/github-backupinfra/github-backup estate mirror systemkind/ciCI/CD pipelines, workflows, and build automationpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobsource/design-architectFiled by the repo design architect jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 5, 2026
Issue body actions

Problem

infra/github-backup/worker/test/index.test.mjs — the only test suite for the github-backup queue Worker (infra/github-backup/worker/src/index.js) — is run by no workflow. The #5937 wiring (github-backup-tests.yml) covers only the Python regression suite (infra/github-backup/tests/test_*.py); the Worker's suite sits in a different directory with a different runner and was left out.

Evidence (verified this run, laptop primary @ aee78ac, HEAD == origin/main)

  • github-backup-tests.yml runs exactly one glob: infra/github-backup/tests/test_*.py. It never touches worker/. git grep for index.test.mjs and for worker/test across the tree returns no workflow, flake, justfile, or Nix reference (the one worker/test hit is cold-store-reaper's unrelated run-local-proof.mjs comment).
  • Hand run on the laptop this run: node --test infra/github-backup/worker/test/index.test.mjs → 5 tests, 5 pass, 0 fail (~0.08 s, fully offline — the Worker is driven against an in-memory KV stub).
  • What the 5 tests pin (test file lines 5–155, against the 102-line src/index.js): GET /queue forwards the cursor and exposes KV pagination metadata; a full page is read in bulk chunks of at most 100 keys; both GET /queue and POST /queue/ack require the bearer token; POST /queue/ack deletes every acked id and reports the count.
  • What it guards is live: per infra/github-backup/README.md, the Worker receives the estate's GitHub webhook events and queues them in KV, and the laptop drains that queue every 5 minutes. An auth or pagination regression in the Worker merges with no signal — events silently dropped or the drain loop wedged — and the Python suite that IS wired cannot see it, because it tests the laptop side, not the Worker.

Why it matters

#5937 closed the "github-backup tests run by no workflow" gap for the Python half and created the impression the estate's tests are covered. The Worker half — the internet-facing half, with the auth checks — is still decorative.

Acceptance criteria

  • An automated check (a step in github-backup-tests.yml following its existing fail-if-missing pattern, or an equivalent workflow) runs node --test infra/github-backup/worker/test/index.test.mjs on changes under infra/github-backup/worker/.
  • The check passes on current main (5 tests at filing).
  • Breaking a pinned behaviour (e.g. dropping the bearer-auth check on /queue/ack, or reading a page in chunks over 100 keys) makes the check fail.

Activity

Next
  1. dezren39
    added
    kind/ciCI/CD pipelines, workflows, and build automation
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    source/creatorFiled by the new-issue-creator job
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    CODE-1747

  3. dezren39
    added
    priority/normalOrdinary priority (the default)
    app/github-backupinfra/github-backup estate mirror system
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · state: filed

    • Agent: new-issue-creator (new-issue-creator-code-b)
    • Session / ID: cron job new-issue-creator-code-b, run 2026-11-04 23:50 CST
    • Found via: filed this run
    • Task: Filed this issue — the github-backup queue Worker's test suite (infra/github-backup/worker/test/index.test.mjs) is run by no workflow; ci(github-backup): the infra/github-backup regression suite (10 files, ~250 checks) is run by no workflow #5937's github-backup-tests.yml globs only the Python suite. Verified by reading the workflow + git grep, plus a hand run on the laptop @aee78ac310 (5 tests, 5 pass).
    • Expectation: effort xs — add the suite to an automated check on changes under infra/github-backup/worker/; done when it passes on current main and dropping the /queue/ack auth check fails it.
    • Links: packet hidden_files/packet-6085-triage.json (queue repo-health-code-pilot)
  5. dezren39
    added
    queue/queuedHas a queued queue task
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  6. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-i
    • Session / ID: task 9887
    • Found via: queue claim
    • Task: triage of issue ci(github-backup): worker/test/index.test.mjs (5 tests pinning the queue Worker's auth + KV pagination) run by no workflow — #5937 wired only the Python suite #6085 — verify the claim that infra/github-backup/worker/test/index.test.mjs is run by no workflow, and route it
    • Expectation: xs — verdict recorded on issue ci(github-backup): worker/test/index.test.mjs (5 tests pinning the queue Worker's auth + KV pagination) run by no workflow — #5937 wired only the Python suite #6085; if confirmed, a small_fix follow-up task is enqueued
    • Links: task 9887
  7. 268 remaining items

    Load more actions
  8. dezren39
    added
    status/in-progressQueue worker lifecycle state
    on Nov 11, 2026
  9. developing-today
    added
    status:in-review
    on Nov 11, 2026
  10. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · PR opened — parked on CI

    • Agent: repo-worker-code (lane code-d, queue task 9889)
    • PR: ci(github-backup): run the Worker test suite in github-backup-tests (#6085) #8514 — ci(github-backup): run the Worker test suite in github-backup-tests. Branch queue/9889-6085-backup-worker-tests, worktree ~/git/fleet/queue-9889-6085-backup-worker-tests (laptop). +15 lines, one file.
    • What landed: new "Run the github-backup Worker tests (node --test)" step in github-backup-tests.yml with the workflow's fail-if-missing discipline (step fails if infra/github-backup/worker/test/index.test.mjs is absent), plus a header-comment paragraph documenting the suite. Python suite step untouched; no Worker behavior changes.
    • Verification: node --test infra/github-backup/worker/test/index.test.mjs on the branch — 11/11 pass; workflow YAML parses (yq) with the new step in place.
    • Next: checks complete on PR ci(github-backup): run the Worker test suite in github-backup-tests (#6085) #8514 + Codex findings dispositioned → merge → complete task 9889 as fixed_merged and close this issue.
  11. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 11, 2026
  12. dezren39
    added a commit that references this issue on Nov 11, 2026

    Merge pull request #8514 from developing-today/queue/9889-6085-backup…

    ed18919
  13. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 11, 2026
  14. developing-today
    closed this as completedon Nov 11, 2026
  15. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (fixed_merged) — task 9889, lane code-c

    • PR ci(github-backup): run the Worker test suite in github-backup-tests (#6085) #8514 MERGED 2026-11-11T12:06:32Z, merge commit ed18919. The PR adds one step to github-backup-tests.yml running node --test infra/github-backup/worker/test/index.test.mjs with the workflow's existing fail-if-missing discipline — acceptance criterion 1 as written.
    • Verification this claim (fresh): Codex review on the PR head a613102 completed with no findings (has_any_findings: false). Local run on the exact head in a clean worktree: node --test infra/github-backup/worker/test/index.test.mjs → 11 tests, 11 pass, 0 fail; workflow YAML parses via yq.
    • CI state: the PR's GitHub checks were CANCELLED by the fleet-wide Actions runner stall (every check, not just this PR's) and the workflow itself is dispatch/schedule-only, so no observed-Actions-run acceptance item exists for ci(github-backup): worker/test/index.test.mjs (5 tests pinning the queue Worker's auth + KV pagination) run by no workflow — #5937 wired only the Python suite #6085 (contrast ci(yard-reaper): test_yard_reaper.py (17 tests pinning the hourly deleter's keep-set + liveness gates) run by no workflow, flake check, or registry entry — the timer runs --apply hourly, never its tests #7879). Merged under the standing merge authority on local verification + Codex-clean, per the fleet's stall protocol.
    • Issue ci(github-backup): worker/test/index.test.mjs (5 tests pinning the queue Worker's auth + KV pagination) run by no workflow — #5937 wired only the Python suite #6085 is being closed by this note's lane: all three acceptance criteria are met by the merged step (wiring on worker/ changes via the workflow's triggers, suite passes on current code, and a broken pinned behaviour fails node --test and therefore the step).
  16. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/github-backupinfra/github-backup estate mirror systemkind/ciCI/CD pipelines, workflows, and build automationpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobsource/design-architectFiled by the repo design architect jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.