Context
W-7 of the IaC conformance plan (PR #535) introduced the conformance smoke gate. Plan literal §T7.13 specified doctl compute droplet list --tag-name ... | xargs doctl compute droplet delete -f for outer-job cleanup.
Workspace policy forbids doctl (full-wfctl-dogfooding rule). The wfctl infra cleanup --tag <name> subcommand does not yet exist. Smoke job currently logs cleanup intent and falls through to T7.14's hourly leak scrubber.
Requested
Implement wfctl infra cleanup --tag <name> that:
- Lists provisioned cloud resources matching the given tag across all loaded providers.
- Deletes them (using each provider's resource-driver Delete path; honors --dry-run flag).
- Returns non-zero exit on partial failure with structured stdout summary.
Once implemented:
- Update
.github/workflows/conformance-smoke.yml:106-118 to replace the stub with wfctl infra cleanup --tag conformance-pr-\${PR_NUMBER}.
- Update
docs/conformance-runbook.md "Known follow-ups" section to reflect closure.
Reference
Context
W-7 of the IaC conformance plan (PR #535) introduced the conformance smoke gate. Plan literal §T7.13 specified
doctl compute droplet list --tag-name ... | xargs doctl compute droplet delete -ffor outer-job cleanup.Workspace policy forbids
doctl(full-wfctl-dogfooding rule). Thewfctl infra cleanup --tag <name>subcommand does not yet exist. Smoke job currently logs cleanup intent and falls through to T7.14's hourly leak scrubber.Requested
Implement
wfctl infra cleanup --tag <name>that:Once implemented:
.github/workflows/conformance-smoke.yml:106-118to replace the stub withwfctl infra cleanup --tag conformance-pr-\${PR_NUMBER}.docs/conformance-runbook.md"Known follow-ups" section to reflect closure.Reference
docs/plans/2026-05-03-iac-conformance-and-replace.md§T7.13