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)
Thu, Apr 11, 9:22 AM
Unknown Object (File)
Fri, Apr 5, 3:23 AM
Unknown Object (File)
Thu, Mar 21, 5:58 AM
Unknown Object (File)
Feb 4 2024, 10:26 PM
Unknown Object (File)
Dec 23 2023, 5:43 PM
Unknown Object (File)
Dec 22 2023, 12:07 AM
Unknown Object (File)
Nov 30 2023, 1:35 AM
Unknown Object (File)
Nov 25 2023, 7:39 PM
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