Repository navigation
test(Table): isolate the release timing proof and gate its timing on the release runner - #11055
Conversation
Re-cut of #11035: the marked Table release timing proof owns a contract shard, and the cadence sample records 1,800 intervals over 200 row pitches in both directions. Co-authored-by: astracat-bot[bot] <323722387+astracat-bot[bot]@users.noreply.github.com>
…ase runner only On the scheduled ubuntu-latest checks the proof's receipt reports timing without gating; the release check's 4-core-ubuntu runs gate it. The job sets ASTRYX_TABLE_TIMING_GATE from the same condition that picks the runner. Count, work and memory budgets gate everywhere. The timing budgets stay the module record's PR5 targets: five isolated runs on the release runner stay inside them, and the worst run plus 25% is not looser. PR7 records that measured basis and the host type; OQ1 holds tightening until the samples span both 4-core host types.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
/approve-spec a65be2f |
PR Analysis Report🔎 Preview ·
|
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| TableBody | 3.5 kB (0) · 3.3 kB CSS (0) | — | ✓ · ✓ · ✗ |
| TableFooter | 3.5 kB (0) · 3.3 kB CSS (0) | — | ✓ · ✓ · ✗ |
| TableHeader | 3.5 kB (0) · 3.3 kB CSS (0) | — | ✓ · ✓ · ✗ |
5 more components
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| TableRow | 7.0 kB (0) · 4.0 kB CSS (0) | — | ✓ · ✓ · ✗ |
| Table | 126.6 kB (0) · 18.4 kB CSS (0) | — | ✓ · ✓ · — |
| TableCell | 111.0 kB (0) · 17.9 kB CSS (0) | — | ✓ · ✓ · ✓ |
| TableHeaderCell | 110.6 kB (0) · 17.7 kB CSS (0) | — | ✓ · ✓ · ✓ |
| TableSelectionToolbar | 71.2 kB (0) · 13.2 kB CSS (0) | — | ✓ · ✓ · ✓ |
Package size: no published package changed; no new dependencies.
API changes: none in this pull request
Committed API report behind this build: cli 36 rows, core 36 rows; run pnpm api:report.
Touched components checked; add ci:run-visual or ci:run-rtl to run the full suites.
CI impact: 0 job-min per update · pool 0% · time to green −5.5 min · some runners chosen by event or unknown · 3 CI action or script files changed (not measured)
| Before | After | Change | |
|---|---|---|---|
| Job-minutes per PR update | 128 | 128 | 0 |
| Runner pool, runner-minutes a day | 62,892 | 62,892 | 0 (0%) |
| Average concurrent jobs | 43.7 | 43.7 | 0 |
| Time to green (median → this run) | 22.1 min | 16.6 min | −5.5 min |
| Runs a day | 491 | 491 | 0 |
Changed jobs: Accessibility spec-test contracts changed: standard or non-standard by event (4-core-ubuntu)
Not measured (the jobs that use these keep their recent minutes above): .github/scripts/a11y-contract-shard.mjs, .github/scripts/a11y-contract-shard.test.mjs, .github/scripts/ci-table-timing-gate.test.mjs.
Assumptions: before is each job's average over the last 20 pull-request runs; after keeps that for unchanged jobs and uses this run's minutes for added or changed ones, weighted by how often each changed job ran in those runs; runs a day averages the seven whole days before today; time to green compares this run with the median of those runs that ran the same jobs.
Generated by PR Enrichment workflow | View full report
A contract test reads ci.yml and asserts that ASTRYX_TABLE_TIMING_GATE is '1' on exactly the condition that picks 4-core-ubuntu for the contract shards, so the two expressions cannot drift. A drifted condition fails it. Co-authored-by: astracat-bot[bot] <323722387+astracat-bot[bot]@users.noreply.github.com>
|
/approve-spec fd11705 |
There was a problem hiding this comment.
Requesting changes. The leg isolation and the gate-condition contract test hold up: the new shard tests fail on the base and pass here, and the exact-head release check ran the Table proof alone, timing-gated, and passed in 4.2 minutes. Two things need fixing before this lands:
- PR5 timing stops gating stable releases:
ASTRYX_TABLE_TIMING_GATEis0on every release check thatgithub-actions[bot]dispatches (main's three-hourly and 06:30 pre-cut runs and the release re-check), andrequireReleaseCheckinscripts/release/release-check-receipt.mjsaccepts any of them for the cut commit, so either make the cut's receipt timing-gated or say in PR7 and the description that releases cut from those checks are not timing-gated. - PR7 in
useTableRowsVirtualization.spec.mdnow lists the five-run measurements but still ends with "timing and memory results remain outside this record", so either keep only the durable conclusion (isolated runs on that runner stay at least 25% inside every PR5 target) and leave the numbers in the pull request, or narrow that sentence to per-release results.
A smaller note: on #11035's run the longest shared leg took 13.97 minutes, about 1 minute under the 15-minute timeout rather than 2, which already reaches the description's own seventh-shard threshold.
[Automated review]
…timing reports only PR7 drops the five-run numbers, which stay in the pull request, and keeps the conclusion: isolated runs on the release runner stay at least 25% inside every PR5 target. Its closing sentence covers per-release results. It also states that release checks on ubuntu-latest, including the scheduled monitoring runs, report timing without gating. Co-authored-by: astracat-bot[bot] <323722387+astracat-bot[bot]@users.noreply.github.com>
|
/approve-spec a35807c |
There was a problem hiding this comment.
Approving; CI passed on this head. Both earlier findings are fixed: PR7 now says release checks on ubuntu-latest report timing without gating and keeps only the durable conclusion that isolated runs stay at least 25% inside every PR5 target, and an engineering owner approved the record at this head.
Non-blocking, for the follow-up:
- Until the pre-cut and re-check runs move to 4-core-ubuntu, a stable release cut from one of them publishes with PR5 timing only reported, because the publish accepts any passing release check at the cut commit.
- No ubuntu-latest run with five shared contract legs has been measured yet, and main's ubuntu-latest legs already reached 14.12 minutes before isolation, so the first scheduled checks are worth watching against the 15-minute budget.
- The description's writing-rubric line still says PR7 names the run count and the host type, which it no longer does.
[Automated review]
Supersedes #11035, a byte-identical re-cut of its three files with its author credited (Co-authored-by), plus the timing-gate and records changes below.
Maintainer impact
The release check's Table row-windowing proof (
TableVirtualization.release.a11y.chromium.spec.ts) failed on every release check since it landed. Run 42808755700, shard 5/6 at bff2a3d failed its timing budgets: 1k/core range-plus-commit p95 was 9.9 ms against 4 ms, with no-op, frame-work, missed-frame and supported-plugin bounds also failing. Its count budgets passed.The failures came from contention, not from Table code:
Change
From #11035, unchanged:
// @a11y-isolatedowns a whole contract leg, so the timing proof runs alone. Every other test balances across the remaining five legs.Added here:
ASTRYX_TABLE_TIMING_GATEis set from the same condition that picks4-core-ubuntu. The 3-hourly monitoring release checks onubuntu-latestreport timing without gating, so those runs don't stay red. Release-evidence runs gate timing on 4-core: person- or tooling-dispatched release checks today, and the pre-cut and re-check runs once a CI & Release follow-up moves them to 4-core right after this merges. Count, work and memory budgets gate on every runner.TIMING_BUDGETSobject, and the receipt records whether timing gated.module:Table/useTableRowsVirtualizationPR7 states where timing gates, that release checks onubuntu-latestreport timing without gating, and the durable conclusion: isolated runs on the release runner stay at least 25% inside every PR5 target. The measured numbers stay in this description. OQ1 holds tightening until isolated samples span both 4-core host types.Evidence
Five isolated runs on the release runner (
4-core-ubuntu,--workers=1, the proof alone, this spec as #11035 changes it; run 42855373064, all five passed, all on AMD EPYC 9V74 hosts):Worst + 25% is never looser than PR5, so the budgets stay at PR5. Tightening toward the derived values waits for samples on the other 4-core host type (AMD EPYC 7763), so a slower host doesn't flake the release check. Count budgets passed in all five runs: no-op cell transforms 0, scroll key validation 0, mounted rows ≤ 15, zero blank frames.
Release check with isolation: run 42852382860 at #11035's head f015eb8, on 4-core. All six contract shards are green, and the Table proof passed in isolation with the unchanged budgets. The longest shared leg took 13.97 minutes, about 1 minute under the 15-minute leg timeout and at the 14-minute line; if a later run passes 14.0 minutes, a seventh shard follows, never a higher cap.
For context only, not used for budgets: four release-check runs with the proof sharing four workers were 3–4× slower (range-plus-commit p95 up to 21 ms). bff2a3d ran on
ubuntu-latest; b2a62d9, 3672296 and 1ac0c24 ran on4-core-ubuntu.Local checks:
a11y-contract-shard.test.mjspasses 15/15. A new contract test,ci-table-timing-gate.test.mjs, asserts the timing gate's condition is identical to the one that picks4-core-ubuntu; it passes, and fails when the gate's condition drifts. Coretsc, spec ESLint, Prettier andcheck:knowledgepass.Exact-head release check: run 42861764814 at this head, fd11705, on
4-core-ubuntuwith the timing gate on: all six contract shards are green. The Table proof, in shard 6/6 alone, passed its gating timing budgets. Shard durations were 8.3 / 9.4 / 10.2 / 9.6 / 8.9 / 5.5 minutes; the longest leaves about 5 minutes under the leg timeout. The run'srelease-authorityandrelease-checkjobs fail by design on a non-main ref; only the contract shards are the evidence.Scope
Writing rubric results
Co-authored-by: astracat-bot[bot] <323722387+astracat-bot[bot]@users.noreply.github.com>