Skip to content

chore(drive): close out stage-as-branch - #49

Merged
wmadden merged 2 commits into
mainfrom
claude/close-out-stage-as-branch
Jul 12, 2026
Merged

chore(drive): close out stage-as-branch#49
wmadden merged 2 commits into
mainfrom
claude/close-out-stage-as-branch

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor

Close-out for the stage-as-branch slice (shipped in #42).

Slice-DoD — verified:

  • prisma-app deploy (default) unchanged — CI E2E green on main.
  • deploy --stage staging stands up an isolated environment (own Branch/compute/Postgres, preview-class config) — proven live on examples/storefront-auth, staging auth.verify(){ok:true}.
  • Re-deploy is a no-op; destroy --stage staging removes the Branch + resources with production untouched; destroy requires an explicit target.

Durable knowledge migrated before deletion:

  • ADR-0023/0024, domains docs (deploy-cli, alchemy-lowering, glossary), and the deploying-prisma-apps skill — already on main via feat: deploy a stage as an isolated Prisma Cloud Branch (ADR-0022/0023) #42.
  • The two platform gotchas hit during the slice added to gotchas.md, matching its format: PRO-214 (branch create has no idempotency) and PRO-215 (project-scoped compute-service create collides with production on main). Both filed in the compute-gotchas Linear project.

Removed: .drive/projects/stage-as-branch/ (spec, plan, design-decisions). No repo references to the path remain (grep-verified).

🤖 Generated with Claude Code

Slice-DoD met and proven live + in CI (isolated staging env, no-op redeploy,
explicit destroy, production untouched). Durable knowledge migrated: ADR-0023/
0024, domains docs, and the deploying-prisma-apps skill are on main; the two
platform gotchas (PRO-214 branch-create idempotency, PRO-215 compute-service
create collision) recorded in gotchas.md. Project dir deleted; no repo
references to it remain.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
The one durable fact from the slice design log that lived only in control.ts
comments: extensions are constructed in the CLI parent before the container
ids exist, so constructors must tolerate their absence — only lowering hooks
may require them. Surfaced by the close-out docs audit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
@wmadden
wmadden merged commit 31f1b33 into main Jul 12, 2026
12 checks passed
@wmadden
wmadden deleted the claude/close-out-stage-as-branch branch July 12, 2026 08:58
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.

2 participants