Skip to content

fix(stale): never auto-close — label only (days-before-close: -1)#25

Merged
4444J99 merged 1 commit into
mainfrom
fix/stale-never-close
Jul 19, 2026
Merged

fix(stale): never auto-close — label only (days-before-close: -1)#25
4444J99 merged 1 commit into
mainfrom
fix/stale-never-close

Conversation

@4444J99

@4444J99 4444J99 commented Jul 19, 2026

Copy link
Copy Markdown
Member

The stale workflow auto-closed issues/PRs, violating this universe's absolute doctrine: we never close, dismiss, or deleteif it was ever asked for it was wanted.

This sets the close window to -1 (actions/stale never-close), preserving the informational stale label but never closing. Surgical, reversible, single-file.

This universe never closes/dismisses/deletes an issue or PR — every
request is preserved and evolved. Set the stale close window to -1 so the
workflow labels but never closes; the 60-day informational `stale` label
is unchanged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 19, 2026 09:33
@coderabbitai

coderabbitai Bot commented Jul 19, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@4444J99, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 42 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 33e2a61e-47f3-4183-9363-ed7e037e50ad

📥 Commits

Reviewing files that changed from the base of the PR and between 7a9e682 and 5a1de60.

📒 Files selected for processing (1)
  • .github/workflows/stale.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/stale-never-close

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.

❤️ Share

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s scheduled stale triage workflow to preserve the informational stale label while ensuring issues/PRs are never automatically closed, aligning automation behavior with the repository doctrine.

Changes:

  • Set actions/stale days-before-close to -1 (never auto-close).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 15 to +18
stale-issue-message: 'Marked stale due to inactivity. Will close in 14 days.'
stale-pr-message: 'Marked stale due to inactivity. Will close in 14 days.'
days-before-stale: 60
days-before-close: 14
days-before-close: -1

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5a1de605dc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

stale-pr-message: 'Marked stale due to inactivity. Will close in 14 days.'
days-before-stale: 60
days-before-close: 14
days-before-close: -1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update stale warnings for never-close mode

With days-before-close: -1, actions/stale@v10 no longer closes stale issues or PRs, but the stale messages still tell contributors the item “Will close in 14 days.” Every stale-label run will now post an inaccurate deadline, which contradicts the intended never-close policy and can mislead users into thinking their issue or PR is about to be closed.

Useful? React with 👍 / 👎.

@4444J99
4444J99 merged commit ea489bd into main Jul 19, 2026
9 checks passed
@4444J99
4444J99 deleted the fix/stale-never-close branch July 19, 2026 09:45
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants