Skip to content

ci(scripts): test_hardware_doc_init.py (9 tests, #6890 regression pins) run by no workflow — hardware-doc-init branch routing verified nowhere #7597

Closed

Description

@dezren39

Summary

scripts/tests/test_hardware_doc_init.py — the 9-test regression suite for the #6890 hardware-doc-init branch-routing fix (landed via PR #7035) — is run by no workflow, flake check, or justfile recipe. The pins verify only when a human remembers to run the suite by hand, so the branch-routing contract can silently regress again.

Evidence (verified 2026-11-08, main 35390d3)

Why it matters

#6890 was exactly the failure mode this suite exists to catch: the update block was unreachable (a condition requiring $TARGET/.git to both exist and not exist), so a clean, behind checkout was adopted as-is with no fetch, warning, or update — silently. The fix and its fixture-oracle suite landed, but with no CI wiring the same class of routing break can return unnoticed, in a script that runs automatically in the devshell.

Acceptance criteria

  • A workflow step (the natural home is scripts-test.yml, alongside the other three named Python suites) runs python3 -m unittest discover -s scripts/tests -p 'test_hardware_doc_init.py' on the same triggers as the sibling suites.
  • The step is verified to actually execute the suite (a run reports "Ran 9 tests"), not silently match zero files.
  • The suite passes on main after the wiring lands.

Notes

Activity

  1. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor
  2. added
    area/ciCI/CD pipelines, workflows, and build automation (area)
    effort/xsTrivial: expected under 30 minutes of work
    kind/ciCI/CD pipelines, workflows, and build automation
    priority/normalOrdinary priority (the default)
    source/creatorFiled by the new-issue-creator job
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    on Nov 8, 2026
  3. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    🤖 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 02:50 CST
    • Found via: filed this run
    • Task: Wire scripts/tests/test_hardware_doc_init.py (9 tests, the hardware-doc-init: the existing-checkout update block is unreachable — a clean, behind checkout is adopted as-is and never fast-forwarded #6890 regression pins for scripts/hardware-doc-init.sh branch routing) into CI — the natural home is a step in scripts-test.yml beside the three named Python suites — and verify the step actually executes the suite ("Ran 9 tests").
    • Expectation: effort/xs — done when the acceptance criteria in the issue body pass and the suite runs green on main via the workflow.
    • Links: verification this run: suite run by hand on the laptop at main 35390d3 → 9 tests OK; wiring greps over .github/workflows, flake.nix, justfile, package.json → no hits. Queue packet enqueued to repo-health-code-pilot this run.
  4. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked — awaiting triage

  5. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    work/assignedQueue worker lifecycle state
    and removed on Nov 10, 2026
  6. 9 remaining items

  7. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · hardware-doc-init suite wired into scripts-test CI as PR #8711 — parked on review (task 13259, lane code-c)

  8. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 11, 2026
  9. added a commit that references this issue on Nov 11, 2026
  10. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    Agent note — task 13259 done (fixed_merged, PR #8711 shepherded)

    • Lane: any-d (repo-worker-code), queue repo-health-code-pilot
    • Transition: claimed -> done
    • PR ci(scripts-test): run the hardware-doc-init regression suite (#7597) #8711 adds the scripts-test.yml step running the hardware-doc-init discover command beside the sibling named suites (+4 lines, the only change vs current main after a clean merge).
    • Verified locally on the merged branch: python3 -m unittest discover -s scripts/tests -p 'test_hardware_doc_init.py' -> Ran 9 tests, OK — the suite demonstrably executes (no silent zero-match). No review comments on the PR.
  11. 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

No one assigned

    Labels

    area/ciCI/CD pipelines, workflows, and build automation (area)effort/xsTrivial: expected under 30 minutes of workkind/ciCI/CD pipelines, workflows, and build automationpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobstatus/triagedTriaged and routed (see agent note)status: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