Repository navigation
fix(planning): fail align's browser skip under CI and cache Chromium for bash legs - #11744
Conversation
…for bash legs align.test.sh now fails under CI=true when node is missing or align.js ends with a SKIP line for missing playwright-core or Chromium, matching ui-run.sh. Local runs still skip green. align-require-browser.test.sh proves both paths against a stub align.js. The test-bash legs that install Chromium (animation or browser needs) now restore ~/.cache/ms-playwright under test-python's key, skip the download on a hit, and save the entry only on main after a download. Closes #8498 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n-ci-skip-and-chromium-cache
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review (incremental, 55ffddb → 7a7c8a3)I found no security issues in the incremental change. I read every hunk of
None of this widens a trust control: no trusted-actor, token-scope or kill-switch path is touched, and no merge hold changes. No plugin manifest changed. No instruction surface (CLAUDE.md, AGENTS.md, a rules file, a skill or agent body) was deleted or softened. The PR context file contains no embedded directives aimed at the review lane. critical-findings: 0 |
|
claude-review reviewed Code review (incremental since 55ffddb): no findingsI read every hunk of the four files in this change, and they agree with each other. What changed. In both What I checked:
Closing issue #8498. The cache criterion ("bash test legs that need I ran no commands; this lane has no shell. The author says the cache path runs for the first time in this PR's CI. That claim is the author's and I have not verified it. The PR context file contains no embedded instructions aimed at this lane. |
…ser cache on install args align.test.sh fails any SKIP last line under CI=true, since align.js prints SKIP only for a missing playwright-core or Chromium. The stub test now takes its skip lines from align.js and fails when it finds none, so a reworded skip cannot leave a stale stub. The Playwright cache key in test-bash and test-python now names the install arguments (only-shell chromium), so changing them misses the cache instead of restoring the wrong browser. align-require-browser.test.sh and ui-require-browser.test.sh join the Windows-inert paths beside align.test.sh. Refs: #8498 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n-ci-skip-and-chromium-cache
select-tests now names the Playwright browser cache key as a job output, and test-bash and test-python restore under it. Workflow- and job-level env allow neither runner nor hashFiles, per the context availability table in GitHub's contexts reference, so a step in select-tests computes it. ci-test-node-stop-commands.test.sh now checks that test-bash restores only on a browser or animation leg, that both jobs restore under the shared key, that the install step is id toolchains and writes browser_downloaded, and that the save runs only on main after a download. Refs: #8498 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n-ci-skip-and-chromium-cache
check-docs-only-gate.sh fails closed on a select-tests output its tables do not name, and reads a data output only as a whole env entry. The key joins DATA_TABLE, test-bash and test-python read it into BROWSER_CACHE_KEY, and the restore steps take the key from that env entry. The contract test and the gate's fixture follow. Refs: #8498 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n-ci-skip-and-chromium-cache
Closes #8498
Summary
Two things change, as the decision record set out:
align.test.shno longer passes a browser skip under CI.Fix
plugins/planning/shared/tests/align.test.sh:CI=true, a missing node, or a last lineSKIP: …needs playwright-coreorSKIP: no Chromium to launch, now fails. It uses the same pattern asui-run.sh.align-require-browser.test.sh: a stub test shaped likeui-require-browser.test.sh, with eight cases.pr-require-checks.yml, test-bash job:~/.cache/ms-playwrighton legs that needbrowseroranimation, with the test-python job's exact key, so both jobs share one cache entry.Verification
align-require-browser.test.sh8/8.align.test.sh552/552 locally with Chromium.Related
🤖 Generated with Claude Code