Skip to content

Share cache between e2e tests - #3574

Open
peterebden wants to merge 4 commits into
thought-machine:threadsafe-cachefrom
peterebden:share-cache-between-e2e-tests
Open

Share cache between e2e tests#3574
peterebden wants to merge 4 commits into
thought-machine:threadsafe-cachefrom
peterebden:share-cache-between-e2e-tests

Conversation

@peterebden

Copy link
Copy Markdown
Collaborator

Stacked on #3573

Now the cache is threadsafe, we can share it between e2e tests. It's not super obvious but these have slowed down a lot over time - as they moved to plz_repo_e2e_test which is better separated but rebuilds more, plugins added more downloads and (most significantly) we now build the Go stdlib in tree rather than assuming it's on the system. This isn't so bad on a powerful machine but it is bad on a weaker one (i.e. all the CI machines).

I've also rationalised some of the plugin / Go versions in there. There is possibly some future work to keep all these better aligned with the parent repo - honestly we usually just forget (hence 10 version old plugins and Go 1.24).

I've added the cache to CircleCI as well; otherwise it will always be cold, and we can't deduplicate the work between everything in that case, so we'd get no benefit without.

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.

1 participant