generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Imported from: https://github.com/josecelano/library-consumer/issues/13
The Queue class throws an Error when it can't create a new job because there is already a pending job.
Error: https://github.com/josecelano/library-consumer/runs/5049353803?check_suite_focus=true#step:7:9
Code: https://github.com/josecelano/library-consumer/blob/main/.github/actions/git-queue/src/queue.ts#L72
I think we should just return the empty job (because it was not created) and let the workflow to handle the situation. In general, I do not like the workflows to fail, I do not think this is an exception. We just need to wait and try it later because the queue was "full".
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers