Support explicit platform provider labels #1847

Merged
hongming merged 1 commits from fix/platform-us-default-provider into main 2026-05-25 14:26:37 +00:00
Owner

Allows template models to declare explicit provider metadata, preserving it through /templates and using it in the provider/model selector before slug heuristics. Adds Platform label/tooltip for the platform-managed envless provider option. The provider id is platform, so billing/proxy routing remains owned by the platform billing SSOT rather than being encoded in template data.

Verification:

  • canvas: npm test -- --run src/components/tests/ProviderModelSelector.test.tsx src/components/tests/MissingKeysModal.component.test.tsx src/hooks/tests/useTemplateDeploy.test.tsx src/lib/tests/deploy-preflight.test.ts
  • canvas: npm run lint -- --quiet
  • workspace-server: go test ./internal/handlers -run 'TestTemplatesList_RuntimeAndModelsRegistry'
Allows template models to declare explicit provider metadata, preserving it through /templates and using it in the provider/model selector before slug heuristics. Adds Platform label/tooltip for the platform-managed envless provider option. The provider id is platform, so billing/proxy routing remains owned by the platform billing SSOT rather than being encoded in template data. Verification: - canvas: npm test -- --run src/components/__tests__/ProviderModelSelector.test.tsx src/components/__tests__/MissingKeysModal.component.test.tsx src/hooks/__tests__/useTemplateDeploy.test.tsx src/lib/__tests__/deploy-preflight.test.ts - canvas: npm run lint -- --quiet - workspace-server: go test ./internal/handlers -run 'TestTemplatesList_RuntimeAndModelsRegistry'
hongming added 1 commit 2026-05-25 14:13:50 +00:00
Support explicit platform provider labels
Block internal-flavored paths / Block forbidden paths (pull_request) Waiting to run
ci-arm64-advisory / fast-checks (pull_request) Waiting to run
E2E API Smoke Test / detect-changes (pull_request) Waiting to run
E2E API Smoke Test / E2E API Smoke Test (pull_request) Blocked by required conditions
E2E Chat / detect-changes (pull_request) Waiting to run
E2E Chat / E2E Chat (pull_request) Blocked by required conditions
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Waiting to run
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Blocked by required conditions
Handlers Postgres Integration / detect-changes (pull_request) Waiting to run
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Blocked by required conditions
Harness Replays / detect-changes (pull_request) Waiting to run
Harness Replays / Harness Replays (pull_request) Blocked by required conditions
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Waiting to run
Lint no tenant GITEA or GITHUB token write / Scan for repo-host token write into tenant workspace surface (pull_request) Waiting to run
lint-required-no-paths / lint-required-no-paths (pull_request) Waiting to run
Secret scan / Scan diff for credential-shaped strings (pull_request) Waiting to run
gate-check-v3 / gate-check (pull_request) Waiting to run
qa-review / approved (pull_request) Waiting to run
security-review / approved (pull_request) Waiting to run
sop-checklist / review-refire (pull_request) Waiting to run
sop-checklist / all-items-acked (pull_request) Waiting to run
sop-tier-check / tier-check (pull_request) Waiting to run
Lint shellcheck (arm64 pilot) / shellcheck-arm64 (pilot) (pull_request) Successful in 9s
CI / all-required (pull_request) Failing after 40m21s
CI / Shellcheck (E2E scripts) (pull_request) Has been skipped
CI / Platform (Go) (pull_request) Has been skipped
CI / Canvas (Next.js) (pull_request) Has been skipped
CI / Detect changes (pull_request) Has been cancelled
CI / Canvas Deploy Reminder (pull_request) Has been skipped
CI / Python Lint & Test (pull_request) Has been cancelled
16a231738c
hongming-codex-laptop force-pushed fix/platform-us-default-provider from 16a231738c to 6dda49e90d 2026-05-25 14:17:54 +00:00 Compare
hongming merged commit 2570e22ecf into main 2026-05-25 14:26:37 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#1847