Repository navigation
test(cli): cover every packed command in the release smoke - #29
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
The packed-tarball rehearsal already ran some command help, but doctor track, doctor id and update id were not covered. Keep the command matrix explicit and make the smoke prove help is written only to stderr with the exact usage line, while the invalid-option answer stays structured JSON on stdout.
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
This branch has not been deployed
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.
What and why
Extends the packed-tarball release smoke for WEB-75 so it exercises every shipped command's help:
deploy track,deploy id,doctor track,doctor id,update track,update id, andconnect id track.The command matrix is explicit and test-pinned. The smoke now also proves that command help exits successfully, writes nothing to stdout, and starts stderr with the exact command-specific usage line. The invalid-option probe still requires exit 2, empty stderr, and a structured
{ ok: false, code: "usage" }JSON answer on stdout.This closes the release-validation gap found during the 0.2.0 review without changing CLI behavior, release contents, deployment behavior or Cloudflare writes.
How it was tested
pnpm verify— passed; 350 tests, 0 failedpnpm --filter gateweave release --dry-run— passed; packed 20 files, 72,185 bytes, SHA-25627a22f6e6eb404ca0a9cba3b9d061904215012998d206df65ecc11e26fc004bb; no uploadgit diff --check— passedpnpm verifypassesTests cover the change (every bug fix has a test that fails without it)
Safety
Link to Devin session: https://app.devin.ai/sessions/d1893600300c445ba5dc12c870373e42
Open in Devin Desktop: https://app.devin.ai/desktop/session/d1893600300c445ba5dc12c870373e42?variant=devin
Requested by: @[REDACTED SECRET]