Skip to content

Fix Linux AppImage runtime mount lifecycle - #2491

Merged
SawyerHood merged 1 commit into
mainfrom
fix/linux-appimage-child-lifecycle-replacement
Aug 26, 2026
Merged

Fix Linux AppImage runtime mount lifecycle#2491
SawyerHood merged 1 commit into
mainfrom
fix/linux-appimage-child-lifecycle-replacement

Conversation

@SawyerHood

Copy link
Copy Markdown
Collaborator

Human comments

This pull request replaces #1781 because the source branch for that pull request was deleted.

The replacement preserves the original work and gives co-author credit to @salemsayed.

What was wrong

The packaged desktop started the long-lived bb-app bridge through an executable inside the desktop AppImage mount. The bridge and its descendants could continue after that mount disappeared. These processes could then fail with SIGBUS or BUS_ADRERR errors.

What changed

  • Start the packaged Linux runtime through the outer AppImage.
  • Give the owned runtime an independent FUSE mount.
  • Resolve the bridge path inside the new runtime mount.
  • Keep the AppImage supervisor as the process-group leader until all descendants exit.
  • Keep the original bridge path in the command line for stale-process verification.
  • Add an AppImage lifecycle smoke test to the Linux build and release jobs.

This change does not alter the host daemon protocol.

How you verified

Replaces #1781.

AGENT GENERATED

Co-authored-by: Salem Sayed <salem.sayed@gmail.com>
@SawyerHood
SawyerHood merged commit a60d3f1 into main Aug 26, 2026
24 of 25 checks passed
@SawyerHood
SawyerHood deleted the fix/linux-appimage-child-lifecycle-replacement branch August 26, 2026 18:40
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