feat(log): add self-host audit PR correlation - #2511
Conversation
Emit safe repo and PR-number correlation fields on self-host job audit lines so operators can grep queue lifecycle logs for a specific pull request without logging full payloads. Closes JSONbored#2087
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-02 06:43:41 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 5 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2511 +/- ##
==========================================
+ Coverage 95.93% 95.96% +0.02%
==========================================
Files 225 226 +1
Lines 25338 25463 +125
Branches 9218 9265 +47
==========================================
+ Hits 24308 24435 +127
Misses 417 417
+ Partials 613 611 -2
🚀 New features to boost your workflow:
|
Summary
What changed
extractPayloadContextbesideextractPayloadTypefor safe scalar correlation.Why
Self-host operators need to grep Docker logs for everything that happened to a specific PR without relying on opaque queue job IDs or exposing raw job payloads.
Closes #2087
Validation
npm run test:coveragenpm run test:cinpm audit --audit-level=moderate