Skip to content

Commit ecbf64d

Browse files
committed
[libc++] Try handling spurious cancellation in the mainline CI restarter
We've been having issues with cancelled CI jobs due to Docker-in-Docker failures (spurious). I tried addressing that by adding a new flavor of the restarter action, but that clearly hasn't worked out since we see a lot of these spurious failures. This PR is an attempt to fix this by changing the mainline CI restarter used by libc++, not just the workflow job I added for testing. I have to check this in to test it because this workflow uses the version that's on the main branch.
1 parent c166a9c commit ecbf64d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/libcxx-restart-preempted-jobs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
with:
3434
script: |
3535
const failure_regex = /Process completed with exit code 1./
36-
const preemption_regex = /The runner has received a shutdown signal/
36+
const preemption_regex = /(The runner has received a shutdown signal)|(The operation was canceled)/
3737
3838
const wf_run = context.payload.workflow_run
3939
core.notice(`Running on "${wf_run.display_title}" by @${wf_run.actor.login} (event: ${wf_run.event})\nWorkflow run URL: ${wf_run.html_url}`)

0 commit comments

Comments
 (0)