Repository navigation
Description
What
The behaviour-test reliability work originally carried by #9084, reverted there in 7fae148f7 ("refactor(behaviourtest): restore main's dispatch assertions and jobs listing"):
- Dispatch-count pagination, decisive-match caching, and completed-attempt reuse in
settleHarnessDispatchCount - Jobs-listing error handling: preserve errors with repository/run/page details, return
404s immediately, and the first-page not-found sentinel (ErrJobsListingNotFoundFirstPage) with first-page/later-page classification - Waiting-run classification:
classifyJobsError(status, err)→ skip / retryLater / fatal, shared by the count and negative-assertion paths, with the count path keeping retryable runs pending and the one-shot negative path failing closed - Negative-assertion fan-out over every matching job, and the not-started-run jobs-read skip
Why
Both independent reviews of #9084 flagged this slice as scope drift (~14% of the diff): it neither implements nor enables trace-context admission, and every late review round landed in it (waiting-run drift between the two paths, sentinel naming and evidence scope). #9084 is the trace-context foundation only; this work needs its own PR where the E2E-driven failure modes it fixes can be validated on their own.
Where the work lives
The full implementation and its RED/GREEN regressions are in #9084's branch history, most recently at 920f4dbb6 ("refactor(behaviourtest): classify jobs listing errors in one place"). Recovery path: branch off #9084's post-revert head and revert 7fae148f7, or cherry-pick the slice commits (fc0e995b0, 77219ca1a, 2fd281e72, 72247c9ee, 89f0c04ee, 920f4dbb6, plus the earlier pagination/caching commits) onto main.
Validation carried by the history
Each fix has a RED reproduction and a targeted regression; the full Linux Go target passed at 2fd281e72, 72247c9ee (184s), 89f0c04ee (192s), and 920f4dbb6 (186s). ListWorkflowRunJobs and runNotStarted/classifyJobsError held 100% function coverage.
Related
- Investigate first-page 404 from the workflow run jobs API for not-started runs #9124 — GitHub first-page jobs-404 root-cause tracker (the sentinel reported this shape)
- behaviourtest: harden CountHarnessDispatches callers against transient 404 and unbounded settle time #8142 — earlier driver-hardening proposal for
CountHarnessDispatchescallers
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fullsend-ai-triage commentedon Nov 5, 2026
🤖 Finished Triage · ✅ Success · Started 4:35 PM UTC · Completed 4:37 PM UTC
Commit:
7d0eb20· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.14
fullsend-ai-triage commentedon Nov 5, 2026
This looks ready to implement. The work is a re-landing of a slice that already exists in #9084's branch history, so the main task is a clean port to main plus reconciling any drift since the split.
Checks run
settleHarnessDispatchCount.classifyJobsErrorandErrJobsListingNotFoundFirstPagedon't exist yet.Proposed test case
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancefullsend-ai-coder commentedon Nov 5, 2026
🤖 Finished Code · ✅ Success · Started 4:39 PM UTC · Completed 4:49 PM UTC
Commit:
7d0eb20· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $1.16
ci(#9128): harden behaviour-test dispatch and jobs-listing reads
Merge pull request fullsend-ai#9129 from fullsend-ai/agent/9128-dispa…