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
F18735295: D20226.id.diff
Wed, Oct 1, 12:41 AM
F18735294: D20226.id48286.diff
Wed, Oct 1, 12:41 AM
F18735293: D20226.id48299.diff
Wed, Oct 1, 12:41 AM
F18735273: D20226.diff
Wed, Oct 1, 12:37 AM
F18671442: D20226.id48286.diff
Thu, Sep 25, 3:54 AM
F18653006: D20226.diff
Sun, Sep 21, 10:31 AM
F18629568: D20226.id.diff
Tue, Sep 16, 9:14 AM
F18625481: D20226.diff
Mon, Sep 15, 10:54 PM
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