Skip to content

ci: run the planning browser suites on CI instead of skipping them #8498

Description

@kyle-sexton

Problem (P1)

CI never runs the planning browser suites. Run 39294570504 (PR #8471): test-bash legs running ui.test.sh and align.test.sh print SKIP: no Chromium to launch (browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium_headless_shell-1247/...) once per browser suite, and the aggregate counts them as optional SKIPs, so the legs pass green. About 1,261 UI checks and 502 align checks run only locally (Shared Interviews). The owner: "every single line of code should be tested".

Fix

  1. On the legs that run ui.test.sh, align.test.sh and surface.test.sh: a cached step installing the Playwright Chromium headless shell at the version the lockfile pins (npx playwright install --only-shell chromium), with ~/.cache/ms-playwright cached by that version.
  2. On CI, make "no Chromium" a DISCRIMINATING skip so a missing browser fails the leg.
  3. Shard the browser suites across legs (locally ~4-5 min with UI_JOBS=6) so push-to-green does not regress; ci: cut push-to-green wall time on planning pull requests #8497's duration-weighted planner is the place to do it. Keep jobs per push flat.

Related: #8487 / #8497.

🤖 Generated with Claude Code

Activity

  1. added
    needs-triage
    on Oct 19, 2026
  2. github-actions commented on Oct 19, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Small
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Decision recorded.

    This restates the 2026-10-26 decision against origin/main 78432d1081, where two of its four criteria are now met. That decision quotes only the owner's general direction, and no ledger row names this issue, so its answers are a session reading. They hold on the evidence below. Agents decided this on evidence under standing direction §1.

    [quote truncated; the full decision is at the link]

    #8498 (comment)

    That decision settles the open questions. What remains is narrow. Under CI=true, align.test.sh should fail on a browser or node skip. A stub test should cover that. The bash legs that need browser should restore a Playwright cache keyed on the locked version. A changelog fragment should cover the align change. The workflow edit is why the issue is routed to a builder session.

    Automated triage, applied by the lanes App.

  3. added
    needs-human
    and removed
    needs-triage
    on Oct 19, 2026
  4. removed
    needs-human
    on Oct 25, 2026
  5. kyle-sexton commented on Oct 25, 2026

    @kyle-sexton
    MemberAuthor

    Released for re-triage under the owner's 2026-10-24 rule: an issue stops for a person only for an intent or vision question, a security call, a host or attended run, or spend outside prepaid credit. The hold label came off and intake triage runs again now; it re-applies a hold, with a numbered question, when one of those applies.

    To hold this issue again, add needs-human (or status: needs-decision) and say why in a comment.

  6. added
    needs-triage
    and removed
    needs-triage
    on Oct 25, 2026
  7. added
    status: ready
    needs-owner-decision
    and removed
    status: ready
    on Oct 25, 2026
  8. melodic-automation-lanes commented on Oct 25, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: it carries host-run. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  9. 13 remaining items

  10. added
    status: confirmed
    host-run
    and removed
    status: ready
    needs-human
    on Oct 27, 2026
  11. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    This restates the 2026-10-26 decision against origin/main 78432d1081, where two of its four criteria are now met. That decision quotes only the owner's general direction, and no ledger row names this issue, so its answers are a session reading. They hold on the evidence below. Agents decided this on evidence under standing direction §1.

    Done on main.

    Still open.

    • Align still passes when it skips. align.test.sh exits 0 on a missing node (:10-13) and on any SKIP last line (:18), with no CI check.

    • The bash legs download Chromium on every run. The test-bash job installs it uncached when a leg needs browser (pr-require-checks.yml:3351-3354). Only the test-python job restores and saves ~/.cache/ms-playwright, keyed on the lockfile hash and saved only on main (pr-require-checks.yml:3508-3513, :3561-3566).

    • Under CI=true, plugins/planning/shared/tests/align.test.sh fails when node is missing or when align.js ends with a SKIP line for missing playwright-core or Chromium, as ui-run.sh does. Locally both skips still pass.

    • A stub test, in the shape of ui-require-browser.test.sh, shows align.test.sh failing on a browser skip under CI=true and passing it without CI.

    • The bash test legs that need browser restore ~/.cache/ms-playwright, keyed on the locked Playwright version, and skip the Chromium download on a hit. They save it only on main after a download, as the Python suites' legs already do.

    • A changelog fragment covers the align change.

    Route: builder session, because the cache criterion edits a workflow file that the issue lane's patch rules refuse. The 2026-10-26 lane run stopped on patch-protected-path (6410996042). Labels: add host-run, so admission does not hand it to the issue lane (Hub Q1: workflow-file issues go to local sessions); keep status: confirmed.

  12. added
    needs-triage
    and removed
    status: confirmed
    needs-triage
    on Oct 31, 2026
  13. added
    status: ready
    status: confirmed
    and removed
    status: ready
    on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    host-runstatus: confirmed

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions