Page MenuHomePhabricator

Partially decouple revision broadcasting from revision draft state
ClosedPublic

Authored by epriestley on Apr 3 2018, 3:23 PM.
Tags
None
Referenced Files
F19812897: D19284.diff
Wed, Mar 4, 6:48 AM
F19596824: D19284.id46150.diff
Feb 2 2026, 8:36 PM
F19280628: D19284.id.diff
Dec 23 2025, 3:14 AM
F19252068: D19284.diff
Dec 22 2025, 9:49 AM
F19019791: D19284.id46166.diff
Nov 23 2025, 3:51 PM
F19019701: D19284.id.diff
Nov 23 2025, 3:42 PM
F19019622: D19284.diff
Nov 23 2025, 3:29 PM
F18807171: D19284.id.diff
Oct 18 2025, 11:35 PM
Subscribers
None

Details

Summary

Depends on D19283. Ref T13110. To enable "Changes Planned + But, Still A Draft" and "Abandoned + But, Never Promoted From Draft" states, decouple the "broadcast" flag from the "draft" state.

Broadcast behavior is now based only on the shouldBroadcast flag, and revisions in any state may have this flag.

Revisions gain this flag when created as a non-draft, or when they leave the draft state for the first time.

There are probably still some ways you can get the wrong result here -- maybe abandon + update -- but those can be cleaned up as they arise.

Test Plan

Kinda poked it a bit but I'll vet this more heavily at the end of this sequence.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable