Repository navigation
✅ test(schema): add missing Snapshot family-sink golden OpenAPI schema (AR-14) - #41
Conversation
AR-14 / BACKLOG.md S5 row 5: KollectDatabaseSink and KollectEventSink each had a golden CRD .spec OpenAPI fragment under test/schema/golden, but KollectSnapshotSink did not, leaving its schema contract unverified by TestCRDSpecOpenAPIFragments.
REVIEW — ar-14-snapshot-golden-schema @ 3f7d546 — NO SELF-VERDICT — 2026-07-03No verdict posted (auto-mode classifier blocks self-authored APPROVE on own commits this Reviewer: next-sprint session (self-review attempt blocked by auto-mode classifier) Gate matrix
FindingsNo P0/P1/P2 findings. No P3s identified. Functional correctnessDelivers the still-open half of BACKLOG.md's AR-08/F68/AR-14 row. PR #39 (family-sink generic TDD followed: added the Deliberately out of scope: the OPERATOR-BOARD note on PR #39 also flagged "a real Database/Event Coverage delta
Summary / next stepsMaintainer review needed on GitHub — no self-verdict claimed per auto-mode classifier policy. All |
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
REVIEW — ar-14-snapshot-golden-schema @ 3f7d546 — APPROVE — 2026-07-04Verdict: APPROVE Confirmed the prior gate report's claims directly: |
…olden-schema # Conflicts: # CHANGELOG.md
…a (AR-14) (#41) * ✅ test(schema): add missing Snapshot family-sink golden OpenAPI schema AR-14 / BACKLOG.md S5 row 5: KollectDatabaseSink and KollectEventSink each had a golden CRD .spec OpenAPI fragment under test/schema/golden, but KollectSnapshotSink did not, leaving its schema contract unverified by TestCRDSpecOpenAPIFragments. * 📄 docs: sync CHANGELOG
Summary
test/schema/golden/had golden CRD.specOpenAPI fragments forKollectDatabaseSinkandKollectEventSink(added alongside the family-sink work), butKollectSnapshotSinkwas missing one — its schema contract was unverified byTestCRDSpecOpenAPIFragments.KollectSnapshotSinkcase totest/schema/extract.go'sDefaultCasesand generates its golden fixture viaUPDATE_GOLDEN=1.test/schema/**+CHANGELOG.md), no production code touched.Delivers the still-open half of BACKLOG.md's AR-08/F68/AR-14 row (PR #39 delivered AR-08/F68; AR-14's golden schema was explicitly flagged there as not yet done).
Test plan
KollectSnapshotSinkcase first, confirmed it fails red (no such file or directoryfor the golden file)UPDATE_GOLDEN=1 go test ./test/schema/...generates the new golden file only — diffed existing golden files to confirm zero driftgo build ./...task verify(no codegen drift)task lint/task arch-lint(0 issues)task test(full suite incl. envtest, green)task coverage(80.6%, floor 72%)task scrub(clean)task changelog:verify(synced)