Page MenuHomePhabricator

Stop "Mute Notifications" on Bulk Jobs from fataling
ClosedPublic

Authored by epriestley on Feb 28 2019, 5:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 26, 10:17 PM
Unknown Object (File)
Tue, Nov 26, 1:48 PM
Unknown Object (File)
Tue, Nov 26, 11:27 AM
Unknown Object (File)
Tue, Nov 19, 2:40 AM
Unknown Object (File)
Thu, Nov 14, 6:42 PM
Unknown Object (File)
Mon, Nov 11, 10:36 AM
Unknown Object (File)
Thu, Nov 7, 4:55 AM
Unknown Object (File)
Oct 18 2024, 8:29 AM
Subscribers
None

Details

Summary

See https://discourse.phabricator-community.org/t/unhandled-exception-muting-completed-bulk-jobs/2449. Bulk Jobs have an "edge" table but currently do not support edge transactions. Add support.

This stops "Mute Notifications" from fataling.

The action probably doesn't do what the reporting user expects (it stops edits to the job object from sending notifications; it does not stop the edits the job performs from sending notifications) but I think this change puts us in a better place no matter what, even if we eventually clarify or remove this behavior.

Test Plan

Clicked "Mute Notifications" on a bulk job, got an effect instead of a fatal.

Diff Detail

Repository
rP Phabricator
Branch
mute1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22148
Build 30265: Run Core Tests
Build 30264: arc lint + arc unit