Skip to content

updated stale actions - #743

Merged
enginnk merged 4 commits into
mainfrom
update/stale-actions
Jul 31, 2026
Merged

updated stale actions#743
enginnk merged 4 commits into
mainfrom
update/stale-actions

Conversation

@enginnk

@enginnk enginnk commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Description :: Issues were getting marked as stale but never actually closed.

The stale action saves a temporary file between runs to keep track of what it
has already looked at. It's supposed to clear that file when it finishes, but it
didn't have permission to do so. The leftover file stuck around, and on every run
after that the action assumed all stale issues had already been handled and
skipped right past them.

Summary by CodeRabbit

  • Chores
    • Added support for manually running the stale-item cleanup workflow.
    • Updated workflow permissions to enable required automated actions.

@enginnk
enginnk requested a review from rosinghal July 30, 2026 15:35
@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

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

Next review available in: 37 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 Plus

Run ID: 9ec39649-6524-4ff4-9feb-07ef94d1c72a

📥 Commits

Reviewing files that changed from the base of the PR and between 33d4110 and 75bba7b.

📒 Files selected for processing (4)
  • assets/js/admin.js
  • includes/admin/ajax.php
  • includes/feeds/admin/ics-feed-admin.php
  • includes/feeds/ics-feed.php
📝 Walkthrough

Walkthrough

The stale-item workflow now has actions: write permission and can run manually in addition to its existing daily scheduled execution.

Changes

Stale workflow controls

Layer / File(s) Summary
Workflow permissions and triggers
.github/workflows/close_stale.yml
Adds actions: write permission and enables workflow_dispatch while preserving the scheduled trigger.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

Suggested reviewers: rosinghal

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is related but too vague to clearly describe the workflow permission and trigger changes. Rename it to something specific like "Grant stale workflow write permissions and manual dispatch".
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Fix failing CI checks
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update/stale-actions

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.

@enginnk
enginnk merged commit 935e35d into main Jul 31, 2026
3 checks passed
@enginnk
enginnk deleted the update/stale-actions branch July 31, 2026 13:15
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