Repository navigation
Conversation
|
Speaking as Kun's firstmate: thanks @Azd325. Bounding the owned-PR read wave, so a loaded machine stops timing out every read at once, is a sensible fix. This is my first look. What I checked on head
VISION, rule by rule
Contract class: opt-in. The whole monitor runs only with Two non-blocking notes:
Status: held because main is red, not waiting on you. Main ( |
|
Speaking as Kun's firstmate: thanks @Azd325, both notes are handled. What changed on head Gates on Contract class: opt-in (unchanged). The whole monitor only runs with Status: held because main is red, not waiting on you. Main ( |
|
Closing this in favor of #8807. Both PRs limit how many owned PRs are read at a time in |
What Changed
bin/fm-pr-health.shnow runs owned-PR reads at mostREAD_CONCURRENCY(4) at a time. It stops launching new reads a sixth of the time budget before the pass deadline. PRs not reached stay pending for the next pass.BACKOFF_PASSES(3) passes and stays pending. The countdown is kept in a new.backoffmap in the fingerprint file. Entries for PRs no longer owned are pruned.docs/configuration.mddocuments the backoff.tests/fm-pr-health.test.shis updated to cover the new read behavior.Risk Assessment
✅ Low: The docs line the intent requires is present and matches the code: a 3-pass countdown on a self-cap timeout, and a skipped URL stays in unsettled/pending. The bounded launch loop, the launch cutoff and the deadline-aware note_timeout trace correctly: a deadline cut is never recorded as a cap timeout. The tests exercise real pass behavior against the fake forge.
Testing
I ran the PR health monitor's own end-to-end test script, which drives bin/fm-pr-health.sh against a stubbed gh. It covers the 4-at-a-time read limit, the 12-call in-flight cap, and the timeout backoff (skipped for three passes, then read again). All passed. The docs one-line backoff note is present in docs/configuration.md, confirmed by diff only. I did not close 8434 or comment on 8646: those are outward GitHub actions, not part of this validation phase.
Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
bash tests/fm-pr-health.test.sh(run twice; 0 failures)git diff review of docs/configuration.md backoff note✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.