Feature Request: Add Waiting Mechanism for Lock Release
- Langage dominant
- JavaScript
- Étoiles
- 58
- Forks
- 11
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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!
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Aucun fichier, test ou point d’entrée n’est indiqué dans l’issue. Commencez par localiser les points d’entrée pour l’acquisition du verrou et la configuration de l’action, puis clarifiez le comportement de l’attente et des intervalles ; le travail sera terminé lorsque la configuration choisie fonctionnera pour les modes d’attente et d’échec immédiat, et que le comportement sera couvert par des tests.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- github-actions, javascript
- Domaine
- ci-cd, devops
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 30/100