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
F15444654: D20226.id.diff
Thu, Mar 27, 10:35 AM
F15442124: D20226.diff
Wed, Mar 26, 9:37 PM
F15413922: D20226.diff
Wed, Mar 19, 10:00 PM
F15411589: D20226.id48286.diff
Wed, Mar 19, 9:28 AM
F15391251: D20226.id48299.diff
Sat, Mar 15, 9:03 AM
F15385345: D20226.id.diff
Fri, Mar 14, 10:19 PM
Unknown Object (File)
Feb 24 2025, 2:31 AM
Unknown Object (File)
Feb 16 2025, 6:50 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