Repository navigation
fix(linux): release each helper command's Process after it exits - #64
Merged
melonamin merged 1 commit intoNov 25, 2026
Merged
Conversation
- Wait for each helper `Process` to exit, releasing Foundation’s retained run-loop source. - Skip reading empty output files, avoiding swift-foundation’s 4 KiB empty-file leak. - Add an AT-SPI memory scenario covering 400 rounds of tree, session text, and surface cursor polling; require heap growth under 1 MiB. - Input reports 14,020 KiB growth unfixed, 3,256 KiB with the `Process` fix alone, and 0 KiB with both fixes. Claude-Session: https://claude.ai/code/session_017SbYQpnQYu5ebYYcUvPRSG
Owner
|
Thanks for tracking down both leaks and adding the Live-mode regression scenario. Tested this with #63 integrated on Swift 6.3.2: all 637 Linux package tests passed, and the real GTK/zmx memory scenario completed 400 tree/text/cursor polling rounds with 0 KiB heap growth. Waiting for the remaining CI checks before merging. |
Owner
|
Full validation is green: 6,895 core tests, 637 Linux package tests, all 78 GTK scenarios, Debug and Release builds, and the required bundled-zmx/fish server lifecycle gate. The new memory scenario reported 0 KiB growth over 400 polling rounds both locally and in CI. Tested locally with #63 integrated; merging that tested integration now. |
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.
Processto exit, releasing Foundation’s retained run-loop source.Processfix alone, and 0 KiB with both fixes.Claude-Session: https://claude.ai/code/session_017SbYQpnQYu5ebYYcUvPRSG