CI: retry ext-host remote tests on Electron startup segfault#14816
Open
timtmok wants to merge 1 commit into
Open
CI: retry ext-host remote tests on Electron startup segfault#14816timtmok wants to merge 1 commit into
timtmok wants to merge 1 commit into
Conversation
Since the Electron 42 bump (upstream 1.124.0, #14673), the remote integration step intermittently dies with exit 139: Electron segfaults at startup inside the system libfontconfig/libexpat on the ubuntu24 CI image, before any test runs. Retry the step up to 3 times, but only when the exit code is 139, so genuine test failures still fail fast. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
E2E Tests 🚀 |
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.
Summary
Since the Electron 42 bump (upstream 1.124.0 merge, #14673, landed July 8), the
test / ext-hostjob's Run Extension Host Tests (Remote) step intermittently fails with exit code 139. Electron segfaults at startup, before any test runs, inside the systemlibfontconfig/libexpaton the ubuntu24 CI image:The crash strikes whichever suite happens to be launching Electron at the time - observed against the TypeScript, ipynb, and configuration-editing suites on unrelated branches (runs 29043333717, 29094973481, 29060813983, 29066567774, 29094468926). No ext-host failures with this signature exist before July 9; since then it has killed the majority of ext-host runs.
Fix
Retry the remote integration step up to 3 times, but only when the exit code is 139, so genuine test failures still fail fast on the first attempt.
scripts/test-remote-integration.shis upstream-owned, so the retry lives in the Positron-owned workflow instead.This is a mitigation. The real fix is likely in the CI image (fontconfig/expat packages in
positron-ci-imagesubuntu24) or a future Electron release; the retry can be removed once startup is stable again.QA Notes
CI-only change. Verify the
test / ext-hostjob passes; on a segfault the step log will showElectron segfaulted at startup (exit 139) on attempt N/3before retrying.🤖 Generated with Claude Code