Repository navigation
fix(release): restore Electron startup for Antigravity users - #1563
Merged
Merged
Conversation
Use the CommonJS export supported by Electron and launch the compiled main bundle with a disposable profile and a bounded deadline before signing. Retain the independent packaged-app checks for both Mac architectures. Refs #1562
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The unpublished 0.1.11 build failed before showing a window. Its compiled main bundle requested a named export from @xterm/headless 5.5.0 that Electron cannot resolve. Vitest and typechecking passed on that bundle.
Use the package default export and exercise the compiled main under real Electron with a disposable profile and a bounded deadline. The final signed-app, signature and updater checks stay in place.
Independent review confirmed the import preserves the composer constructor and draft checks. The release workflows now verify the exact compiled bundle before archiving it, as requested in review. The regression probe ran against the original bundle and reported the missing Terminal export.
Fixes #1562
Verified locally on arm64: the original compiled entry failed the new check with the missing Terminal export. The corrected entry passed the same real Electron launch, typechecking passed, and both terminal composer regression tests passed. The launcher enforces a 30-second deadline.