forgejo-runner-optimiser/internal/receiver
Manuel Ganter eb01c1c842
All checks were successful
ci / build (push) Successful in 1m49s
fix(receiver): return Payload as JSON object instead of string
Changed the API response to embed Payload as a JSON object using
json.RawMessage instead of returning it as a JSON-encoded string
inside the JSON response. Added MetricResponse type with ToResponse
converter method.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 15:22:27 +01:00
..
handler.go fix(receiver): return Payload as JSON object instead of string 2026-02-06 15:22:27 +01:00
handler_test.go fix(receiver): return Payload as JSON object instead of string 2026-02-06 15:22:27 +01:00
store.go fix(receiver): return Payload as JSON object instead of string 2026-02-06 15:22:27 +01:00
store_test.go refactor(receiver): change query endpoint to filter by workflow and job 2026-02-06 12:00:22 +01:00
types.go feat(receiver): add HTTP metrics receiver with SQLite storage 2026-02-06 11:40:03 +01:00