Skip to content

Hosted gates: the Chrome for Testing pin stays at 157, with the reason beside it (Chrome 158 stalls the vendor lane's own waits) - #647

Merged
SSFSKIM merged 6 commits into
mainfrom
608-lift
Dec 1, 2026

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Refs #608
Refs #610

Title: parity-browser: the Chrome for Testing pin stays at 157, and says why

The hosted gates' Chrome for Testing pin (scripts/repl-parity/hosted/chrome-for-testing.json) stays at 157.0.8103.78. This PR changes no pin. It adds the reason beside the pin in scripts/repl-parity/hosted/hosted.sh, and in brief in .github/ci-kit.yml's parity-browser entry. The gate scripts are not part of the plugin, so the plugin version is unchanged.

The decision and its reason

CI-opt kept the pin at 157, for two reasons.

157's grace is Chrome for Testing's, not Chrome's (#610). On 157 a new hidden tab is spared for seconds after its load; on 158 only until the load ends.

  • That grace is Chromium's loading voter (LoadingPageVoter), switched on by the field-trial testing config that any build that isn't Chrome-branded applies.
  • A branded Chrome has the voter only if a field trial gives it. Without it, 157 and 158 lower a new tab's renderer alike, at about 0.44 s (measured on Linux).
  • So a green parity-browser run on either pin speaks for this Chrome for Testing, not for a person's Chrome. The pin protects the gate, not people.

On 158 the vendor host's lane still stalls, and cua can't change its waits. cua's own lane was fixed for 158 by #623, which sized cua's browser-service limits, and #637, the locator diagnostic. The vendor host runs the pinned vendor runtime unmodified, with its own 3 s, 5 s and 10 s. In 1 of 4 runs on 158 with both fixes in, its waitforurl case ran out its own 2.5 s on a backgrounded tab.

When to revisit:

Why not the anti-throttling switches

Launching the harness Chrome with --disable-renderer-backgrounding or the other anti-throttling flags would make 158 pass. But #608 and hosted.sh's header rule them out for this gate: they hide what a person's Chrome does, and a person's Chrome can't be launched with them. The gate has to run Chrome as people do. Those flags exist only for diagnosis, behind PARITY_CHROME_FLAGS on the stress gate's own branch.

The 158 runs

Placed Chrome for Testing 158.0.8127.88 on image macos26 20261123.0526.1. Runs were made one at a time, with no reruns.

Head d118a6e (main 51e3f8a, with #623 and #637):

Run Vendor host's lane cua's lane Gate
46572071211 api 290/290, docs-profiles 12/12 api 290/290, docs-profiles 12/12 green
46580235527 api 290/290, docs-profiles 12/12 api 290/290, docs-profiles 12/12 green
46581919506 api 290/290, docs-profiles 12/12 api 290/290, docs-profiles 12/12 green
46583607499 (full ci-gate) api: api/browser-playwrightapi/waitforurl, cell url timed out at 2533 ms against its own 2500 ms; docs-profiles 12/12 api 290/290, docs-profiles 12/12 red

The same full ci-gate also failed sandbox-denials on cells/native-pipe/data-close-error, the known native-pipe flake (tech-debt-tracker.md), which has nothing to do with the pin.

The #637 history. This branch's first head (9ef8c82, before #637) ran parity-browser three times on 158:

  • runs 46380407780 and 46388989395 were green;
  • run 46391333831 failed locator-contract-diagnostics-sampling on cua's lane.

The cause: the "Locator diagnostics" line after a failed locator action was read through the user-facing evaluateAll route. That is about 507 CDP round trips for the cell's 251 matches, against the 1 s #623 gives that read, in a tab backgrounded from its first command. #637 (cua 0.31.5) answers it with one evaluate in the selector engine's world. After that, cua's lane passed all four runs above.

Gates

ci-gate by its own selection on 0c72d44: RED 1/10 (46592250982). Nine gates passed, including parity-browser and sandbox-denials. test-2 failed test/native-engine.test.mjs's resolve_app test: the macOS engine didn't listen on its socket within 15 s. This change touches nothing that test loads. Under the coordinator's rule for a failure the change can't touch (ruling 1356), test-2 was rerun alone once on the same head, and passed: GREEN (46601205280). So all ten gates have passed on 0c72d44. After main moved (#646), the head 3a4bcfe merges main 5a9a4c4 and is GREEN on every gate in one run: harness-dbus, engine-swift, engine-swift-xcode27, engine-linux, test-1, test-2, sandbox-live, plugin, parity-browser on 157, and sandbox-denials (46605180870).

Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)

….88 (#608, #610)

The hosted gates' Chrome for Testing pin moves from 157.0.8103.78 to the
current Stable, 158.0.8127.88 (revision 1727472), the archive #610's hosted
runs placed (size 200337306, SHA-256 6caf16b0...). #623 sized cua's own
browser-service limits for 158's stall; the vendor host keeps its own.

hosted.sh now says beside the pin what the 157 grace was: Chromium's loading
voter, which a Chrome for Testing has on through the field-trial testing
config and a branded Chrome has only by field trial.

Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
…#608, #610)

CI-opt kept the hosted gates' pin at 157.0.8103.78. The pin file is back
to main's; the 158.0.8127.88 move this branch tried is gone.

hosted.sh now says beside the pin why it stays:
- 157's new-tab grace is Chrome for Testing's field-trial testing config
  (the loading voter), which a branded Chrome lacks.
- On 158 the vendor host's lane, whose waits cua cannot change, stalls on
  backgrounded tabs. With cua's lane fixed (#623, #637), waitforurl's url
  cell still ran out its own 2.5 s, at 2533 ms, in 1 of 4 runs (ci-gate
  46583607499).
- So the pin protects the gate, not people.
- It is to be revisited when the vendor's pinned runtime changes or when
  Chromium answers the request to keep a debugged tab's priority.

ci-kit.yml's parity-browser comment says the same in brief.

Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T08:53:40.963400Z 3a4bcfe PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM
SSFSKIM enabled auto-merge (squash) December 1, 2026 08:52
@SSFSKIM
SSFSKIM merged commit a928b31 into main Dec 1, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant