Feature Request: Add Waiting Mechanism for Lock Release
- Ngôn ngữ chính
- JavaScript
- Star
- 58
- Fork
- 11
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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!
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- github-actions, javascript
- Lĩnh vực
- ci-cd, devops
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 30/100