7 7 **Architecture:** Extract tune’s embedded dashboard HTTP/SSE server into one focused module used by production and Playwright. Tune owns its local suite and task, while root mise installs browser system dependencies only under CI and runs the release gate in `check → lint → test → e2e` order.
9 -**Tech Stack:** Playwright 1.61, Chromium, Firefox, Node HTTP/SSE, mise monorepo tasks, TypeScript, GitHub Actions.
9 +**Tech Stack:** Playwright 1.61, Chromium, Firefox, Node HTTP/SSE, mise monorepo tasks, TypeScript, Luci, Podman.
11 11 **Roadmap:** [`docs/super/roadmaps/2026-07-12-mise-task-architecture-roadmap.md`](../roadmaps/2026-07-12-mise-task-architecture-roadmap.md)
28 28 - `extensions/tune/playwright.config.ts`: local overlay on shared browser policy.
29 29 - `extensions/tune/__e2e__/dashboard.spec.ts`: real dashboard load, interaction, and live-update smoke test.
30 30 - `extensions/tune/mise.toml`: local E2E task ownership.
31 +- `.ci/ci.kdl`: Luci job using the pinned Playwright image.
38 39 - `AGENTS.md`: document E2E as part of CI.
39 40 - `extensions/tune/README.md`: document dashboard E2E usage.
44 +- `.github/workflows/check.yml`: obsolete workflow for the previous host.
43 48 - `extensions/tune/assets/template.html`: browser behavior remains unchanged.
44 49 - Existing tune Vitest suites remain detailed logic coverage.
45 -- `.github/workflows/check.yml`: continues to call only `mise install` and `mise run ci`.
46 50 - Benchmark tasks remain outside CI.
48 52 ###
Task 1: Extract The Dashboard Server Behind A Tested API 472 476 - Modify: `mise.toml:54-86`
473 -- Verify: `.github/workflows/check.yml`
477 +- Create: `.ci/ci.kdl`
478 +- Delete: `.github/workflows/check.yml`
475 480 - [ ] **Step 1: Verify the current CI order excludes E2E**
493 498 Local `mise run e2e` downloads browser engines without mutating host system packages.
494 -GitHub Actions sets `CI`, so the same root task uses Playwright’s supported dependency installation path.
499 +Luci runs the job with `CI=true`, so the same root task uses Playwright’s supported dependency installation path.
496 501 - [ ] **Step 3: Set the final release-gate order**
534 539 Expected: browser install includes `--with-deps`.
536 -- [ ] **Step 5: Verify GitHub Actions remains generic**
541 +- [ ] **Step 5: Migrate repository CI to Luci**
538 -Read `.github/workflows/check.yml`.
539 -Expected: it installs mise/tools and invokes only `mise run ci`; no extension-specific test command is added.
543 +Delete `.github/workflows/check.yml`.
544 +Create `.ci/ci.kdl` with one push-triggered `ci` job using `mcr.microsoft.com/playwright:v1.61.0-noble`.
545 +The job installs mise, runs `mise install`, then runs `CI=true mise run ci`.
546 +Validate the KDL with Luci’s real parser and run the exact job command in a clean ephemeral Podman worktree.
541 548 - [ ] **Step 6: Commit release-gate promotion**
647 654 - Aggregate four-extension E2E results.
648 655 - Final `mise run ci` order and result.
649 656 - Commits created.
650 -- Confirmation that GitHub Actions remains extension-agnostic.
657 +- Confirmation that Luci parser validation and local ephemeral-container parity pass.
651 658 - Confirmation that Phase 5 remains unimplemented.