Skip to content

fix(desktop): declare background startup before macOS launches browser workers - #43

Merged
techflag merged 3 commits into
mainfrom
codex/native-browser-worker
Oct 4, 2026
Merged

techflag merged 3 commits into
mainfrom
codex/native-browser-worker

Conversation

@techflag

@techflag techflag commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

Browser workers share the Desktop application bundle. macOS previously launched that bundle as foreground before JavaScript hid the worker, allowing Dock flicker. Declare LSUIElement in the packaged native plist, promote only the primary application to regular activation, and keep workers accessory. Packaging rejects missing native startup metadata. No extra application or runtime is introduced.

Validation: Desktop build/typecheck, 126 unit tests and 13 release checks passed. Primary foreground activation is covered in lifecycle tests. Packaged acceptance passed: 182 valid macOS startup observations all UIElement and none Foreground; hidden browser rendering and primary Foreground window entry both passed. DMG verification is finishing.

@techflag techflag changed the title fix(desktop): give background browsers a native UIElement identity fix(desktop): declare background startup before macOS launches browser workers Oct 4, 2026
@techflag
techflag merged commit 8016280 into main Oct 4, 2026
5 of 7 checks passed
@techflag
techflag deleted the codex/native-browser-worker branch October 4, 2026 16:14
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