Repository navigation
ci: record the Citation text-size interaction spec's time, so recorded times cover nine in ten specs again - #13238
josephfarina wants to merge 1 commit into
Conversation
…d times cover nine in ten specs again
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report🔎 Preview ·
|
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet (the run was cancelled before any job started), so the required checks need a run here before merge.
The added entry times the Citation text-size interaction spec. That brings the recorded Chromium times to 128 of 142 specs (0.901) and clears the nine-in-ten floor in .github/scripts/playwright-legs.test.mjs, which main fails today at 127 of 142 (0.894).
- #13193, which times the other 14 untimed specs, inserts at the same place in
.github/playwright-leg-durations.json, so the two conflict and whichever lands second needs a rebase. - On its own this change leaves no headroom: one more untimed interaction spec on
maindrops coverage to 128 of 143 (0.895) and fails the test again until the record is refreshed.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: no user impact. Verified: the only changed file is CI data under
.github/. - Claim: the recorded-times test fails on
main. Verified:main's Node tests fail atplaywright-legs.test.mjs:577with 0.894, under 0.9. - Claim: the Citation spec had no recorded time, leaving 127 of 142 timed. Verified at the base with the test's own file selection.
- Claim: every pull request whose Node tests ran that file failed on it. Verified: the assertion depends only on the tracked spec paths and the record.
- Claim: 1.0 s from the spec's own pull request run, two tests at 545 ms and 504 ms. Consistent: the spec has two tests (lines 70 and 81), and 1.049 s rounds to 1.0 at the record's tenth-of-a-second precision.
- Claim: 128 of 142 timed with this change (0.901). Verified.
- Claim: data only, no changeset needed. Verified: no code, test or shipped file changes.
- Claim: sorted key order kept, one line added. Verified.
- File
.github/playwright-leg-durations.json: clear.
- #13238 ci: record the Citation text-size interaction spec's time, so recorded times cover nine in ten specs again Author: @josephfarina
|
Landed in #13239. |
Main recorded CitationTextSize at 1.0 s (#13238); keep main's time for it.
…ps unmeasured ones (#13193) * ci: record Chromium times for every interaction spec; the refresh keeps unmeasured ones main timed 127 of 141 interaction spec files (90.07%), on the playwright-legs test's 90% floor, so a pull request adding one spec failed it. The 14 missing times come from main's latest full Chromium runs (median), and for three specs newer than those runs, from their own pull requests' green runs. The weekly refresh's median now keeps the recorded time of a tracked spec its runs did not time instead of dropping it. * ci: the interaction refresh reuses mergeRecord; MarksFitTheBox at the refresh's own median The refresh keeps unmeasured tracked specs through scripts/lib/duration-split.mjs mergeRecord (now with an order option, so the record keeps its byte order), which also drops a file git no longer tracks when a run timed it. MarksFitTheBox is 3.3 s, the median medianTimes gives over its two full runs. * Merge main into ci/interaction-durations-fill * ci: record CitationTextSize's Chromium time from #12461's green leg The main merge brought in packages/core/src/Citation/__tests__/CitationTextSize.interaction.browser.spec.ts, which had no time; 1.7 s from #12461's pr-interaction leg (run 44860960331). Chromium now times 142 of 142. * Merge main into ci/interaction-durations-fill Main recorded CitationTextSize at 1.0 s (#13238); keep main's time for it.
User impact
None for users. The test leg that checks the recorded Chromium interaction times was failing on main: a new interaction spec (
packages/core/src/Citation/__tests__/CitationTextSize.interaction.browser.spec.ts) had no recorded time, so 127 of 142 interaction specs were timed (0.894), under the test's floor of nine in ten. Every pull request whose node tests ran that file failed on it.Change
Records that spec's Chromium time in
.github/playwright-leg-durations.json: 1.0 s, measured from its own pull request's interaction run (two tests, 545 ms and 504 ms). With it, 128 of 142 specs are timed (0.901). Data only; no code, test or shipped file changes, so no changeset.Verification
git ls-filesunderinternal/interaction-harness/srcandpackages, filtered byisInteractionSpec) gives 142 specs on main and 128 timed with this change.preflight: pass bc0c063 (data-only change: the coverage ratio the failing test checks was recomputed with its own file selection, 128/142 = 0.901; CI runs the rest)