feat(api): give a Release a merge train to record #2009
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/release-integrate-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
R2 — API only, nothing reads it yet, behaviour unchanged.
spec.integrate (manual intake) + spec.integrateAllGreen (automatic), mutually exclusive and frozen once aimed. status.integration records the train as EVIDENCE — a typed skip reason means you can answer why is this change not in this release from the CR alone.
integrationMode goes under release, NOT as a third MergeStyle value (render.go derives FFMergeOnly from MergeStyle alone).
The envtests caught a real bug: both freeze rules were field-level, and omitempty removes the key when cleared — so a field-level rule on an absent field never runs, and flipping integrateAllGreen true->false was admitted by the rule written to refuse it. Moved to spec level where has() sees the absence.
128/128 guards, 14/14 packages, 123 envtest specs.
73a18d8bac3cc0aa7aea