Repository navigation
feat(recipe): reuse Chromium and run grouped browser probes concurrently - #2631
Merged
Merged
Conversation
This was referenced Dec 4, 2026
chubes4
added a commit
to Extra-Chill/homeboy
that referenced
this pull request
Dec 4, 2026
Pins WP Codebox [v0.36.0](https://github.com/Automattic/wp-codebox/releases/tag/v0.36.0), which speeds up the recipe startup and probe phases of rig gates: - Automattic/wp-codebox#2632: zip-extracted extra plugins are mounted directly instead of being staged as readonly copies first (measured at 16.7 s for 399 MB on the extrachill-network gate). - Automattic/wp-codebox#2631: recipe browser probes share one Chromium, and an opt-in `parallelGroup` runs probes concurrently, bounded by `runtime.workers`. Verified: `wp-codebox-doctor-smoke.sh` passes. AI disclosure: Claude (Anthropic) in the Pi coding agent (Franklin), directed by @chubes4. AI made the version bump.
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.
Summary
What changed
wordpress.browser-probestep in a runtime shares one Chromium browser, with a fresh context per probe. The browser closes when the runtime is destroyed.parallelGroupname run concurrently, bounded byruntime.workers. The option is validated, and limited to Playground workflow probes withoutcontinuationorpluginInput.files/browser/probe-N/, so a later probe no longer overwrites an earlier one's evidence. WordPress diagnostics are logged per probe, keyed by a probe cookie.Why
Measured on an 11-site multisite baseline gate (Extra-Chill/extrachill, wp-codebox 0.35.3 on GitHub Actions): 11 serial homepage probes took about 42 s, the largest phase of the run. Fixes #2630.
Verification
tests/recipe-browser-probe-groups.test.ts(wave planning and validation) andtests/recipe-browser-probe-reuse.browser.test.ts(one browser launch across probes, per-probe evidence).AI disclosure
Claude (Anthropic) in the Pi coding agent (Franklin), directed by @chubes4. The implementation came from Homeboy Cook
agent-task-0a96d1aa-91cc-4b2f-9d3f-5b098dbfcb77, route cook-heavy (gpt-6.2-sol). Homeboy refused publication ("publication requires the attempt's persisted applied promotion"), so the candidate commit3d757b87was reviewed and opened as this PR by hand, outside Homeboy finalization.