Skip to content

Fix/template chagne instance type#38

Merged
hi-lei merged 4 commits intomainfrom
fix/template-chagne-instance-type
Apr 10, 2026
Merged

Fix/template chagne instance type#38
hi-lei merged 4 commits intomainfrom
fix/template-chagne-instance-type

Conversation

@hi-lei
Copy link
Copy Markdown
Collaborator

@hi-lei hi-lei commented Apr 10, 2026

Description

Type of Change

  • feat: New feature
  • fix: Bug fix
  • refactor: Code refactoring
  • docs: Documentation
  • test: Tests
  • chore: Maintenance
  • ci: CI/CD changes

Checklist

  • I have performed a self-review of my own code
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally (make test)
  • Pre-commit checks pass (make pre-commit)
  • My changes generate no new warnings or errors

Related Issues

Additional Context

Note: Use conventional commit messages (e.g. feat:, fix:, chore:).
The CHANGELOG is auto-generated from conventional commit messages at release time.

hi-lei and others added 4 commits April 10, 2026 10:00
Templates are saved configs — filtering by real-time availability
doesn't make sense. Instance type and location steps now use the
instance-types and locations APIs in template mode, showing all
options. Location is optional in templates (skip = decide at deploy
time). Deploy mode is unchanged.

Also improves UX when deploying from a location-less template: the
wizard now prompts for location instead of silently defaulting to
FIN-01, and shows a clear error when no locations are available.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Better error when template not found: tells user the name is required
and guides to "verda template list" or "--from" picker. Updated help
to document that flags override template values, with examples.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update vm and template CLAUDE.md/README.md to reflect:
- Instance type/location steps are mode-aware (instance-types API
  for templates, availability API for deploy)
- Location is optional in templates
- Flags override template values with --from
- Better error messages for missing templates

Root CLAUDE.md now lists all command directories with their doc
status. AGENTS.md clarifies which commands have per-command docs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hi-lei hi-lei merged commit 604bc9e into main Apr 10, 2026
12 checks passed
@hi-lei hi-lei deleted the fix/template-chagne-instance-type branch April 10, 2026 07:24
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