Documentation
¶
Overview ¶
Command factory-rebless-plan-shapes re-derives the PLAN SHAPE and dedup key of every committed RFC-201 factory scenario and rewrites the ones that moved.
This is the RFC-201 §5.3 re-bless restricted to the header fields a planner change can legitimately move. Nothing else is touched: the candidate, the four renderings, the schema, the setup and the frozen rows are recomputed and compared, and any difference in them is an error rather than something to write down — those are oracle OUTPUT, and a planner change that alters them is a bug report, not a re-bless.
go run ./cmd/factory-rebless-plan-shapes \ -corpus pkg/relational/conformance/factorycorpus/testdata \ -census pkg/relational/conformance/factorycorpus/census_baseline.json
Exit codes: 0 = nothing moved or everything moved cleanly; 1 = a scenario changed in a way a re-bless may not absorb; 2 = infra failure.