Skip to content

feat: parameterize deployed resource names with name_prefix - #90

Merged
IceRhymers merged 1 commit into
masterfrom
feature/name-prefix-parameterization
Mar 31, 2026
Merged

feat: parameterize deployed resource names with name_prefix#90
IceRhymers merged 1 commit into
masterfrom
feature/name-prefix-parameterization

Conversation

@IceRhymers

Copy link
Copy Markdown
Owner

Summary

Closes #89

  • Adds a name_prefix bundle variable to databricks.yml (default: "claw") so each deployer gets unique resource names in shared workspaces
  • Parameterizes the name field of the app (${var.name_prefix}-claw), database instance (${var.name_prefix}-claw-db), and volume (${var.name_prefix}_claw_memory) resources
  • Adds .databricks/ to .gitignore for local bundle overrides
  • Updates scripts/deploy.sh to resolve the app name dynamically from the bundle instead of hardcoding claw-app
  • Adds a Personalization phase (Phase 2) to the initial-setup skill that auto-detects the user, checks for collisions, and writes .databricks/bundle/dev.yml
  • Documents the --var name_prefix=<value> override in app.example.yml
  • Adds tests for the new variable, parameterized resource names, and .databricks/ in .gitignore

Test plan

  • All 314 existing tests pass
  • Deploy with default prefix (claw) and verify resource names: claw-claw, claw-claw-db, claw_claw_memory
  • Deploy with custom prefix (--var name_prefix=tanner) and verify: tanner-claw, tanner-claw-db, tanner_claw_memory
  • Run /initial-setup and verify Phase 2 writes .databricks/bundle/dev.yml correctly
  • Verify scripts/deploy.sh app-deploy and stop resolve the app name dynamically

…riable

Add a name_prefix variable to databricks.yml so each deployer gets unique
resource names and avoids collisions in shared workspaces. The app, database
instance, and volume name fields now use ${var.name_prefix}. The initial-setup
skill gains a Personalization phase that auto-detects the user and writes a
local .databricks/bundle/dev.yml override. deploy.sh resolves the app name
dynamically from the bundle.

Closes #89

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@IceRhymers
IceRhymers merged commit eba4a4a into master Mar 31, 2026
1 check passed
@IceRhymers
IceRhymers deleted the feature/name-prefix-parameterization branch April 3, 2026 14:37
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.

feat: parameterize deployed resource names with name_prefix bundle variable

1 participant