Repository navigation
Backport the shell test fixes to v4-5-0 #17390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2623fff
Wait for Elsewhen's first save before the smoke test edits shell.json…
emirb 55feba8
Replace the i18n startup test's watched files whole (#16886)
emirb f381fb0
Wait for the input-indicator test's fake Fcitx to finish its exec (#1…
emirb 05d70c0
Keep the agent account test off the network
dhh 064818d
Stop a QML fixture's child processes along with its Quickshell
dhh 083b53e
Stamp the Kimchi test's repeated reply once
dhh fcf4bd8
Stop a crashed QML fixture's children through its process group
dhh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
qml_fixture_cleanupstill skips child cleanup if Quickshell has already crashed, such as after a compositor disconnect. Thekill -0check fails, so the new tree walk never runs. The plugin-registry fixture starts a persistentinotifywait, and its QML cleanup cannot cover crashes. Failed runs can therefore leave background processes behind.Track fixture processes independently of the live parent, using a unique fixture marker or process group, so cleanup also covers crashes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in fcf4bd8. Each fixture's Quickshell now starts with
setsidand leads its own process group. Cleanup (and a second fixture replacing the first) signals that group instead of walking down from a live Quickshell, so children left to init after a crash are still stopped. To check, I SIGKILLed the manifest fixture's Quickshell: itsinotifywaitstayed in the group, and cleanup stopped it. The full suite passes (403/403) with noinotifywaitleft behind.