You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task 5 tests for the @SQL migrate branch (the verbatim builder + D4 hard-error
production code landed with the suppression rule in 62e77df; @SQL rides the
existing fingerprint/adopt-view/drop pipeline, so there is no new migrate machinery).
- codegen-ts: @SQL on a non-view kind (materializedView) hard-errors at migrate
lowering (D4) — legal-in-vocabulary, but v1 TS lowering is @kind: view only.
- integration-tests (real Postgres): a hand-written @SQL body emits VERBATIM inside
CREATE VIEW + a fingerprint COMMENT stamp; the body actually runs (a seeded
active/archived pair filters correctly); a second migrate is a NO-OP despite the
opaque (columns-unknown) body — the fingerprint matches. Plus the one-time adoption
ceremony: a pre-existing UNSTAMPED view at the @SQL name is BLOCKED pending
allow.adoptView, then `migrate --allow adopt-view` stamps it and it converges.
TS-only (ADR-0015). codegen-ts 8/8 projection tests; view-lifecycle-pg 14/14;
migrate-ts 587 pass; typecheck clean.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NGQ7oSuNcjhsMHWwZzhBwr
0 commit comments