Page MenuHomePhabricator

When a Herald rule blocks a push, show which rule fired in the push log UI
ClosedPublic

Authored by epriestley on Aug 1 2018, 3:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 30, 8:06 PM
Unknown Object (File)
Mon, Dec 30, 4:03 PM
Unknown Object (File)
Sat, Dec 28, 3:06 PM
Unknown Object (File)
Tue, Dec 24, 4:16 PM
Unknown Object (File)
Dec 6 2024, 10:36 AM
Unknown Object (File)
Dec 6 2024, 8:26 AM
Unknown Object (File)
Nov 18 2024, 11:59 PM
Unknown Object (File)
Oct 30 2024, 10:02 AM
Subscribers
None

Details

Summary

Ref T13164. See PHI765. We currently show "Rejected: Herald" in the push log UI, but don't show which rule rejected a push.

We store this data, and it's potentially useful: either for hunting down a particular issue, or for getting a general sense of how often a reject rule is triggering (maybe because you want to tune how aggressive it is).

Show this data in the web UI, and include it in the data export payload.

Test Plan
  • Pushed to a hosted repository so that I got blocked by a Herald rule.
  • Viewed the push logs in the web UI, now saw which rule triggered things.
  • Exported logs to CSV, saw Herald rule PHIDs in the data.

Screen Shot 2018-08-01 at 8.38.59 AM.png (1×1 px, 173 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable