-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
This automated PR to perform submodule sync failed: 3rdparty/eventuals#395
This should result in an issue being filed, which didn't happen.
The workflow log is here: https://github.com/3rdparty/eventuals/runs/6373939070?check_suite_focus=true
Two observations:
- the workflow claimed to succeed, even though log details show what I'd call a failure: the workflow should probably have failed to make these failed logs easier to spot
- the 'wait for build to succeed` section took 1h 0m 1s and is full of spam like this:
No completed checks named Build and Test, waiting for 10 seconds...
Retrieving check runs named Build and Test on 3rdparty/eventuals@917c6ee97c4ec399bb9115188b9a262aa1e70bf0...
Retrieved 0 check runs named Build and Test
[...]
No completed checks named Build and Test, waiting for 10 seconds...
No completed checks after 3600 seconds, exiting with conclusion 'timed_out'
That timeout should be an error.
Anyways, I suspect the timeout happened because the submodule sync tool expects a single workflow named "build and test" to complete: https://github.com/3rdparty/dev-tools/blob/main/.github/workflows/submodules-sync.yml#L177
The eventuals repo doesn't have a check named "build and test". It instead has several checks which have that string as a prefix:

So I'd say we should:
- Make timeouts cause workflow failures
- Fix submodule sync to not expect a single hardcoded check name
- Somehow track / surface workflow failures (not sure if there's a good way to do this or if it's a turtles-all-the-way down problem with a workflow watching a workflow watching a workflow)
@rjhuijsman FYI