Skip to content

Fix stale bot cache issue by adding actions:write permission#265

Merged
tpantelis merged 1 commit intosubmariner-io:develfrom
tpantelis:fix-stale-bot-cache-issue
Feb 18, 2026
Merged

Fix stale bot cache issue by adding actions:write permission#265
tpantelis merged 1 commit intosubmariner-io:develfrom
tpantelis:fix-stale-bot-cache-issue

Conversation

@tpantelis
Copy link
Copy Markdown
Contributor

Summary

This PR fixes a caching issue in the stale workflow where issues are being perpetually skipped with the message "skipped due being processed during the previous run".

Problem

The stale workflow was lacking the actions:write permission needed to delete/update the cache between runs. Without this permission:

  • The stale action creates a cache of processed issues
  • It cannot delete or update this cache in subsequent runs (403 error)
  • Issues get stuck in a "perpetually processing" state

This has been affecting issue #239 (and potentially others) which has not been updated since March 11, 2025, well past the 120-day stale threshold, but was never marked as stale.

Solution

Add actions:write to the job permissions in .github/workflows/stale.yml.

References

Testing

After this PR is merged, the next scheduled run of the stale workflow should be able to:

  1. Clear the stuck cache
  2. Process issue Add to subctl diagnose option to check UDP checksum hardware offload #239 and other eligible issues
  3. Mark them as stale if they haven't had activity in 120+ days

@submariner-bot
Copy link
Copy Markdown
Collaborator

🤖 Created branch: z_pr265/tpantelis/fix-stale-bot-cache-issue

@tpantelis tpantelis force-pushed the fix-stale-bot-cache-issue branch from f169b12 to 485f4a1 Compare February 18, 2026 02:21
The stale workflow was experiencing a caching issue where issues were
being perpetually skipped with the message "skipped due being processed
during the previous run". This was caused by the workflow lacking the
actions:write permission needed to delete/update the cache between runs.

Without this permission, the stale action creates a cache of processed
issues but cannot delete or update it in subsequent runs, resulting in
a 403 error and issues getting stuck in a "perpetually processing" state.

This fix adds the actions:write permission as recommended in:
actions/stale#1131

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
@tpantelis tpantelis force-pushed the fix-stale-bot-cache-issue branch from 485f4a1 to d365099 Compare February 18, 2026 02:23
@tpantelis tpantelis enabled auto-merge (rebase) February 18, 2026 02:42
@tpantelis
Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@tpantelis
Copy link
Copy Markdown
Contributor Author

@coderabbitai Why haven't you reviewed this PR?

@tpantelis tpantelis disabled auto-merge February 18, 2026 13:37
@tpantelis tpantelis merged commit aa9b909 into submariner-io:devel Feb 18, 2026
6 checks passed
@submariner-bot
Copy link
Copy Markdown
Collaborator

🤖 Closed branches: [z_pr265/tpantelis/fix-stale-bot-cache-issue]

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.

3 participants