Skip to content

Validate vendor callback urls, and rename the default-vendor api - #298

Merged
zxgshawn merged 7 commits into
mainfrom
feat/terraform-runtime-vendors
Aug 9, 2026
Merged

Validate vendor callback urls, and rename the default-vendor api#298
zxgshawn merged 7 commits into
mainfrom
feat/terraform-runtime-vendors

Conversation

@zxgshawn

@zxgshawn zxgshawn commented Aug 9, 2026

Copy link
Copy Markdown
Member

Two changes the Terraform provider needs before it can manage runtime vendors.

save used to complete a bare callback_url with /api/runtime/connect. Anything that declares configuration then reads back a value it never wrote and cannot tell that from drift, so the server now validates the field and refuses a URL with no path. The completion moves into the settings form, where a typing affordance belongs.

/api/config/default-vendor becomes /api/config/default-runtime-vendor, with DefaultVendorInput and SettingsView.default_vendor renamed to match. The settings row key stays default_vendor — it is storage no client can observe, and moving it would need a migration whose failure mode is silently resetting every deployment's default.

Spec: docs/superpowers/specs/2026-08-08-terraform-runtime-vendors-design.md

@zxgshawn
zxgshawn merged commit a2e833e into main Aug 9, 2026
13 checks passed
@zxgshawn
zxgshawn deleted the feat/terraform-runtime-vendors branch August 9, 2026 07:21
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