Skip to content

fix: 9 bugs across 16 command files#2

Closed
JoshSalway wants to merge 4 commits intomainfrom
fix/multiple-small-bugs
Closed

fix: 9 bugs across 16 command files#2
JoshSalway wants to merge 4 commits intomainfrom
fix/multiple-small-bugs

Conversation

@JoshSalway
Copy link
Owner

Summary

Fixes 9 bugs reported in the laravel/cloud-cli issue tracker, affecting 16 command files:

Test plan

  • PHPStan passes with no errors (--memory-limit=512M)
  • All 38 tests pass (31 existing + 7 new)
  • New tests cover: InstanceDelete FAILURE code, AuthToken empty guard, DatabaseDelete exception narrowing, CacheDelete --json, BucketDelete --json, ApplicationUpdate error handling, BackgroundProcessCreate method rename

🤖 Generated with Claude Code

joetannenbaum and others added 4 commits March 16, 2026 14:03
- Fix method typo getWorkerDefult -> getWorkerDefault (laravel#49)
- Fix InstanceDelete returning integer 1 instead of self::FAILURE (laravel#85)
- Fix AuthToken --remove crashing with empty token list (laravel#86)
- Fix DatabaseDelete catching Throwable instead of RequestException (laravel#46)
- Add missing --json option to CacheDelete and BucketDelete (laravel#48)
- Add non-interactive defaults for DomainCreate wildcard and verification (laravel#45)
- Fix DatabaseOpen leaking plaintext credentials to terminal (laravel#83)
- Remove 28 lines of commented-out code in EnvironmentVariables (laravel#84)
- Fix wrong RequestException import (Illuminate vs Saloon) in 7 commands (laravel#50)
- Add error handling for ApplicationUpdate API failures (laravel#51)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Test InstanceDelete returns FAILURE on API error (laravel#85)
- Test AuthToken --remove with empty token list (laravel#86)
- Test DatabaseDelete succeeds without swallowing CommandExitException (laravel#46)
- Test CacheDelete accepts --json option (laravel#48)
- Test BucketDelete accepts --json option (laravel#48)
- Test ApplicationUpdate shows error on API failure (laravel#51)
- Test BackgroundProcessCreate method name is getWorkerDefault (laravel#49)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@JoshSalway
Copy link
Owner Author

All 10 issues already covered by existing upstream PRs: laravel#42, laravel#52, laravel#87, laravel#90, and others.

@JoshSalway JoshSalway closed this Mar 18, 2026
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.

2 participants