Repository navigation
test(solid): time the shape check's longest task in the growth job, not under coverage - #1015
Merged
Merged
Conversation
ixuz
enabled auto-merge
November 24, 2026 21:17
…ot under coverage The test that the shape check of a release lets the page do its work between subjects with many values validates a release of 32 cards of 1,024 values each, three times over, beside smaller ones. It was in shaclShapeValidator.test.ts, so CI's check job ran it under coverage, with every package's tests at once on two cores: 167 s of its 180 s timeout on #1012's own run, and past it in both of its merge queue runs, failing them. Without coverage it takes about 34 s in CI. Like every test that times CPU work as a ratio of two runs, it now lives in a growth test file, shaclShapeValidator.growth.test.ts, which the growth job runs without coverage and npm test leaves out. Its input and its limit are as they were, and so is the package's coverage. Closes: #1016
ixuz
force-pushed
the
shape-check-growth-test
branch
from
November 24, 2026 21:21
e479dfb to
f82f471
Compare
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.
What and why
The test that the shape check of a release lets the page do its work between subjects with many values can run past its 180 s timeout in CI (#1016). It validates a release of 32 cards with 1,024 values each, three times over, beside smaller ones. It was in
shaclShapeValidator.test.ts, so CI'scheckjob ran it under coverage, with every package's tests at once on two cores:Without coverage it takes about 34 s in CI.
main's runs don't hit it, because they reusesolid's cached test results. A change tosolidreruns the test, as #1012's did.Every other test that times CPU work as a ratio of two runs lives in a growth test file, which the
growthjob runs without coverage andnpm testleaves out. This one now does too, inshaclShapeValidator.growth.test.ts:longestTask, which no other test used, along with it;solidstays at 100% coverage without it;testing.md's list of what the growth tests time names it.It takes about three minutes off the
checkjob.npm run checkpasses.npm run lint:reusecouldn't run locally, becausereusecouldn't be installed here. The new file has the SPDX header, and CI runs the lint.Merge order: merge this before #1012 goes back into the merge queue, or that queue run hits the same timeout again.
Closes: #1016
Refs: #1012