You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Manually verifying CLI error scenarios across all commands is slow and ad-hoc. During PR #468 (CliFatal sentinel work) we hand-rolled a 15-scenario bash sweep to confirm error output and exit codes. We should turn this into a reusable script or test suite so future CLI changes can re-run the matrix in one command.
Goals
Cover every command + every documented error scenario (invalid args, missing flags, bad RPC, no auth, insufficient funds, user cancel, etc.)
Capture stdout, stderr, exit code per scenario
Run without live RPC where possible (use mocks or no-network failure paths)
Clear pass/fail per scenario; easy to add new scenarios
Acceptance criteria
pnpm run smoke (or similar) executes the full matrix
Output format makes it easy to spot regressions (snapshot diff or labeled per-scenario block)
Description
Manually verifying CLI error scenarios across all commands is slow and ad-hoc. During PR #468 (CliFatal sentinel work) we hand-rolled a 15-scenario bash sweep to confirm error output and exit codes. We should turn this into a reusable script or test suite so future CLI changes can re-run the matrix in one command.
Goals
Acceptance criteria
pnpm run smoke(or similar) executes the full matrixpayments setup/fund/deposit/withdraw/status,add,import,data-set show/list/terminate,provider list/show/ping,rmCONTRIBUTING.mddocuments how to run + add scenariosNotes
src/test/mocks/synapse-sdk.jswhere mocking is preferable to live RPCtoMatchInlineSnapshot)