-
Notifications
You must be signed in to change notification settings - Fork 41
Bump nix binary to 2.32.0 without caching #2563
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
Conversation
expect(screen.getByText(/Submission failed/)).toBeDefined(); | ||
expect(screen.getByText(/Service Unavailable/)).toBeDefined(); | ||
}, | ||
{ timeout: 10000 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bumping a timeout because it flaked
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
…ight?" This reverts commit 4984cef. Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
cda8f20
to
6814e44
Compare
checkpoint: 6814e44 seems to work with a few cache-related things disabled |
Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
but the setup is more than a minute in diff, right? the diff is smaller because with the caches for some reason nix had a 10s time period where it did nothing, never managed to figure out why, but that's dependent on how many run with nix actions you have in a workflow. for the integration tests we usually have a lot less so the diff is a bit higher |
@nicu-da
was supposed to be 2m... 🤦 The unfortunate thing is that most test runs don't show a separate step for setting up nix, but rather it's included in the "Run tests" step, so I cannot check for individual times from gh |
This reverts commit 8920f86. Signed-off-by: Oriol Muñoz <[email protected]>
This reverts commit ec92b34. Signed-off-by: Oriol Muñoz <[email protected]>
This reverts commit 8f58bad. Signed-off-by: Oriol Muñoz <[email protected]>
This reverts commit 6fc6702. Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
|
||
- name: Check out repository code | ||
uses: actions/checkout@v4 | ||
if: inputs.commit_sha != '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this and below are the only ones that had this... what for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@isegall-da is that leftover? I could see it only being set when you run from a fork but then it should be used for every checkout and it's definitely not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @isegall-da , don't want to merge without knowing this is 100% fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed with @OriolMunoz-da now, just copying the conclusion here as well:
In these tests we do:
Checkout the PR head commit to get the commit message first
check the static label
Checkout commit_sha
In tests that run split_tests first, we check the static label in split_tests which is why we don't have these separate steps there, and we just checkout commit_sha there.
(in ts_cli we flipped the order between (2) and (3) which is wrong, we'll fix that)
|
||
- name: Check out repository code | ||
uses: actions/checkout@v4 | ||
if: inputs.commit_sha != '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also this
[ci] Signed-off-by: Oriol Muñoz <[email protected]>
Signed-off-by: Oriol Muñoz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice thanks! Please hold off on merging until Martin and Nicu weigh in.
|
||
- name: Check out repository code | ||
uses: actions/checkout@v4 | ||
if: inputs.commit_sha != '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@isegall-da is that leftover? I could see it only being set when you run from a fork but then it should be used for every checkout and it's definitely not.
rsync -avi "/cache/nix/$cache_key/nix" $HOME/.config/ | ||
rsync -avi "/cache/nix/$cache_key/nix_store/var/" /nix/var | ||
sudo mount --bind /cache/nix/$cache_key/nix_store/store /nix/store | ||
# rsync -avi "/cache/nix/$cache_key/nix_store/var/" /nix/var |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we do uncomment that let's create an issue for it documenting how it fails and what you tried.
@martinflorian-da @nicu-da wdyt? I'm leaning towards saying getting an upgrade in with the slowdown and then moving the fix for this to the top of our prio list is better than to keep pushing out that upgrade for another few months (the pressure from slow CI also felt more so chances are higher we'll actually tackle it).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(With my limited context:) Agreed to merging this without this caching part, a bit worried about "just moving the fix to the top of our prio list". Can we give assign it to a concrete person already that will realistically get to it soon?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with @martinflorian-da those 2 minutes were really annoying in the past, though I guess with the current CI timing it might be less so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#2663 adding as TODOs
Signed-off-by: Oriol Muñoz <[email protected]>
...Monday, because nobody is dealing with any potential downfall today 😄 |
Note that GH has a "show timestamps" when you look at its output. |
Signed-off-by: Oriol Muñoz <[email protected]>
Fixes https://github.com/DACH-NY/cn-test-failures/issues/5021 (hopefully, obviously)
Reverse of https://github.com/hyperledger-labs/splice/pull/1727/files:
Unfortunately keeping our caches (binary cache is fine) is proving to be very hard for me. Without them the timing impact is about 2m on average.
Latest version is 2.32
See this change done in 2.14 that is not documented but likely breaks part of our setup.