Skip to content

fix: show upgrade message when backend resources don't exist#21

Open
wdvr wants to merge 1 commit into
mainfrom
fix/cli-upgrade-message
Open

fix: show upgrade message when backend resources don't exist#21
wdvr wants to merge 1 commit into
mainfrom
fix/cli-upgrade-message

Conversation

@wdvr
Copy link
Copy Markdown
Owner

@wdvr wdvr commented Jan 28, 2026

Summary

  • When SQS queue or DynamoDB tables don't exist (e.g., after infrastructure changes in test environment), show a friendly upgrade message instead of confusing AWS errors
  • Bumps CLI version to 0.3.6 and MIN_CLI_VERSION to 0.3.6

Changes

  • config.py: Add CLI_UPGRADE_MESSAGE constant, catch NonExistentQueue error
  • auth.py: Let upgrade messages pass through without "AWS authentication failed:" prefix
  • reservations.py: Catch ResourceNotFoundException for availability table
  • pyproject.toml: Bump version to 0.3.6
  • lambda.tf: Bump LAMBDA_VERSION and MIN_CLI_VERSION to 0.3.6

Test plan

  • Point CLI to test environment (us-west-1) where SQS queue doesn't exist
  • Run gpu-dev avail and verify friendly upgrade message is shown
  • Verify prod environment still works normally

🤖 Generated with Claude Code

When SQS queue or DynamoDB tables don't exist (e.g., after infrastructure
changes in test environment), show a friendly upgrade message instead of
confusing AWS errors.

Changes:
- config.py: Add CLI_UPGRADE_MESSAGE, catch NonExistentQueue error
- auth.py: Let upgrade messages pass through without re-wrapping
- reservations.py: Catch ResourceNotFoundException for availability table
- Bump version to 0.3.6 and MIN_CLI_VERSION to 0.3.6

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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