Repository navigation
Add MIGRATION_KNOWN_ISSUES.md: consolidated migration gotcha history - #562
Merged
Merged
Conversation
Pulls together every documented migration problem (Fresh/Deno -> TanStack Start, and the @decocms/start -> package-split migration) from CLAUDE.md, skill references, regression tests, and persisted memory into one validation checklist for future site migrations, organized by category with symptom / root cause / source / how-to-validate per item. Co-Authored-By: Claude Sonnet 5 <[email protected]>
…, streaming) Tracks the fast-deploy 3-piece requirement, the loadBlocks() module-scope trap that silently breaks app config post-hydration, bulk static tables (e.g. redirect CSVs) that need to move to a KV point-lookup instead of riding in the bundled decofile, and the KV-cache-storage vs. streaming distinction for large proxy responses -- each with the concrete code location the fix lives in. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Every row now has a "Fix no framework" column, verified against actual git log / regression tests in this repo rather than the problem description alone: a PR/commit reference where a real fix landed, or an explicit stamp that no framework change resolves it (platform limitation, by-design behavior, different repo, or site-code authoring mistake). Also corrects two stale claims found during verification: matchers ARE registered by default already (registerBuiltinMatchers() is called from createSiteSetup()); the pagination-string-coercion fix is PR #394, not #391. And rewrites the bulk-redirect-table entry in the worker memory section - it's no longer a manual per-site script, the framework now natively offloads exact redirect rules to KV (commit 4ea6df7). Co-Authored-By: Claude Sonnet 5 <[email protected]>
1 of 2 tasks
JonasJesus42
added a commit
that referenced
this pull request
Sep 29, 2026
## Summary Replaces `MIGRATION_KNOWN_ISSUES.md` (added in #562, ~2h before this) with a pointer. The content moved to **`decocms/migrations`** as the skill `knowledge/known-issues`, split into one reference per subject and translated to English. ## Why move it It is migration knowledge, and this is the framework repo. The document's own opening describes it as a checklist to walk against each newly migrated store — which only makes sense when there is a "before" and an "after". That is the line between what belongs here and what belongs there. Nothing is lost: verified line for line on the way over — 121 section lines in, 121 out; 115 table lines; 89 status markers, all accounted for. ## Why split it 44.5KB in one file. The generation before it — `gotchas.md` in `.agents/skills/deco-to-tanstack-migration/`, 45 append-only numbered entries, repeating its own numbering twice — is what that becomes if nothing stops it. The 13 subjects it already had as sections are now 13 files, largest 5.9KB, under a CI budget that fails past 15KB. ## Why a pointer instead of a delete The next person to reach for this path needs to land somewhere that tells them where the content went and where to add to it. A 404 just gets the file recreated here — which is how the fork this move ends got started: the same skill exists in this repo and in `decocms/skills`, drifted in opposite directions, each holding content the other lacks. ## Test plan - [x] Content verified present in `decocms/migrations` before this removal — never a window where it lives nowhere - [ ] CI green <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Points `MIGRATION_KNOWN_ISSUES.md` and the `deco-reconcile-snapshot` playbook at `decocms/migrations`, where both moved — as the skill `knowledge/known-issues` and `tools-reconcile-snapshot`, respectively. Both files are replaced with pointers instead of deleted, so the next person lands somewhere that tells them where the content went and where to add to it. A 404 would just get the files recreated here — which is how the previous fork across two repos started. - Migration knowledge is 121 section lines, 115 table lines, and 89 status markers, verified on the way over and split from 44.5KB into 13 files, largest 5.9KB, under the 15KB CI budget. - The `deco-reconcile` CLI stays in `@decocms/blocks-cli` — only the playbook moved. The pointer keeps valid frontmatter so anything loading the skill by name still resolves. - Both pointers carry an explicit "do not re-create this file here — edit it in `decocms/migrations`." <sup>Written for commit 4ee2bae. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/decocms/blocks/pull/582?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. --> --- ## Also: `deco-reconcile-snapshot` The playbook moved to `decocms/migrations` as `tools-reconcile-snapshot`, translated to English. **The `deco-reconcile` CLI stays here** in `@decocms/blocks-cli` — only the procedure for using it moved. Replaced with a pointer that keeps valid frontmatter, so anything loading the skill by name still resolves. --------- Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@decocms/start→ package-split migration) into a single validation checklist:MIGRATION_KNOWN_ISSUES.mdCLAUDE.md,.agents/skills/deco-to-tanstack-migration/references/*,.agents/skills/decocms-v6-to-v7-upgrade/,.cursor/skills/deco-server-functions-invoke/,MIGRATION_TOOLING_PLAN.md, regression tests with historical incident comments, and persisted memory (VTEX creds, Studio/decofile, crypto-key-in-CF-Workers, wrangler bindings, NativeWind/image gotchas)Test plan
Summary by cubic
Adds
MIGRATION_KNOWN_ISSUES.md, a consolidated checklist of every documented migration problem (Fresh/Deno → TanStack Start and the@decocms/start→ package-split migration) to run against every future site migration.Each item carries a framework-fix status — fixed, partial, or no framework fix — stamped against real
git log/regression tests rather than the problem descriptions. Verification also corrected two stale claims (matchers are registered by default already; the pagination-coercion fix is PR #394, not #391) and rewrote the bulk-redirects entry: exact redirect rules are now offloaded to KV natively instead of via a per-site script. A dedicated category covers Cloudflare Worker memory and KV offload, including the fast-deploy three-piece requirement, theloadBlocks()module-scope trap, and streaming large proxy responses.Docs-only change, no build or test impact.
Written for commit 272d8da. Summary will update on new commits.