Repository navigation
fix(scripts): make the integration runner die by SIGINT and leave nothing after a signal #592
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 all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
2a4c214
fix(runner): die by SIGINT on Ctrl-C even when the cleanup fails
ThomasK33 732c9aa
fix(scripts): start no Neovim and leave no temp item after a signal i…
ThomasK33 ae9f102
chore: merge origin/main into fix/runner-sigint-race
ThomasK33 c4e00f8
docs(scripts): correct runner comments on temp folder name and test s…
ThomasK33 0263710
fix(scripts): keep the runner's start-up guard until its folder is go…
ThomasK33 dbefc8b
chore: merge origin/main into fix/runner-sigint-race
ThomasK33 0876d3c
test(scripts): skip the runner's SIGHUP test where SIGHUP is ignored
ThomasK33 be6aad0
fix(scripts): test every guard of the runner's start-up and give each…
ThomasK33 7abe910
chore: merge origin/main into fix/runner-sigint-race
ThomasK33 fcce6f6
fix(scripts): remove the renamed folder too when a second signal stop…
ThomasK33 ae30aa7
Merge remote-tracking branch 'origin/main' into fix/runner-sigint-race
ThomasK33 53e5166
test(scripts): cover the runner's cleanup when the rename of its fold…
ThomasK33 dd55cff
fix(scripts): ignore INT, TERM and HUP while the runner's cleanup runs
ThomasK33 33bab6f
test(scripts): end the runner spec's stub waits after 20 seconds
ThomasK33 1baeed4
Merge remote-tracking branch 'origin/main' into fix/runner-sigint-race
ThomasK33 3ee7698
Merge remote-tracking branch 'origin/main' into fix/runner-sigint-race
ThomasK33 a6fb25b
fix(scripts): move the runner's folder into a fresh grave and keep so…
ThomasK33 a395873
docs(scripts): describe the grave folder and the /tmp work folder of …
ThomasK33 fb426bb
fix(scripts): remove the old path of the work folder after the kill
ThomasK33 b2ced6f
refactor(scripts): drop the redundant rm of the moved folder in the c…
ThomasK33 cde2e40
Merge remote-tracking branch 'origin/main' into fix/runner-sigint-race
ThomasK33 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
Oops, something went wrong.
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.
When
TMPDIRcontains multibyte characters under a UTF-8 locale, Bash's${#work_dir}counts characters while the Unix-socket limit described here is measured in bytes. For example, a path containing fiftyécharacters can remain below 80 characters while already exceeding 100 bytes, so it bypasses the/tmpfallback and the appended Neovim socket name exceeds the limit. This leaves the exact socket-truncation and cleanup leak that the fallback is intended to prevent; base the threshold on the encoded byte length instead.Useful? React with 👍 / 👎.