Repository navigation
fix: name the package to install when ss or ps is missing - #84
Merged
Merged
Conversation
Owner
Author
|
Written by Claude (AI assistant) on behalf of @OhadC. Review by a separate agent: acceptance criteria of #78 met, nothing blocking. No change made after review.
|
# Conflicts: # packages/leeway/test/cli-list-kill.test.ts
4 tasks
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.
Summary
README Limits gains one bullet: on Linux,
leeway list,leeway killandleeway releaseneedss(iproute2);listandkillneedps(procps; BusyBoxpswon't do).The ticket says only
listandkillneedss.releaseneeds it too: it lists the orphans it leaves behind. A claim (env,move,leeway <command>) still works without either tool.Evidence
ss):leeway list->leeway: ss failed: spawnSync ss ENOENT; withoutps:leeway: ps failed: spawnSync ps ENOENT. The new Linux CLI tests failed with exactly these.After:
leeway: install iproute2 for ss/leeway: install procps for ps, exit 1, for bothlistandkill;leeway envstill exits 0.node:22-alpine(ps: unrecognized option: w+ BusyBox usage). Also checked by hand innode:22-alpinewithiproute2added and a listener in the range:listandkillboth printleeway: install procps for ps.pnpm verifyandpnpm test:linuxgreen.Merge Danger
Door: two-way
Blast Radius: small
Only the error text changes, and only for scans that already fail.
leeway kill <orphan port>withoutpsreports the procps line per pid on stdout, not as one stderr line.Closes #78