Make AI auto-review sticky comments configurable (default on)
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 970
- Forks
- 486
- Avg merge
- 3d 33m
- Merged PRs (30d)
- 170
Description
Description
The automatic AI code review (ai-automatic-review job in .github/workflows/ai_claude-orchestrator.yml) is hard-pinned to use_sticky_comment: false, so it posts a fresh comment on every push. We want one auto-updating sticky review comment per PR by default, while keeping it toggleable without a code change.
Driven by a repo/org variable AI_REVIEW_STICKY_COMMENTS:
use_sticky_comment: ${{ vars.AI_REVIEW_STICKY_COMMENTS || 'true' }}
- Unset (default) →
true→ one rolling sticky comment per PR AI_REVIEW_STICKY_COMMENTS = false→ per-commit fresh comments (old behavior)- Any other value → truthy → sticky
Small CI/workflow config change; no product code impact.
Acceptance Criteria
- Automatic AI review uses a sticky comment by default (variable unset)
- Setting
AI_REVIEW_STICKY_COMMENTS=falserestores per-commit fresh comments - No other review paths (interactive
@claude, backend-reviewer) change
Priority
Low
Additional Context
Implemented by PR #36336.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in .github/workflows/ai_claude-orchestrator.yml at the ai-automatic-review job and inspect its use_sticky_comment setting. Verify the repo/org variable behavior for unset and false values, while leaving the interactive @claude and backend-reviewer paths unchanged. Done means the automatic review defaults to one sticky comment per PR and can be switched back to fresh comments with AI_REVIEW_STICKY_COMMENTS=false.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 25/100