Commit Graph
5 Commits
Author SHA1 Message Date
David Santos 9dd88db4ae chore(hub): BIT-30701 add per-slug freshness override + exclude synthetic smoke-test events from fleet audit
CI / Test ingest-api (pull_request) Successful in 55s
CI / Test api (pull_request) Successful in 1m1s
CI / Lint and typecheck admin-ui (pull_request) Successful in 2m9s
CI / Validate Docker build (pull_request) Successful in 5m55s
netvision's real error rate dropped sharply after the 2026-08-25..08-29 bug-fix
wave; at the global 168h threshold the weekly audit fired 3 weeks running for a
now-quiet app, not a broken pipe (BIT-30273/BIT-30527). Each investigation sent
a synthetic verification event to confirm the reporter still works, but those
events were then counted as "fresh" traffic by the next week's run, masking
the real last-event date until the synthetic row itself aged past the
threshold.

Add PAPERCLIP_FLEET_AUDIT_MAX_AGE_HOURS_OVERRIDES (CSV slug=hours) so a slug's
threshold can differ from the global default, and exclude events matching the
"[BIT-xxxxx] <actor> ... smoke test" marker convention from freshness scoring
so future liveness checks no longer pollute the metric.
2026-09-28 08:22:16 +01:00
David Santos b190d6fa1b chore(hub): BIT-30044 restore multi-status filter in fleet audit script
CI / Test ingest-api (pull_request) Successful in 54s
CI / Test api (pull_request) Successful in 1m6s
CI / Lint and typecheck admin-ui (pull_request) Successful in 2m37s
CI / Validate Docker build (pull_request) Successful in 6m56s
Revert the BIT-25722 workaround now that BIT-30040 fixed the recent-errors
mega-incident query hang (verified <1s in prod with status=open,investigating,resolved,ignored&limit=2000).
2026-09-07 09:39:28 +01:00
David Santos 615d771ade fix(tools): drop multi-status filter in fleet audit — hub times out on comma-separated status values
CI / Test ingest-api (push) Failing after 40s
CI / Lint and typecheck admin-ui (push) Failing after 43s
CI / Validate Docker build (push) Failing after 42s
CI / Test api (push) Failing after 10m49s
Paperclip-Task-Id: BIT-25722
2026-06-22 07:22:16 +00:00
David SantosandPaperclip be735a16b6 feat(tools): add fleet error reporting audit script (BIT-25194)
CI / Test ingest-api (push) Successful in 2m18s
CI / Test api (push) Successful in 2m24s
CI / Lint and typecheck admin-ui (push) Successful in 3m14s
CI / Validate Docker build (push) Successful in 12m14s
Weekly routine that queries errors.bitreport.pt for each expected slug,
checks freshness against a configurable threshold, and creates Paperclip
correction issues for silent or stale reporters. Reads config from
/etc/paperclip/paperclip-fleet-error-audit.env.

Paperclip-Task-Id: BIT-25194
Co-Authored-By: Paperclip <[email protected]>
2026-06-15 07:21:16 +00:00
Peter Spark a51b3e987a feat(clients): optional project_slug and gitea_repo on ingest context
PHP + Node reporters read ERROR_REPORTING_* env; ingest-api tests run contract on clients/.

Paperclip-Agent: 11179220-3cec-4f0f-880d-2771ff64fce8
Paperclip-Issue: BIT-1310
Paperclip-Run: 35ce1c21-9862-4c60-8b58-441d53b4b3bd
2026-04-07 02:12:55 +00:00