Skip to content

Revert "Try not caching journey test dependencies" #1728

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

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

EliahKagan
Copy link
Member

@EliahKagan EliahKagan commented Dec 18, 2024

This reverts commit bf2abdb, the supporting change in #1725 that refrained from caching build artifacts from the test-journey job, since that no longer needs to be avoided now that git-daemon journey tests aren't run on CI.

In 9566488 (#1634), journey tests that use git-daemon were disabled on CI. #1725 tried reenabling them (65788e8) and fixing them by no longer caching build artifacts with the rust-cache action in the test-journey job (bf2abdb). This worked at the time, but the exact reason it worked or how reliable it would be were unknown. It stopped working shortly thereafter in 25b8480 (#1726), and those journey tests were re-disabled on CI in d1d3f7c, which reverted 65788e8. However, bf2abdb was not reverted at that time.

(The change in d1d3f7c from #1726, taken together with this commit, effectively constitute a revert of PR #1725.)


I think it's faster with caching. I estimated that it would be a couple minutes faster usually, but when I test it on my fork it's closer to being only a minute faster, and sometimes not even that much faster.

A possible further benefit of caching, though minor, is that it reliably produces the problem on CI if the now-skipped git-daemon journey test cases are enabled: That would be bad if they were enabled, but it's one less change to make to produce the problem in any further work that attempts to reliably produce the problem to investigate it.

You might prefer phrasing such as "we did not know why it worked" over the current "the exact reason it worked [was] unknown." I've clarified why I thought it might help and why I think timing may still be the issue in #1726 (comment). But I am not at all attached to any wording here and I'd be pleased to rebase to reword the message if desired.

This reverts commit bf2abdb, the
supporting change in GitoxideLabs#1725 that refrained from caching build
artifacts from the `test-journey` job, since that no longer needs
to be avoided now that `git-daemon` journey tests aren't run on CI.

In 9566488 (GitoxideLabs#1634), journey tests that use `git-daemon` were
disabled on CI. GitoxideLabs#1725 tried reenabling them (65788e8) and fixing
them by no longer caching build artifacts with the `rust-cache`
action in the `test-journey` job (bf2abdb). This worked at the
time, but the exact reason it worked or how reliable it would be
were unknown. It stopped working shortly thereafter in 25b8480
(GitoxideLabs#1726), and those journey tests were re-disabled on CI in d1d3f7c,
which reverted 65788e8. However, bf2abdb was not reverted at that
time.

(The change in d1d3f7c from GitoxideLabs#1726, taken together with this
commit, effectively constitute a revert of PR GitoxideLabs#1725.)
@EliahKagan EliahKagan mentioned this pull request Dec 18, 2024
2 tasks
@Byron
Copy link
Member

Byron commented Dec 19, 2024

Thanks a lot for your help!

@Byron Byron merged commit ce943c1 into GitoxideLabs:main Dec 19, 2024
20 checks passed
@EliahKagan EliahKagan deleted the run-ci/daemon-revert branch December 19, 2024 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants