Skip to content

feat(workers): simplify project resource lifecycle - #20

Merged
dxiongya merged 1 commit into
devfrom
integration/workers-native-bundle-dev
Sep 17, 2026
Merged

dxiongya merged 1 commit into
devfrom
integration/workers-native-bundle-dev

Conversation

@dxiongya

Copy link
Copy Markdown
Collaborator

Existing projects and managed resources previously had overlapping low-level commands, unclear local/live ownership, and a production flow that could require manual resource creation. This change gives React/Vite/Vue/static Next projects a focused initializer and makes xapi.worker.json the explicit desired state for resource reconciliation.

Resource changes now follow one workflow: add/update, plan, push or promote, pull for adoption, remove to preserve live data, and destroy for explicit deletion. Production promotion performs a complete preflight, creates missing declared resources only after confirmation, and blocks before writes on budgets, Secrets, incompatible bindings, or undeclared production resources.

Validation:

  • bun install --frozen-lockfile
  • bun run typecheck
  • bun run build
  • bun run test (466 passed)
  • npm pack --dry-run --ignore-scripts

@dxiongya
dxiongya merged commit 0c3af3f into dev Sep 17, 2026
1 check passed
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