Skip to content

test(cli): cover every packed command in the release smoke - #29

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1764978443-cli-release-smoke
Open

devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1764978443-cli-release-smoke

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

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, and connect 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 failed

  • pnpm --filter gateweave release --dry-run — passed; packed 20 files, 72,185 bytes, SHA-256 27a22f6e6eb404ca0a9cba3b9d061904215012998d206df65ecc11e26fc004bb; no upload

  • git diff --check — passed

  • pnpm verify passes

  • Tests cover the change (every bug fix has a test that fails without it)

Safety

  • Nothing is created or changed in a Cloudflare account before it is shown and confirmed
  • No secret reaches the screen, a log or the working directory

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]

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.
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant