Skip to content

Enable hide-older-comments for detective workflows - #596

Merged
strawgate merged 3 commits into
mainfrom
copilot/hide-older-comments-in-detective
Mar 8, 2026
Merged

strawgate merged 3 commits into
mainfrom
copilot/hide-older-comments-in-detective

Conversation

Copilot AI commented Mar 7, 2026 •

Copy link
Copy Markdown
Contributor

Detective workflows were posting fresh comments on each run while leaving older comments visible, which added review noise.

What changed

  • Enabled hide-older-comments: true on safe-outputs.add-comment in:
    • .github/workflows/gh-aw-pr-actions-detective.md
    • .github/workflows/gh-aw-estc-pr-buildkite-detective.md
  • Recompiled related lock files, including backwards-compat .github/workflows/gh-aw-pr-ci-detective.lock.yml.
  • Lock regeneration also updated safe-output handler permissions to include discussions: write and issues: write where required for comment minimization.

Notes

  • .github/workflows/gh-aw-branch-actions-detective.md already uses close-older-issues: true on create-issue, so no change was needed there.

Fixes #594


The body of this PR is automatically managed by the Trigger Update PR Body workflow.

Enable `hide-older-comments: true` on the `add-comment` safe output for:
- PR Actions Detective (gh-aw-pr-actions-detective.md)
- Estc PR Buildkite Detective (gh-aw-estc-pr-buildkite-detective.md)

The Branch Actions Detective already handles this via `close-older-issues: true`
on its `create-issue` safe output.

Recompiled lock files include the updated handler config and necessary
permissions for comment minimization.

Co-authored-by: strawgate <6384545+strawgate@users.noreply.github.com>
Copilot AI changed the title [WIP] Hide older comments in actions and branch detective Enable hide-older-comments for detective workflows Mar 7, 2026
@strawgate
strawgate marked this pull request as ready for review March 8, 2026 00:26
@coderabbitai

coderabbitai Bot commented Mar 8, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@strawgate has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 5 minutes and 2 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f733543d-44f9-4766-8a23-0737edd59ef9

📥 Commits

Reviewing files that changed from the base of the PR and between 8b55cca and cb75018.

📒 Files selected for processing (5)
  • .github/workflows/gh-aw-estc-pr-buildkite-detective.lock.yml
  • .github/workflows/gh-aw-estc-pr-buildkite-detective.md
  • .github/workflows/gh-aw-pr-actions-detective.lock.yml
  • .github/workflows/gh-aw-pr-actions-detective.md
  • .github/workflows/gh-aw-pr-ci-detective.lock.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch copilot/hide-older-comments-in-detective
  • 🛠️ Update Documentation: Commit on current branch
  • 🛠️ Update Documentation: Create PR

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added the medium_boom Medium PR blast radius; likely benefits from human review label Mar 8, 2026
@strawgate
strawgate merged commit 5fed4a0 into main Mar 8, 2026
22 checks passed
@strawgate
strawgate deleted the copilot/hide-older-comments-in-detective branch March 8, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

medium_boom Medium PR blast radius; likely benefits from human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Actions and branch detective should hide older comments

2 participants