Skip to content

fix: review corrections — hostname passthrough, efficient domain fetch, mode validation, test gap - #60

Merged
mexcool merged 1 commit into
mainfrom
fix/review-corrections
Mar 26, 2026
Merged

fix: review corrections — hostname passthrough, efficient domain fetch, mode validation, test gap#60
mexcool merged 1 commit into
mainfrom
fix/review-corrections

Conversation

@mexcool

@mexcool mexcool commented Mar 26, 2026

Copy link
Copy Markdown
Owner

Fixes found during code review of the 7 feature PRs

  1. Bug fix: cmd/alias/create.goGetAliasOptions("") now passes createHostname so suffix suggestions are tailored when --hostname is used with custom alias creation
  2. Code quality: cmd/domain/edit.go — replaced ListCustomDomains() + linear scan with direct GetCustomDomain(id) call for JSON output after edit
  3. UX: cmd/alias/create.go--mode now errors if used without --random instead of being silently ignored
  4. Test gap: Added TestClient_CreateRandomAlias_WithHostname to verify hostname query parameter
  5. Chore: Added .claude/settings.local.json to .gitignore

…edit, validate --mode requires --random, add hostname test
@mexcool
mexcool merged commit 3a608eb into main Mar 26, 2026
1 check passed
@mexcool
mexcool deleted the fix/review-corrections branch March 26, 2026 21:35
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