Peter Spark 51c8721f09 docs(wdmi-store): runbook Google Sheets HTTP 503 backendError (BIT-909)
Add RUNBOOK_REPORTER_GOOGLE_TLS §5.7 for ERRSIG:c92db7382a97 / cluster
ERRCLUSTER:9ba894c3b411 (maintenance import_margin, JSON 503 vs cURL TLS/DNS).
Cross-link BIT-938, BIT-951; er-cli queries; RUNBOOK_TRIAGE index note.

Implementation of retries/backoff remains in wdmi-store Importer; this hub
repo documents triage and evidence for the error loop recurrence.

Paperclip-Agent: david-santos
Paperclip-Issue: BIT-909
Paperclip-Run: cb67b863-17af-4901-9fd1-66714968c625
Made-with: Cursor
2026-04-05 03:22:09 +00:00

errors.bitreport.pt

BitReport central error reporting platform: ingest API, collector worker, admin UI (incidents), MariaDB migrations, and optional admin portal (auth/RBAC) from BIT-183.

Remote: https://git.bitreport.pt/BitReport.pt/errors.bitreport.pt.git
Tracking: Paperclip BIT-247 (migration from OTT/error-reporting/).

Layout

Path Role
ingest-api/ Fastify HTTP ingest (BIT-154.x)
collector-worker/ Polls configured sources → ingest API
admin-ui/ Next.js operator UI (incidents)
database/error_reporting/ SQL migrations + dev seed (used by Compose + LXC)
deploy/lxc/ systemd, nginx examples, migrate script (no Docker)
docker-compose.yml, .env.example Local / Proxmox Docker stack
api/ Fastify admin API — sessions, RBAC (BIT-183)
web/ Next.js admin login/UI for api/
db/migrations/ Admin-user schema (SQL); applied with error_reporting migrations via scripts/docker-migrate.sh
docs/ Permission matrix, deployment runbooks

Docker Compose (ingest stack)

From the repository root:

cp .env.example .env
docker compose up --build
curl -sf "http://127.0.0.1:${ER_PUBLISH_INGEST_PORT:-3041}/health"

Docs

Tests (local)

cd ingest-api && npm ci && npm test
cd ../api && npm ci && npm test

Integration tests for ingest (ingest-api/src/integration.twoProjects.test.ts) require a migrated MariaDB and:

export ERROR_REPORTING_TEST_DATABASE_URL='mysql://USER:[email protected]:3306/error_reporting'
cd ingest-api && npm test
S
Description
BitReport Error Reporting platform — multi-project ingest, admin UI, collector workers (BIT-154)
Readme
1.3 MiB
0 Stars 32 Watchers 0 Forks
Languages
TypeScript 77.1%
Shell 8.6%
Python 5%
PLpgSQL 4.8%
JavaScript 2.4%
Other 2.1%