The self-host job audit line (src/selfhost/audit.ts:14) carries event/job_id/payload_type/latency but no repo or PR number, so grepping docker compose logs for 'everything that happened to PR #123' is impossible — you only get the job id. Extend AuditEvent with optional repo and pr_number fields extracted from the job payload (like extractPayloadType already does at audit.ts:32) and thread them through logAudit callers.
Deliverables
References
src/selfhost/audit.ts:14
src/selfhost/audit.ts:26
src/selfhost/audit.ts:32
size: S · gittensor:feature
The self-host job audit line (src/selfhost/audit.ts:14) carries event/job_id/payload_type/latency but no repo or PR number, so grepping
docker compose logsfor 'everything that happened to PR #123' is impossible — you only get the job id. Extend AuditEvent with optional repo and pr_number fields extracted from the job payload (like extractPayloadType already does at audit.ts:32) and thread them through logAudit callers.Deliverables
References
src/selfhost/audit.ts:14src/selfhost/audit.ts:26src/selfhost/audit.ts:32size: S · gittensor:feature