Skip to content

Browser chrome follow-ups from P2-F's triage: e2e seam for Open in external browser, the chrome.test.tsx load flake, a tolerant profiles.json reader #102

Closed

Description

@SSFSKIM

Purpose

Three MAWS tech-debt rows that P2-F's triage (docs/doperpowers/evidence/p2-finish/triage.txt on master) routed to the browser chrome's owner (this board) because P2 excludes the browser chrome. Each is bounded and needs no design. Tracker line numbers are at MAWS master 9cabdf69, docs/tech-debt-tracker.md.

  1. L60 (E4a): the overflow "Open in external browser" has no MAWS_E2E seam. layout.openExternal (renderer, src/renderer/src/tools/browser/chrome/OverflowMenu.tsx; main src/main/open-external.ts) writes the seam's openExternal line under MAWS_E2E=1 with the open log set, like main's context-menu and window.open hand-offs already do, and e2e:browser clicks the item and asserts the line. Never launch the real system browser in e2e.
  2. L79, the chrome half (E4c): src/renderer/src/tools/browser/chrome/chrome.test.tsx "typing lists the typed address…" is load-sensitive (one timing flake, passed alone). Make it load-independent (wait on the suggestion state, not a fixed delay). P2-F fixes the TranscriptSlot.test.tsx half; leave that one.
  3. L117, the profiles.json half (P2-0 G3): profiles.json is strict (src/shared/browser/profiles.ts:26-51): a same-version unknown key makes ImportedProfiles.open move the file to .broken-* and start empty, which lets the boot sweep remove unlisted partitions. Make the same-version reader tolerant of unknown keys (keep: a higher numeric version stays read-only, src/main/browser/import/profiles.ts:38-53,112-124), with a unit test that a record carrying an unknown key is read and its partition kept. P2-F makes the deliverable, models-cache and host-queue readers tolerant; leave those.

Repository: MAWS (/Users/new/Developer/GitHub/MAWS, work in a worktree, PR against master; the main checkout stays on master). Gates: pnpm typecheck && pnpm lint && pnpm test, pnpm e2e:browser, pnpm e2e:browser-import. Close the three tracker rows (dated) in the PR. No attribution footers.

Activity

  1. added
    enhancement
    status:ready-for-implementer
    priority:P3
    status:in-progress
    and removed
    status:ready-for-implementer
    on Oct 10, 2026
  2. SSFSKIM commented on Oct 10, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: Worker dispatched (sol) in MAWS worktree MAWS-wt-102 on branch 102-chrome-followups.

  3. removed
    status:in-progress
    on Oct 10, 2026
  4. SSFSKIM commented on Oct 10, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Merged SSFSKIM/MAWS#8 (757adbde, af8e5545, b8989af8) after a medium review; the three tracker rows closed in the PR. Gates: typecheck, lint, 11415 units, e2e browser 8/8, browser-import 6/6.

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

    enhancementpriority:P3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions