Feature Request: Add Waiting Mechanism for Lock Release
- Dominant language
- JavaScript
- Stars
- 58
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Hi team! First, thank you for the great work on `github/lock`.
It would be very helpful if `github/lock` could have an option to wait until a lock is released, rather than having jobs fail immediately if the lock is active. This feature would allow workflows to pause and retry periodically until the lock is free, helping to prevent jobs from failing and automatically resuming execution once the resource is available.
The configuration could include a wait: true option or an adjustable waiting interval, so users can choose to wait for the lock or fail immediately if they prefer.
If this feature aligns with the roadmap or could be considered, I’d be glad to contribute by submitting a PR to implement it.
Thank you again for your hard work, and I hope this suggestion is helpful!
Contributor guide
Research direction
No file, test, or entry point is named in the issue. Start by locating the action's lock acquisition and configuration entry points, then clarify the waiting and interval behavior; done means the chosen configuration works for waiting and immediate-failure modes and the behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, javascript
- Domain
- ci-cd, devops
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100