-
Notifications
You must be signed in to change notification settings - Fork 2
fix(cli): stop lifecycle tunnel leaks and speed tickets reads #39
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
9 commits
Select commit
Hold shift + click to select a range
378f7ad
fix(cli): stop lifecycle tunnel leaks and speed tickets reads
roodboi a70f1a2
fix(cli): harden lifecycle cleanup and local tickets reads
roodboi 645e370
fix(tickets): preserve projection freshness on reads
roodboi e1f728b
fix(tickets): fail fresh clone reads on remote fetch errors
roodboi 7a21672
Merge branch 'main' into dimitri/fix-lifecycle-and-tickets-speed
roodboi 0ce84f7
Merge branch 'main' into dimitri/fix-lifecycle-and-tickets-speed
roodboi 74bd742
fix(cli): tighten lifecycle shutdown and ticket refresh
roodboi 40fd6f2
test(tickets): cover unreachable remote checkout recovery
roodboi 18904e0
fix(cli): harden lifecycle cleanup and isolate exec tests
roodboi 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.
The new wrapper executes lifecycle processes with
sh -lcin both branches, which turnsshinto a login shell and causes profile files to be sourced before the command runs. On Linux systems where/bin/shisdash, non-POSIX content in~/.profilecan make the shell exit before the lifecycle command starts (I reproduced this with/bin/sh -lc 'echo ok'exiting with profile errors), so lifecycle hooks/tunnels fail to launch. The previous implementation used non-login execution and did not have this startup dependency.Useful? React with 👍 / 👎.