Skip to content

fix(core): address agent retry review regressions#233

Merged
shiny-code-bot merged 1 commit into
mainfrom
fix/agent-retry-review-fixes
May 30, 2026
Merged

fix(core): address agent retry review regressions#233
shiny-code-bot merged 1 commit into
mainfrom
fix/agent-retry-review-fixes

Conversation

@shiny-code-bot
Copy link
Copy Markdown
Collaborator

Summary

  • Preserve cancellation for legacy ownerless agents while keeping cross-session owned agents protected.
  • Remove stale AutoReview JSON output before each provider attempt so retry failures cannot be masked by an old success file.
  • Cover both behaviors in the existing agent_tool test sweep.

Context

Follow-up for auto-review findings on #230. The findings were genuine: the retry patch made ownerless legacy agents uncancellable through session-scoped cancellation and left a stale review-output path able to influence later retry results.

Refs #206.

Validation

  • cargo test -p code-core agent_tool --lib
  • git diff --check
  • ./build-fast.sh

@shiny-code-bot shiny-code-bot merged commit e605544 into main May 30, 2026
1 check passed
@shiny-code-bot shiny-code-bot deleted the fix/agent-retry-review-fixes branch May 30, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants