Skip to content

Docs/native imp exp - #922

Merged
nikolasburk merged 5 commits into
masterfrom
docs/native-imp-exp
Nov 12, 2019
Merged

Docs/native imp exp#922
nikolasburk merged 5 commits into
masterfrom
docs/native-imp-exp

Conversation

@nikolasburk

Copy link
Copy Markdown
Contributor

No description provided.

@nikolasburk
nikolasburk merged commit 499bae8 into master Nov 12, 2019
@nikolasburk
nikolasburk deleted the docs/native-imp-exp branch November 12, 2019 14:34
tensordreams pushed a commit that referenced this pull request Jul 28, 2026
…ing migrate (PN-CLI-4003) (#922)

## Linked issue

n/a — small change (gotcha record). Linear: to be filed in
[`pn-gotchas`](https://linear.app/prisma-company/project/pn-gotchas-a6f6f5157a5c/overview);
this PR was authored in a session without Linear access, so the entry's
**Filed upstream** line says "pending" — please replace it with the
ticket id when filing.

## Summary

Bootstraps the repo's `gotchas.md` (per `.claude/skills/record-gotchas`)
and records one consumer-perspective gotcha: the migration-graph demo
fixtures under `examples/prisma-next-demo/fixtures/` render fine offline
(`migration graph/list/show/check`) but fail any live `migrate` with
**PN-CLI-4003** — their committed `start/end-contract.json` snapshots
predate the namespace-tree serialization format (#894), and only
apply-time code deserializes predecessor contracts. Hit while writing
the public migrations docs (prisma/web#8025); full symptom, cause,
workaround, and repro are in the entry.

## Testing performed

- Repro verified against `main` @ `e7bd0deb8` with a fresh Postgres 17
container: offline graph commands succeed on all seven fixtures;
`migrate --to prod --config fixtures/diamond/...` fails with the quoted
PN-CLI-4003 before any SQL runs.
- Docs-only change; no suites run.

## Skill update

n/a — no user-facing surface changed. (The entry itself is the artifact
the `record-gotchas` skill prescribes.)

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Documentation**
* Expanded the “Gotchas” documentation into a multi-entry page covering
known Prisma Next migration pitfalls.
* Added triage/capture guidance, including routing instructions and a
link to the capture workflow.
* Documented additional failure modes with symptoms, likely causes,
workaround steps, and reproduction guidance (including the existing
`pnpm prisma-next migrate` issue and two newly captured gotchas).
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Søren Bramer Schmidt <sorenbs@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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