Skip to content

Unbundle Chromium from macOS app#39

Open
theotarr wants to merge 1 commit into
mainfrom
codex/unbundle-chromium-auth-browser
Open

Unbundle Chromium from macOS app#39
theotarr wants to merge 1 commit into
mainfrom
codex/unbundle-chromium-auth-browser

Conversation

@theotarr
Copy link
Copy Markdown
Contributor

Summary

  • stop fetching/copying the Playwright Chromium payload into Cued.app
  • resolve installed Chromium-family browsers at auth runtime, including /Applications and ~/Applications
  • try installed browser candidates in order so a broken Chrome install can fall through to Chromium, Edge, or Brave
  • forbid Contents/Resources/runtime/chromium in release validation

Verification

  • PATH="$HOME/.nvm/versions/node/v24.4.0/bin:$PATH" pnpm exec vitest run src/platforms/core/auth/browser-resolver.test.ts src/platforms/core/auth/service.test.ts
  • PATH="$HOME/.nvm/versions/node/v24.4.0/bin:$PATH" pnpm build && PATH="$HOME/.nvm/versions/node/v24.4.0/bin:$PATH" pnpm typecheck
  • PATH="$HOME/.nvm/versions/node/v24.4.0/bin:$PATH" pnpm exec vitest run src/platforms/core/auth/browser-resolver.test.ts src/platforms/core/state/integration-state.test.ts
  • PATH="$HOME/.nvm/versions/node/v24.4.0/bin:$PATH" pnpm build:app:macos
  • PATH="$HOME/.nvm/versions/node/v24.4.0/bin:$PATH" bash scripts/validate-cued-release-artifact.sh native/macos/dist/Cued.app
  • auth worker smoke with installed Chrome and fresh temp profile reached LinkedIn login and timed out as expected

Notes

  • Built app bundle is now 518M locally and Contents/Resources/runtime/chromium is absent.
  • Full pnpm check:biome is currently blocked by unrelated .claude/settings.local.json formatting in this checkout; touched files pass targeted Biome.

@theotarr theotarr force-pushed the codex/unbundle-chromium-auth-browser branch from a2db495 to cbaa168 Compare May 21, 2026 19:23
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