fix(test): constrain immutable-container Chromium fallback - #1507
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 9 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughChangesThe Playwright runner now discovers compatible preinstalled Chromium shells in the designated container browser root when managed downloads are disabled. Resolution is platform- and architecture-aware, with tests and documentation updated. Review ledger and outstanding-issue records were also reconciled. Playwright browser fallback
Review documentation reconciliation
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant PlaywrightRunner
participant resolvePlaywrightBrowserExecutable
participant FileSystem
PlaywrightRunner->>resolvePlaywrightBrowserExecutable: Resolve Chromium executable
resolvePlaywrightBrowserExecutable->>FileSystem: Scan designated browser root
FileSystem-->>resolvePlaywrightBrowserExecutable: Return newest compatible shell
resolvePlaywrightBrowserExecutable-->>PlaywrightRunner: Return executable path and provenance
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
Comment |
|
Temporarily paused during the owner-authorized ordered merge sweep so |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
…ainer-alignment # Conflicts: # docs/outstanding-issues.md
|
@cursoragent resolve merge conflict |
|
@cursoragent resolve failing CI |
|
CI is green and PR #1507 is merged. What was failing: Exact-head CI then completed successfully — including |
…ment' into codex/playwright-container-alignment


Summary
PLAYWRIGHT_BROWSERS_PATH=/opt/pw-browserswith downloads disabled), selecting the newest shell compatible with the current CPU architectureReview fixes carried forward
chrome-headless-shell-linux64layout; it falls through to the compatiblechrome-linux/headless_shelllayoutPLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1plus shared-cache combination is insufficient to enable fallback;/opt/pw-browsersis requiredVerification
npm run test -- tests/playwright-browser-preflight.test.ts— 1 file, 11 tests passed on the final review-fixed codenpm run verify:cheap— 443 files, 4,631 tests passed, 3 skipped1 passed (26.9s); verified local server stopped afterwardnpm run check:rag:fixtures— 36 golden cases, 23 suites passednpm run check:outstanding-issues -- --base-ref origin/mainnpm run check:branch-review-ledgergit diff --check origin/main...HEADFresh exact-head hosted CI is required for this replacement PR; the prior #1504 result is supporting evidence only.
Risk and rollback
Low-to-moderate test-infrastructure risk. The fallback may intentionally use an older image browser than the client, but it is restricted to the known immutable image root, architecture-filtered, and logged. Revert this PR to restore strict exact-revision failure and the manual executable override requirement.
RAG impact: no retrieval behaviour change — Playwright browser discovery and test documentation only.
Summary by CodeRabbit
Bug Fixes
Documentation