Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stalebot troubleshooting #27582

Closed
wants to merge 1 commit into from
Closed

Conversation

rcomer
Copy link
Member

@rcomer rcomer commented Dec 28, 2023

PR summary

Attempting to work around actions/stale#1124. I have no background in typescript (or javascript) but as far as I can make out from the relevant code the action only has one hard-coded cache. This means our (my 馃悜) approach of having the two workflows would not be expected to work because the second one would interfere with the cache saved by the first one. Temporarily pinning the version for the second workflow back to v8 means it will not go looking for the cache at all. Perhaps the linked bug report will ultimately become a feature request to change the way the cache is referenced.

I am still clueless about why neither workflow found the cache at all, so do not know whether this change will help. I figure if nothing else it can provide an extra data point for the bug report.

Also added workflow_dispatch triggers so that we can run these on demand rather than waiting days to find out whether the changes helped.

Very open to other suggestions, which may include "just wait for feedback on the bug report"!

PR checklist

@rcomer
Copy link
Member Author

rcomer commented Jan 3, 2024

I tried to reproduce the problem in a dummy repo and couldn't. Both workflows successfully interact with the (same) cached state.

So I have no evidence that what I've done here will help.

@rcomer rcomer closed this Jan 3, 2024
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.

None yet

1 participant