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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add Waiting Mechanism for Lock Release #61

Open
daxartio opened this issue Nov 12, 2024 · 1 comment
Open

Feature Request: Add Waiting Mechanism for Lock Release #61

daxartio opened this issue Nov 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@daxartio
Copy link

daxartio commented Nov 12, 2024

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!

@GrantBirki
Copy link
Member

I’d be glad to contribute by submitting a PR to implement it

Pull requests are always welcome! This isn't something that I have on my plate to tackle at the moment but I would be happy to accept/review any PRs. Thank you! 🙇

@GrantBirki GrantBirki added the enhancement New feature or request label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants