Repository navigation
♻️ refactor(sink/bigquery): typed sentinel errors for Export failure stages (F66) - #44
Conversation
Gate matrix (chore/typed-errors-bigquery-f66 @ 67d1ad9)
No self-verdict posted (auto-mode classifier blocks self-authored APPROVE on own commits). Findings: none — pure typed-error refactor, |
…stages (F66) Replaces string-matched err.Error() assertions in tests with errors.Is against new ErrDecodePayloadFailed/ErrMergeUpsertFailed/ErrDeleteStaleFailed/ ErrEmulatorInsertFailed sentinels, wrapped through the existing classifyError path. Error() text unchanged byte-for-byte.
67d1ad9 to
4d5b2dc
Compare
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
REVIEW — /kollect-mr-reviewVerdict: APPROVE Scope: Typed sentinel errors for BigQuery Export failure stages (F66) — decode-payload, merge-upsert, delete-stale, emulator-insert. Gate matrix: GitHub CI green on head
Non-blocking: Merging via merge-commit. |
♻️ refactor(sink/bigquery): typed sentinel errors for Export failure stages (F66)
Summary
err.Error()assertions ininternal/sink/bigquerytests witherrors.Isagainst new sentinel errors (ErrDecodePayloadFailed,ErrMergeUpsertFailed,ErrDeleteStaleFailed,ErrEmulatorInsertFailed), wrapped through the existingclassifyErrorpath.Error()text is unchanged byte-for-byte — pure typed-error refactor, no observable behavior change.err.Error()asserts). F61/F62 (validation/s3) already shipped via PR ♻️ refactor(validation,sink): typed errors for family-sink and s3 empty-payload #34.Gate matrix
67d1ad9a4Test plan
go build ./...task verifytask lint/task arch-linttask test(full suite incl. envtest)task coverage(80.7%, floor 72%)task scrubtask changelog:write+task changelog:verify