Repository navigation
feat(dox): cut the Dox gates to three and close the gate set (DOX-G19) - #594
Merged
Merged
Conversation
…#593) Keep `a11y-axe`, `rendered-links` and `data-credits-check`. Delete the other 21 gates with their tests, helpers, fixtures and package scripts. The runner has no tiers, the PR runs one Chromium leg, and the weekly sweep runs six legs. A test pins the registry at three entries, so a fourth gate needs a deliberate edit. Fix the `data-credits-check` failures from #593. Two were readings in the gate: the WebKit panel fade, now a wait for motion to end, and the Firefox Tab from Zoom in, which now fails only on a real trap. One was a page defect: in WebKit at 375 px the credits popup flipped below its button while opening, so the side is now chosen once as it opens. The leak guard now allows only three named page-lifetime listeners (`syncCreditsExpanded`, `pickCreditsSide` and `readOpenedBoxes`) instead of every capturing `toggle` listener on the document, and the listener in `scroll-regions.ts` is named `readOpenedBoxes` to match.
craig-o-curtis
enabled auto-merge (squash)
November 30, 2026 06:26
baldurpan
reviewed
Nov 30, 2026
baldurpan
left a comment
Contributor
There was a problem hiding this comment.
One small thing, all in the context docs. The code changes look right to me: I went through the credits side picking in data-credits.ts and its CSS, the leak-guard allow-list and its test, the three-entry gate registry, and the dox-table-fit job leaving ci.yml (nothing needs: it, and it isn't a required check on main).
The context docs and some code comments still named scripts and checks this branch deletes, such as `hero-space`, `text-floor` and `frame-budget`, as if they ran. Keep each rule and drop the statement that a gate checks it.
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.
Refs #593 (DOX-G19)
Summary
The weekly sweep ran 24 gates on 18 legs and filed 193 failures in one issue (#593). This PR keeps three gates,
a11y-axe,rendered-linksanddata-credits-check, and deletes the other 21 with everything only they used.dox-gates). The weekly sweep runs six legs: Chromium 4, Firefox 1, WebKit 1.registry.test.tsfails if a fourth entry is added, and one rule incontext/dox/built/tier-2-gates.mdsays no story adds a gate without the owner's word. A check a feature needs goes in that feature's own test.data-credits-checkfailures Dox gate: 193 new failures in one run #593 names are fixed. Two were wrong readings in the gate: WebKit's panel fade (a fixed 500 ms wait, now a wait for motion to end) and Firefox's Tab from Zoom in (Zoom in is the last Tab stop on/, so the gate now fails only on a real trap). One was a page defect: in WebKit at 375 px the credits popup flipped below its button while opening, so the side is now chosen once as it opens.apps/dox/src/test/leak-guard.ts) allowed any capturingtogglelistener on the document. It now allows exactly three by name:toggle syncCreditsExpanded,beforetoggle pickCreditsSideandtoggle readOpenedBoxes. Every other capturingtoggleorbeforetogglelistener on the document is tracked. A new test covers it.togglelistener inapps/dox/src/lib/scroll-regions.tslives for the page by design (one per root, behind a WeakSet). It is now namedreadOpenedBoxes, so the allow-list can match it.Validation
pnpm run validate: exit 0, 27 checks passed. Two earlier runs at load average 22 to 25 failed without a code failure: one on 10 browser-test timeouts in 4 files this PR does not touch (the 4 pass alone, 329 of 329), one on a vitest worker SIGTERM at startup.gates: PASS 4 ran, 0 skipped ... 1332 pages ... 78m41s.scripts/gates: 130 tests pass.data-credits-check: 3 passes in a row in all three engines. ui-standards: 0 findings. Dox test: 803 files pass.After merge
The weekly workflow is dispatched and watched. #593 is closed on the owner's word, not by this PR.