Skip to content

Section 6 — Typed provision wiring (Tasks 29–31, 30b) #294

Description

@aram356

Part of #288 (epic). Umbrella PR: #287.

Plan reference

docs/superpowers/plans/2026-06-27-provision-local.md — Section 6.

Tasks

  • Task 29: Add pub fn run_provision_typed<C> export to crates/edgezero-cli/src/lib.rs; full body with cloud short-circuit, base-preflight gates (capability + handler paths), three-step typed validation via run_typed_preflight, shared staging for dry-run
  • Task 30: Update scaffold template main.rs.hbs:98Cmd::Provision(args) => edgezero_cli::run_provision_typed::<{{NameUpperCamel}}Config>(&args)
  • Task 30b: Update in-tree examples/app-demo/crates/app-demo-cli/src/main.rs:98 to call run_provision_typed (mirror of Task 30; smokes warm up via app-demo-cli)
  • Task 31: edgezero new generator loops run_provision over every selected adapter (untyped — scaffolded #[secret] fields commented out)

Dependencies

Sections 1, 2, 3, 4, 5.

CI

All five gates must pass. After Task 30b, smoke_test_secrets.sh spin must find SPIN_VARIABLE_DEMO_API_TOKEN= in the post-warmup .env.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions