feat(worker): handle already-resolved tickets as no-op success (AIW-232) - #210
feat(worker): handle already-resolved tickets as no-op success (AIW-232)#210outof-place wants to merge 4 commits into
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 10 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (15)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Fixes AIW-232. A ticket that is already resolved (fix landed in a prior commit or PR, or the ticket carries a "Fixed" comment) now ends the run as a successful no-op instead of failing with "research declared no repository changes; nothing to implement, replan required".
How it works
noChangeNeededandresolutionEvidencefields on the research output contract (zod + structured-output JSON schema), plus a new "Resolution Check" section in the fixed research protocol footer instructing it to check ticket comments, git history for the ticket key, and PR context before planning, and to only claim resolution with concrete evidence.BlockExecutionResultkindterminal_successin both engines (V1 interpreter and V2 scheduler): the node completes with its real output, every outgoing edge resolves inactive so the downstream cone skips through the existing cascade, and the walk drains to the "completed" outcome (run success). Distinct fromended, which parks the run awaiting a human. Output contract validation still applies.planning_agentcase short-circuits when the signal is valid (noChangeNeeded === true, non-empty evidence, emptywriteRepositories): posts a Jira comment with the evidence, replays the ticket move configured on the graph'supdate_ticket_statusnode (dispatch has no post-success dedup, so leaving the ticket in the AI column would loop redispatches), sends a Slack note with the comment deep link, and returnsterminal_success. No write-scope promotion, no branch, no PR, no plan-approval request.researchDeclaredNoWritesGuard, unchanged.Notes for reviewers
postTicketCommentstep, which does not applyscrubForPublication, consistent with the existingterminateand PR-links comment precedent.params.target; a bound target input would originate inside the skipped cone and is unreconstructible by design. All shipped templates use the literalai_review.Tests
send_plan_approvalis never invoked for a resolved ticket), reviewed-ticket-workflow; plus a normal-path regression proving implementation still runs when no signal is set.researchDeclaredNoWritesGuardsuite untouched and green.