feat(writer-pipeline): report ingest failures to error hub (BIT-25125) #19

Merged
spark merged 1 commits from task/BIT-25023-error-hub-reporters into main 2026-06-14 19:01:38 +01:00
Owner

Summary

Writer-pipeline error hub integration for BIT-25125 (parent BIT-25123).

  • writer-pipeline/src/lib/errorReporter.ts — same client as bridge
  • run-cycle.ts — reports ingest/publish failures; flush() before exit
  • deploy/systemd/writer-andebol.env.example + writer-pipeline/.env.example — ERROR_REPORTING_* documented
  • Tests: 56/56 pass

Deploy (BIT-25126)

After merge: build writer-pipeline on andebol CT, set ERROR_REPORTING_TOKEN from vault, run backfill + smoke.

Paperclip-Issue: BIT-25125

## Summary Writer-pipeline error hub integration for **BIT-25125** (parent **BIT-25123**). - `writer-pipeline/src/lib/errorReporter.ts` — same client as bridge - `run-cycle.ts` — reports ingest/publish failures; `flush()` before exit - `deploy/systemd/writer-andebol.env.example` + `writer-pipeline/.env.example` — `ERROR_REPORTING_*` documented - Tests: 56/56 pass ## Deploy (BIT-25126) After merge: build writer-pipeline on andebol CT, set `ERROR_REPORTING_TOKEN` from vault, run backfill + smoke. Paperclip-Issue: BIT-25125
spark added 1 commit 2026-06-14 18:56:51 +01:00
feat(writer-pipeline): report ingest failures to error hub (BIT-25125)
Tests / writer-pipeline tests (push) Successful in 1m20s
Tests / bridge tests (push) Successful in 1m18s
Tests / frontend lib tests (push) Successful in 1m23s
Tests / writer-pipeline tests (pull_request) Successful in 1m27s
Tests / bridge tests (pull_request) Successful in 1m26s
Tests / frontend lib tests (pull_request) Successful in 1m25s
bcb95f6a0e
Wire run-cycle ingest and publish errors to errors.bitreport.pt using the
same reporter as bridge; document ERROR_REPORTING_* in writer env examples.

Paperclip-Agent: Artur Moreira (id ac1be104-8818-496a-80c5-fbc590a87855)
Paperclip-Issue: BIT-25125
Paperclip-Run: 06e3abea-e97b-481b-a1d5-70b286cf8983
Co-authored-by: Cursor <[email protected]>
spark merged commit 70cdc516dc into main 2026-06-14 19:01:38 +01:00
Sign in to join this conversation.