Repository navigation
Conversation
Regression test report ✅Commit: Selected 1 changed tests (limit=20, 0 not selected) 1 tests: regression=1 unreleased=0 coverage=0 failing=0
TestAccept/cmd/sandbox/retired-key-commands: branch ✅ | main (0e854af) ❌ | latest (v1.28.0) ❌main (0e854af): latest (v1.28.0): |
There was a problem hiding this comment.
Automated review at ff7162a. Each finding was verified against the code.
No blocking issues found. 3 non-blocking comment(s) below.
This PR adds hidden sandbox register and sandbox ssh-key stubs. They return migration errors for the old invocations, including the old flags, and stay out of help and completion. The behavior is correct and the acceptance test covers it well. What's left is test cleanup: the new unit test file mostly repeats the acceptance script, one assertion in it can never fail, and one completion call in the script is missing trace.
|
Heads-up: #7975 removed the To fix: use |
|
Fixed in f2d4396. Both exit-status checks now use |
Changes
Retired
sandbox registerandsandbox ssh-keyinvocations now return migration errors, including when passed legacy flags. Hidden handlers direct users tosandbox ssh/ssh-setupfor connections and the documented generic API commands for deliberate legacy key revocation. They perform no authentication, API calls, or SSH file changes and stay out of normal help and completion.Why
After the registration commands were removed, old scripts received generic unknown-command or unknown-flag errors without instructions for migrating.
Tests
All 31 sandbox acceptance cases and the sandbox/command unit tests pass, including legacy arguments, nonzero exits, a fresh home without credentials, unchanged existing SSH files, no HTTP requests, and hidden help/completion. Supported SSH help is unchanged. Scoped formatting/lint, whitespace, and changelog checks pass. Local Isaac review completed; its help and completion observations were fixed and tested.
Ready for review; merging is on hold.