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
F14100286: D20226.id48299.diff
Tue, Nov 26, 1:48 PM
F14099339: D20226.diff
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
Unknown Object (File)
Oct 16 2024, 8:27 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable