feat(error-hub): wire errors.bitreport.pt into process diagnostics (BIT-31162) #29

Merged
spark merged 3 commits from feat/BIT-31162-errors-hub-wiring into main 2026-10-19 11:01:05 +01:00
3 Commits
Author SHA1 Message Date
jos-alves 44ba50bd31 fix(lint): remove trailing commas in errorReporting.js
ai-news-writer-ci / test (pull_request) Successful in 47s
CI's lint step was unreachable while the security-audit gate (BIT-31604)
failed first; now that it's fixed, eslint's comma-dangle rule surfaces
on this file. No functional change.

Paperclip-Issue: BIT-31162
2026-10-19 11:00:11 +01:00
jos-alves d90ccdeba0 Merge main (BIT-31604 security-audit fix) into BIT-31162 branch
ai-news-writer-ci / test (pull_request) Failing after 22s
2026-10-19 10:57:34 +01:00
jos-alves 7093619a0a feat(error-hub): wire errors.bitreport.pt reporter into process diagnostics
ai-news-writer-ci / test (pull_request) Failing after 20s
Adds a minimal fire-and-forget client (POST /v1/ingest/events, Bearer
token) and wires it into installProcessDiagnostics() so uncaught
exceptions and unhandled rejections also reach the hub, not just the
local winston logs. No-op when ERROR_REPORTING_TOKEN is unset.

Paperclip-Issue: BIT-31162
2026-10-14 22:17:19 +01:00