feat(hub): php-error bridge + gitea_repo on recent-errors (BIT-1541, BIT-1291) #4

Merged
spark merged 1 commits from feat/php-error-bridge-and-gitea-repo into master 2026-04-08 19:34:17 +01:00
Owner

Summary

  • Add POST /api/error-monitoring/php-error bridge in admin-ui that translates CRM-shaped ErrorMonitoringReporter payloads (project_slug, gitea_repo at top level) to ingest-api format (BIT-1541)
  • Expose gitea_repo as top-level field on GET /api/error-monitoring/recent-errors rows, extracted from context_json (BIT-1291)

Test plan

  • All 40 existing API unit tests pass
  • New recentErrors.test.ts unit tests cover gitea_repo include/omit cases

Paperclip-Issue: BIT-1291, BIT-1541

## Summary - Add `POST /api/error-monitoring/php-error` bridge in admin-ui that translates CRM-shaped `ErrorMonitoringReporter` payloads (`project_slug`, `gitea_repo` at top level) to ingest-api format (BIT-1541) - Expose `gitea_repo` as top-level field on `GET /api/error-monitoring/recent-errors` rows, extracted from `context_json` (BIT-1291) ## Test plan - [x] All 40 existing API unit tests pass - [x] New `recentErrors.test.ts` unit tests cover `gitea_repo` include/omit cases Paperclip-Issue: BIT-1291, BIT-1541
spark added 1 commit 2026-04-08 02:00:29 +01:00
spark merged commit 8eb0196400 into master 2026-04-08 19:34:16 +01:00
spark deleted branch feat/php-error-bridge-and-gitea-repo 2026-04-08 19:34:17 +01:00
Sign in to join this conversation.