Repository navigation
test(desktop): AppImage shim test's fake mounter traps signals before announcing the mount - #43707
Merged
Merged
Conversation
… announcing the mount The fake mounter printed its mount path before installing its WINCH/TERM/HUP traps. When it was descheduled in that window, the launcher could start the server and the test's SIGWINCH probe could land while WINCH was still ignored, so neither "mounted" nor "unmounted" was reported and the test hung until its 15s timeout. Install the traps first, as a real runtime is ready to unmount by the time it reports the mount. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 AppImage launcher test sometimes hung until its 15s timeout in CI. Its fake mounter announced the mount before installing its signal traps, so the test's SIGWINCH probe could arrive first and be silently ignored. The fake now installs its traps before announcing the mount.
Reproduction on main
Run the failing check on main.
Evidence
The checks on this pull request are the proof: it changes what main's checks run, not what the app does.
Tests
vp test run src/app/DesktopCliShim.test.ts -t "keeps the AppImage"×15 on unchanged origin/main: 15 passed (no reproduction)vp test run src/app/DesktopCliShim.test.ts(whole file, with the fix) ×25 in a row under 8 busy-loop CPU hogs: 25 passed, 0 failedvp run check:changed: format, lint, knip, typecheck, test all passWho did the work
Run by the t3code factory in T3 Code.