You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0c5c3f0
Browse filesBrowse the repository at this point in the historyBrowse files
fix(pm): the archiver's workflow exercises itself at PR time, writing nothing
`check:pm-dispatch-gates` pins that no discovered gate family is reachable only
through a schedule — every patrol in this tree carries a `pull_request` paths
trigger, and a workflow whose script CI never runs at PR time reddens that gate
by existing. The first draft of `board-snapshot.yml` omitted the trigger to keep
PR-time cost at zero and was refused by exactly that pin, which named the remedy
in its own failure text.
So a pull request now runs the snapshot on a real runner — transport, flags,
page walk and rendering, proven where they will actually run — into the runner's
temp dir, `--dry-run`, capped at five numbers and twenty-five requests, with the
archive checkout and the commit both skipped. A pull request writes to neither
the board nor the archive, and the two spellings differ in where they write and
in nothing else, so what a PR exercises is the path a schedule takes.
Two readings from the local drill, folded back in: the PENDING count-check line
no longer prints an arithmetic the run never read (a stopped run skips the
board's own count, and `expected 0` read as a real zero), and `--restore` no
longer re-execs itself through the proxy — it makes no request at all, so
routing its transport spawned a child to prove a route that mode never uses.
Claude-Session: https://claude.ai/code/session_01YKEjmbYNvYWJvWGSWx26zK
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: scripts/pm/board-snapshot.mjs
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -809,7 +809,10 @@ export function renderRun(result, options) {
809
809
810
810
constcheck=m.count_check;
811
811
if(check.verdict==='pending'){
812
-
lines.push(` count check PENDING — the snapshot is incomplete, so its census is no reading about the board (expected ${check.expected}, archived ${check.archived}).`);
812
+
constboard=m.board.open_issues_count===null
813
+
? 'the board\'s own count was not read this run'
814
+
: `the board reports ${check.expected}`;
815
+
lines.push(` count check PENDING — the snapshot is incomplete, so its census is no reading about the board (archived ${check.archived}; ${board}).`);
813
816
}elseif(check.ok){
814
817
lines.push(` count check ok — ${check.archived} open issue(s) archived, board says ${check.expected} (open_issues_count ${m.board.open_issues_count} minus ${m.board.open_pull_requests} open pull request(s)).`);
815
818
}elseif(check.verdict==='shortfall'){
@@ -1336,7 +1339,12 @@ if (isEntrypoint(import.meta.url)) {
0 commit comments