Repository navigation
Conversation
`Build-Info` ran `next build` again after `Build-And-Test`, which ran format, lint and package tests in sequence. The two jobs set the 6m24s median wait for `CI-Result`. `Build` writes the build info from its own `.next` with `pnpm build:info --skip-build`.
The build-cache post step took a median of 44 s, also on a cache hit. The step evaluates its inputs again after install, when `**/*.ts` matches 30,579 files instead of 3,104.
|
@askov is attempting to deploy a commit to the Solana Foundation Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Shortens the wait for CI checks: the app builds once per run, format, lint and package tests run in parallel with the build, and the build-cache key is computed before install.
Changes
Buildjob, so the route table reads the output of the onlynext build.--skip-buildtoscripts/update-build-info.js.Build-And-TestintoFormat-And-Lint,BuildandTest-Packages, so they run in parallel.pnpm install, so the cache post step does not hashnode_modules.Behavior Changes
Format-And-Lint,BuildandTest-Packagesinstead ofBuild-And-TestandBuild-Info.Buildjob summary.Measurements
Before is the median of 22 runs on Node 24. After is the first run of this PR. Each job of that run waited 2m20s to 4m50s for a runner, so the path adds job times only and leaves out the queue.
next buildper runread-nvmrctoCI-ResultBuild-And-TestthenBuild-InfoSpecs-Shards (2)CI-ResultBuild-cache post step
The post step evaluates
with:again afterpnpm install, and**/*.tsthen matches 30,579 files instead of 3,104. In run 38352121507, 48.5 s passed beforeactions/cachelogged its first line. With the key computed before install, the same step in 38366283692 took 135 ms.Type of change
Screenshots
No UI change.
Testing
next buildruns once. Open theBuildjob of this PR's CI run. Expect onenext buildin theBuildstep, and noRunning pnpm buildline inGenerate build info.Buildjob summary.Buildjob, expectPost Setup Additional Cacheto take under 15 s.Format-And-Lint,Build,Test-PackagesandSpecs-Shardsto start together afterread-nvmrc.Related Issues
Closes HOO-2051
Closes HOO-2052
Closes HOO-2053
Checklist
pnpm test,pnpm lint,pnpm typecheck)build:infoscript to update build informationAdditional Notes