Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduces a number of improvements to CI that significantly reduce overal CI time by up to 50% of the previous time.
Following improvements have been made:
cannon-go-lint-and-test
resource class changed toxlarge
and parallelism is increased from 2 to 4, cutting down the time for this test from 10 minutes to about 4-5 minutes.pnpm-monorepo
is removed entirely and replaced withcontracts-bedrock-build
andbuild-devnet-allocs
.contracts-bedrock-build
is run once withforge build
and once withforge build --skip-tests
so that any jobs that don't need to wait around for the tests to get built can get started 3-4 minutes earlier.install-contracts-dependencies
is cached inside ofcontracts-bedrock-build
.contracts-bedrock-tests
is split over 4 parallel test runners to save ~2 minutes. We can save an additional few minutes if we properly record test timings for these tests. I will do this in a separate PR.golang-build-cache
was being used incorrectly, jobs actually get their own build caches now and the caches are updated when necessary.cannon-prestate
cache was broken becausecannon
andop-program
were not being built, now it is actually cached properly.contracts-bedrock
check for Solidity build warnings is moved intocontracts-bedrock-build
to save time and avoid compiling the whole codebase twice.snapshots-check
gets a new addedno-build
option since we already built the contracts before it gets executed.