dotCMS / dotCMS/core

Make AI auto-review sticky comments configurable (default on)

Open
#36,338 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Team : Platform Type : CI/CD
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=false restores per-commit fresh comments
  • No other review paths (interactive @claude, backend-reviewer) change
Priority

Low

Additional Context

Implemented by PR #36336.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.