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
This commit is contained in:
Peter Spark committed 2026-04-07 02:12:55 +00:00
1 parent 54645842f7
commit a51b3e987a
4 files changed
+132 -1

No files matched your search

+2
View File
@@ -14,6 +14,8 @@ declare(strict_types=1);
* ERROR_REPORTING_TOKEN — ingest API key (required)
* ERROR_REPORTING_ENDPOINT — base URL (default: https://errors.bitreport.pt)
* ERROR_REPORTING_DISABLED — set to "1" to disable
* ERROR_REPORTING_PROJECT_SLUG — stable product slug for ERRSIG / Paperclip routing (optional)
* ERROR_REPORTING_GITEA_REPO — canonical owner/repo on Gitea, e.g. BitReport.pt/my-product (optional)
*/
namespace BitReport;