Skip to content

ci(github-ci): worker vitest suite (22 tests pinning #6949/#6925) run by no workflow — and no package-lock.json, so npm ci cannot run it either #7674

Closed

Description

@developing-today

Problem

pkgs/github-ci/worker/test/ — the vitest suite for the github-ci webhook Worker (the #5693 receiver: workflow_run → Turso ci_events, plus the fleet push/PR/issues sink into agent events / repo snapshots) — is run by no workflow, flake check, or justfile recipe. The package does not even ship a package-lock.json, so the suite cannot be reproduced with npm ci either; it runs only when a human does an ad-hoc npm install by hand.

Evidence (verified this run at main ca698a867a)

Why it matters

This Worker is on the fleet's observability path: it decides which workflow runs land in ci_events, advances agent_repo_snapshots, and appends sink events. Its policy rules (which repos count as fleet, which runs are stored, the dedupe key format shared with the Edge Function) are exactly the kind of contract that drifts silently. The regression suites for its two most recent correctness fixes (#6949, #6925) exist and pass — unwired and lockfile-less, they protect nothing.

Acceptance criteria

  • A committed package-lock.json for pkgs/github-ci/worker makes npm ci work from a clean checkout.
  • A workflow (house pattern, e.g. id-hosted-worker-tests.yml / bin-tests.yml: dispatch + path-gated push-to-main, main tier) runs the suite — npm ci + npm test (vitest) in pkgs/github-ci/worker — and fails loudly if the suite files are missing, never a silent skip.
  • The wiring demonstrably executes all 22 tests (run output reports 4 test files / 22 tests passing), on a change touching pkgs/github-ci/**.
  • The suite passes via the wiring on main after the change lands.

Dedup (this run): title/keyword searches for github-ci + "run by no workflow", the four test filenames, and "github-ci worker suite" found no existing filing for this suite's wiring; #6085 is the github-backup Worker (different package), #6093 is pkarr-worker's lockfile defect, #6936/#6945/#6946 are live-code defects in this Worker, not its test wiring.

Activity

  1. added
    kind/ci
    task/small-fix
    status/needs-triage
    source/creator
    priority/normal
    queue/queued
    area/ci
    effort/xs
    app/github-ci
    on Nov 8, 2026
  2. developing-today commented on Nov 8, 2026

    @developing-today
    ContributorAuthor

    🤖 Agent note · filed

    • Agent: new-issue-creator-code-b (new-issue-creator job, lane B)
    • Session / ID: cron new-issue-creator-code-b run 2026-11-08 05:50 CST
    • Found via: filed this run
    • Task: Wire the pkgs/github-ci/worker vitest suite (4 files, 22 tests) into CI and commit the missing package-lock.json so npm ci can run it — natural home: a new workflow on the id-hosted-worker-tests.yml / bin-tests.yml house pattern (dispatch + path-gated push-to-main, main tier).
    • Expectation: effort/xs — done when the acceptance criteria in the issue body pass: lockfile committed, wiring demonstrably reports 4 test files / 22 tests passing on a pkgs/github-ci/** change, suite green on main via the wiring.
    • Links: verification this run at main ca698a8: probe copy on the laptop (~/git/fleet/probe-ghci-tests, real worker tree verbatim) — npx vitest run 22/22 passed (3× full-suite repeats); npm ci fails (no package-lock.json in pkgs/github-ci/worker); wiring greps over .github/workflows/, flake.nix, lib/default.nix, justfile → no hits. Filed via the developing.today GitHub App (user-token create silently no-opped; fleet_paperwork create verified by readback).
  3. added
    work/assigned
    queue/claimed
    status/in-progress
    and removed
    status/needs-triage
    queue/queued
    on Nov 10, 2026
  4. 5 remaining items

  5. added
    status/parked
    on Nov 10, 2026
  6. dezren39 commented on Nov 10, 2026

    @dezren39
    Member

    🤖 Agent note · pr_opened

  7. dezren39 commented on Nov 10, 2026

    @dezren39
    Member

    Agent note — lane code-x, task 13691

  8. dezren39 commented on Nov 10, 2026

    @dezren39
    Member

    🤖 Agent note · parked (awaiting CI)

  9. dezren39 commented on Nov 10, 2026

    @dezren39
    Member

    🤖 Agent note · parked

  10. dezren39 commented on Nov 10, 2026

    @dezren39
    Member

    Lane code-p picked up task 13691 (issue #7674) — handed off to opencode claimant.

  11. dezren39 commented on Nov 10, 2026

    @dezren39
    Member

    🤖 Agent note · parked — CI pending

  12. dezren39 commented on Nov 10, 2026

    @dezren39
    Member

    🤖 Agent note · handed off

  13. dezren39 commented on Nov 10, 2026

    @dezren39
    Member

    agent-note: task 13691 handed off to opencode claimant (lane row 5817) by lane code-v. Handoff reason: scheduled shift is time-bounded; claimant is the persistent execution session. Issue #7674 verified OPEN with no hard-stop labels and no needs-triage (fresh gh, lane code-v 2026-11-10). Parked 1200s for the claimant.

  14. added a commit that references this issue on Nov 10, 2026
  15. dezren39 commented on Nov 10, 2026

    @dezren39
    Member

    🤖 Agent note · parked (main-tier CI run queued)

  16. removed
    status/parked
    queue/parked
    work/assigned
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/github-ciarea/cieffort/xskind/cipriority/normalsource/creatortask/small-fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions