fix(checkup): keep review loop running past cost telemetry#1032
fix(checkup): keep review loop running past cost telemetry#1032Serhan-Asad wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
19c13f5 to
ff00500
Compare
ff00500 to
40faa4d
Compare
|
Verification completed for this PR. Local focused checks: git diff --check upstream/main...HEAD
conda run -n pdd pylint --disable=all --enable=unused-argument pdd/checkup_review_loop.py
conda run -n pdd python -m pytest tests/test_checkup_pr_mode.py tests/test_checkup_review_loop.py tests/commands/test_checkup.py tests/test_agentic_checkup.py -qResults:
Cloud test: make cloud-testRun details:
No fixes were needed after the cloud run. The cloud-test worktree was cleaned after the generated |
gltanaka
left a comment
There was a problem hiding this comment.
No blocking findings. This change is needed for #1030: the previous review-loop cost cap could stop after a reviewer/fixer step before verifier confirmation, leaving unresolved findings and an unknown verdict even though the loop still had rounds/time available. The PR consistently changes the contract so cost is report-only telemetry, updates CLI/help/prompts/completions, and adds regressions for both cost-before-fixer and cost-after-fixer cases.\n\nTradeoff noted: callers that treated --max-review-cost as a hard local cost bound will lose that protection, but the new behavior is documented as deprecated/report-only and the loop remains bounded by max rounds, wall-clock duration, and hard failures.
Summary
Changes
pdd checkup --review-loopso cost is reported as telemetry instead of stopping the codex-review / claude-fix / codex-verify loop before max rounds or merge-ready.Fixes #1030
Changes
--max-review-costas a report-only compatibility flag with default0.0.max-cost-reachedfalse for ordinary runs even when reported cost exceeds the deprecated value.Verification
Result:
117 passed.