Prompt for template provider env config #1846

Merged
hongming merged 1 commits from fix/seo-template-provider-env-prompt into main 2026-05-25 13:50:30 +00:00
Owner

Adds optional template env prompting and threads runtime_config.recommended_env from workspace-server /templates into Canvas deploy preflight. The deploy modal now opens for optional env prompts, preserves required provider/model selection, and lets optional secrets be saved without blocking Deploy.

Verification:

  • canvas: npm test -- --run src/lib/tests/deploy-preflight.test.ts src/hooks/tests/useTemplateDeploy.test.tsx src/components/tests/MissingKeysModal.component.test.tsx
  • canvas: npm run lint -- --quiet
  • workspace-server: go test ./internal/handlers -run 'TestTemplatesList_RuntimeAndModelsRegistry'
  • workspace-server: go test ./internal/handlers
Adds optional template env prompting and threads runtime_config.recommended_env from workspace-server /templates into Canvas deploy preflight. The deploy modal now opens for optional env prompts, preserves required provider/model selection, and lets optional secrets be saved without blocking Deploy. Verification: - canvas: npm test -- --run src/lib/__tests__/deploy-preflight.test.ts src/hooks/__tests__/useTemplateDeploy.test.tsx src/components/__tests__/MissingKeysModal.component.test.tsx - canvas: npm run lint -- --quiet - workspace-server: go test ./internal/handlers -run 'TestTemplatesList_RuntimeAndModelsRegistry' - workspace-server: go test ./internal/handlers
hongming added 1 commit 2026-05-25 13:45:40 +00:00
Prompt for template provider env config
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 Chat / detect-changes (pull_request) Waiting to run
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Waiting to run
Handlers Postgres Integration / detect-changes (pull_request) Waiting to run
Harness Replays / detect-changes (pull_request) Waiting to run
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 / all-items-acked (pull_request) Waiting to run
sop-checklist / review-refire (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 10s
CI / all-required (pull_request) Failing after 40m22s
CI / Platform (Go) (pull_request) Has been skipped
CI / Canvas (Next.js) (pull_request) Has been skipped
CI / Shellcheck (E2E scripts) (pull_request) Has been skipped
CI / Canvas Deploy Reminder (pull_request) Has been skipped
CI / Detect changes (pull_request) Has been cancelled
CI / Python Lint & Test (pull_request) Has been cancelled
audit-force-merge / audit (pull_request) Successful in 10s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Has been cancelled
E2E Chat / E2E Chat (pull_request) Has been cancelled
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Has been cancelled
Harness Replays / Harness Replays (pull_request) Has been cancelled
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Has been cancelled
5f9155a1bd
hongming merged commit 0c15480c50 into main 2026-05-25 13:50:30 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#1846