Repository navigation
feat: implement issue #2247 — Stale-disposition retry cap does not count a fix-reviews pass that dies before posting any marker (follow-up to the edited-comment deadlock fix) - #2290
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Code Review
This pull request introduces a mechanism to post a start marker (<!-- dev-lead-fix-reviews-start ... -->) before a fix-reviews pass runs. This ensures that passes that fail or die prematurely (before posting a terminal marker) are still counted towards the stale disposition retry cap. The retry logic is updated to count these start markers, grouping them with terminal markers by their read_at timestamp to avoid double-counting. Unit tests are added to verify the new behavior and ensure the start marker is treated as a registered automation marker. I have no feedback to provide as there are no review comments.
|
Auto-rebase failed — merge conflict — this branch has conflicts with dev-lead will attempt to resolve this automatically. If it cannot, a follow-up comment will explain what needs manual attention. To resolve manually instead: |
CodeAnt Nitpicks1 code suggestion1. If separate passes start in the same second, they reuse
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Dev-Lead — fix-bot-comment (no-changes)Agent reasoning |
|
No description provided. |
This comment has been minimized.
This comment has been minimized.
Dev-Lead — fix-bot-comment (no-changes)Agent reasoning |
|
No description provided. |
|
Fixed in scripts/dev-lead-fix-reviews.sh: updated PASS_STARTED_AT to use millisecond precision (line 89) and updated regex patterns (lines 487, 935) to accept milliseconds, ensuring each pass gets a unique read_at timestamp even when starting in the same second. |
|
No description provided. |
|
Advisory bots were rate-limited; auto-approval is withheld until they recover. pr-review-sweep will re-review this PR after 2026-10-11T17:35:26Z. |
This comment has been minimized.
This comment has been minimized.
Dev-Lead — fix-reviews (applied)Changes committed and pushed. Requested items addressed:
|
|
Auto-rebase failed — merge conflict — this branch has conflicts with dev-lead will attempt to resolve this automatically. If it cannot, a follow-up comment will explain what needs manual attention. To resolve manually instead: |
|
No description provided. |
|
No description provided. |
|
CodeAnt nitpick (same-second passes share a |
|
Codex usage-limit notice: no review was produced and it contains no findings, so there is nothing to change. |
|
SonarCloud Quality Gate passed, with 0 new issues and 0 hotspots. There are no findings to act on. |
Dev-Lead — fix-reviews (no-changes)Agent reasoning |
…11-1510 Updates this branch onto the renamed main and rewrites its petry-projects references to combsmith (GitHub Actions does not redirect uses: after an org rename). Rename-aware merge: base and branch were rewritten first, so rename-only differences do not conflict.
|
No description provided. |
|
|
No description provided. |
|
No description provided. |
|
Re-read the current CodeRabbit summary body. It holds only the rate-limit notice ("Review limit reached", next review available in about 59 minutes), the Autofix opt-in checkbox and the share/tips footer. It has no architecture-review section, no actionable comments, no outside-diff or nitpick findings, so nothing needs a code change. Acknowledged as informational. |
Dev-Lead — fix-reviews (no-changes)Agent reasoning |



Problem
Stale-disposition retry cap does not count a fix-reviews pass that dies before posting any marker (follow-up to the edited-comment deadlock fix)
From the issue: The stale-disposition retry cap added for #2166 (PR #2230) bounds how many
fix-reviewspasses the sweep dispatches for a bot comment that was edited after its disposition. It counts passes by their markers on the PR: any<!-- dev-lead-fix-reviews pr=<n> … intent=fix-reviews status=… -->comment newer than the edit.Risk
Low — changes automation shell logic under scripts/, covered by shellcheck (--severity=warning) and the bats suite.
Test plan
Tests added/updated:
tests/dev-lead/unit/test_dev_lead_retry.bats,tests/dev-lead/unit/test_fix_reviews.batstests/dev-lead/unit/test_maintainer_comment_gate.bats. Verification:bash scripts/dev-lead-lint.sh(shellcheck --severity=warning) ran pre-commit; the bats suite runs in CI.Rollback
Revert this PR. No non-revertible side effects (no tags, migrations, or external state).
Monitoring
This PR's Lint (shellcheck) and bats checks show pass/fail; watch subsequent dev-lead / pr-review runs for behavioral regressions.
Closes #2247