Skip to content

Fix browser chrome follow-ups from cua #102 - #8

Merged
SSFSKIM merged 3 commits into
masterfrom
102-chrome-followups
Oct 10, 2026
Merged

SSFSKIM merged 3 commits into
masterfrom
102-chrome-followups

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 10, 2026

Copy link
Copy Markdown
Owner

Summary

Implements SSFSKIM/cua#102's three bounded browser-chrome follow-ups.

  • The scheme-checked layout.openExternal path logs openExternal <url> under MAWS_E2E=1 with MAWS_E2E_OPEN_LOG set, without launching the system browser. Browser e2e clicks the overflow menu item and verifies the log plus the unchanged in-app tab.
  • The typed-address chrome case waits for the final query and rendered suggestion state instead of fixed sleeps. Intermediate queries from slow typing are allowed.
  • profiles.json uses separate tolerant disk-read schemas, including nested object fields, while writes stay strict. Reads leave the file's bytes untouched, higher numeric versions remain read-only, and a unit test verifies both the imported folder and Chromium storage survive the boot sweep. Version-1 upgrades use the same tolerant-read policy.

Dated 2026-10-10 closure clauses link cua board #102 in the tracker rows originally at master 9cabdf6 L60, L79 and L117. Only the chrome half of L79 and profiles half of L117 are closed here; their P2-F-owned portions are explicitly left with P2-F.

Commits

  • 757adbde Add e2e seam for browser overflow external hand-off
  • af8e5545 Wait for address suggestions instead of fixed test delays
  • b8989af8 Read additive profile fields without losing imported partitions

Verification

Independent medium review of 9548a40a..b8989af8: no material findings.

pnpm typecheck && pnpm lint && pnpm test — final full retry

 Test Files  803 passed | 3 skipped (806)
      Tests  11415 passed | 4 skipped (11419)
Type Errors  no errors
   Start at  02:10:14
   Duration  190.93s (tests 52%, import 22%, transform 15%, environment 11%)

  Transform  |renderer-compiled| transforming modules took 147.53s · 68% of tracked time, re-done on every run
             persist transforms across runs with fsModuleCache: true
             learn more: https://vitest.dev/guide/improving-performance#caching-between-reruns

The first full run passed typecheck and lint but had the known PTY flake (two cases) and an unrelated resource.test.tsx 5-second timeout. Both files passed alone; the complete command then passed without worker/timeout changes. The final full retry has no failures.

PTY-alone tail:

 Test Files  1 passed (1)
      Tests  6 passed (6)
Type Errors  no errors
   Start at  02:07:53
   Duration  2.75s (tests 95%, transform 2%, import 2%)

Resource-alone tail:

 Test Files  1 passed (1)
      Tests  3 passed (3)
Type Errors  no errors
   Start at  02:08:02
   Duration  6.72s (transform 57%, tests 27%, import 12%, environment 3%)

  Transform  |renderer| transforming modules took 3.81s · 57% of tracked time, re-done on every run
             persist transforms across runs with fsModuleCache: true
             learn more: https://vitest.dev/guide/improving-performance#caching-between-reruns

pnpm e2e:browser

  8 passed (1.1m)

pnpm e2e:browser-import

  6 passed (35.4s)

Both Electron e2e groups passed on their first runs, sequentially over scratch user data. No real system browser or owner's MAWS build was launched. No e2e focus retry was needed.

Left out

The TranscriptSlot.test.tsx half of L79 and deliverable/models-cache/host-queue portions of L117 belong to P2-F and were not changed. No product styling or behavior beyond the requested test seam and persisted-reader fix was added. This PR is left open for review, not merged.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-10T09:21:14.449555Z b8989af PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b8989af835

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +89 to +92
history: ImportReportV1Schema.shape.history.unwrap().strip().nullable(),
cookies: ImportReportV1Schema.shape.cookies.unwrap().safeExtend({
partitioned: ImportReportV1Schema.shape.cookies.unwrap().shape.partitioned.strip(),
}).strip().nullable(),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Make nested report maps tolerant on disk reads

When a newer same-version writer adds a key to history.skipped/history.hosts or the equivalent cookie maps, these overrides strip only the enclosing history/cookies objects; the nested z.record(z.enum(...)) and z.partialRecord(z.enum(...)) schemas remain closed and reject the new key. readProfilesFile consequently classifies the entire file as broken, moves it aside, and allows the boot sweep to delete the imported partitions—the data-loss path this change is intended to prevent. Use tolerant read schemas for these nested maps as well and cover an unknown key at that depth.

Useful? React with 👍 / 👎.

SSFSKIM added a commit that referenced this pull request Oct 10, 2026
…52 amendment (socket peer authentication by process ancestry), the P1 ledger's §6 clause for native/peer-auth and its §5 row's inert field, the charter's §19 line
SSFSKIM added a commit that referenced this pull request Oct 19, 2026
…ting again inside its write, so a setting turned on while it waited is obeyed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant