Skip to content

Retry extension launches that fail before tests start - #5244

Closed
stroxler wants to merge 2 commits into
mainfrom
export-D125466103
Closed

stroxler wants to merge 2 commits into
mainfrom
export-D125466103

Conversation

@stroxler

Copy link
Copy Markdown
Contributor

Summary: Retry a VS Code extension-test launch up to three times when the process exits before Mocha starts. A Mocha preload writes a marker before loading any test files; once that marker exists, failures propagate immediately and no test is repeated. This masks transient CodeWindow: detected unresponsive startup failures without hiding extension or test flakes.

Differential Revision: D125466103

Summary: Pass `--disable-gpu` to VS Code when extension tests run on Linux. Those tests use a virtual display, where Chromium GPU startup can hang before the extension host or test suite starts. Other platforms keep their existing launch arguments.

Differential Revision: D125465345
Summary: Retry a VS Code extension-test launch up to three times when the process exits before Mocha starts. A Mocha preload writes a marker before loading any test files; once that marker exists, failures propagate immediately and no test is repeated. This masks transient `CodeWindow: detected unresponsive` startup failures without hiding extension or test flakes.

Differential Revision: D125466103
@meta-cla meta-cla Bot added the cla signed label Oct 15, 2026
@meta-codesync

meta-codesync Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

@stroxler has exported this pull request. If you are a Meta employee, you can view the originating Diff in D125466103.

@meta-codesync

meta-codesync Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

This pull request has been merged in 3ac58bd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant