factory-rebless-plan-shapes

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL