package provision // Record-write census entries for the sidecar pause (sec-sidecar-create-gate), // layered on dbRegionForward3WriteCensusInventory (main's last at 65ca4aca). // handleAPISidecarCreate gains one early return, refuseSidecarsPaused // (internal/console/sidecarsgate.go), after the shape check and before the // plan cap, the leftover rail and both write arms. Its write is unchanged: // the same CreateSidecarRecord create-only write, or the host-claim create. // No write site is added; the refusal writes nothing. func secSidecarCreateGateWriteCensusInventory() []censusEntry { entries := append([]censusEntry(nil), dbRegionForward3WriteCensusInventory()...) replacements := []censusEntry{ {"internal/console/apisidecars.go", "Server.handleAPISidecarCreate", "record-writer", "key:CreateSidecarRecord", "72f4d44028fbc46ed2ed1adca6154f385b62e143f47e597a49b6e28570b2ddab"}, } for _, r := range replacements { found := false for i, e := range entries { if e.File == r.File && e.Unit == r.Unit { entries[i], found = r, true } } if !found { entries = append(entries, r) } } return entries }