-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ci): Split Docker logs into sprout, other checkpoints, and full validation #4704
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Codecov Report
@@ Coverage Diff @@
## main #4704 +/- ##
==========================================
+ Coverage 78.86% 78.94% +0.07%
==========================================
Files 306 306
Lines 37552 37498 -54
==========================================
- Hits 29617 29601 -16
+ Misses 7935 7897 -38 |
This comment was marked as outdated.
This comment was marked as outdated.
That failed with |
I think I launched that incorrectly... trying again in https://github.com/ZcashFoundation/zebra/actions/runs/2577580881 |
Thanks for fixing this up! I'd like to keep
|
This comment was marked as outdated.
This comment was marked as outdated.
I'm reviewing this, I'm not completely sure yet. I'll block it until I'm sure of the process and outcome |
But put TODOs where we might be able to skip checkouts
…nts, and full validation
This reverts commit a7ee37b.
We had this issue before, I can't recall if this was a parsing error between GitHub Actions and gcloud `--command` parsing, but we had to change this into two pieces. This implementation keeps it how we did it before https://github.com/ZcashFoundation/zebra/blob/9b9578c99975952a291006dde8d2828fd3e97799/.github/workflows/test.yml#L235-L243
We can't remove `actions/checkout` nor set `create_credentials_file` to `false` as next steps won't be able to authenticate to GCP. We can surely remove `actions/checkout` and leave `create_credentials_file` as `true`, but this will raise a warning on each step, and there's no benefit of doing so.
We're running:
Which causes an error. I've just pushed a change to print that output, so I can see which parts of it are the exit code. |
I think we can fall back to If that doesn't work, we could also try Currently I'm failing the test if Here's a full tip and checkpoint sync to test it all out: |
For some reason, the job status isn't showing on this PR, but you can see it here: |
I think we have the behaviour we want here. Passing tests pass the workflow: Failing tests fail the workflow, and dependent jobs: Cancellations stop most jobs, but still do cleanup jobs: And the tip and checkpoint images get created: I haven't been able to confirm that I'd like to do any other fixes in separate PRs. |
@Mergifyio update |
✅ Branch has been successfully updated |
Motivation
We want to avoid the 6 hour job limit for GitHub actions by splitting CI jobs.
Depends-On: #4690, #4694
Close #4661
Solution
Split the log following CI job into:
Some tests don't do a full sync, so all of the log jobs also end if the test has ended.
Review
This PR blocks a bunch of other PRs, so I've marked it as a critical hotfix.
The diff on this PR will show extra code until PRs #4690 and #4694 merge.
Reviewer Checklist