Page MenuHomePhabricator

Create revisions into "Draft", publish them when builds finish
ClosedPublic

Authored by epriestley on Sep 18 2017, 11:01 PM.
Tags
None
Referenced Files
F15452379: D18628.id44722.diff
Sat, Mar 29, 4:18 AM
F15449899: D18628.id44723.diff
Fri, Mar 28, 12:45 PM
F15449345: D18628.id.diff
Fri, Mar 28, 9:38 AM
F15445439: D18628.diff
Thu, Mar 27, 1:55 PM
F15409995: D18628.diff
Wed, Mar 19, 6:28 AM
F15375754: D18628.id44722.diff
Thu, Mar 13, 12:00 AM
F15338757: D18628.id44723.diff
Mar 9 2025, 12:41 PM
F15333187: D18628.diff
Mar 8 2025, 12:34 AM
Subscribers
None

Details

Summary

Ref T2543. This doesn't stand alone since mail still goes out normally, but gets this piece working: new revisions start as "Draft", then after updates if there are no builds they go into "Needs Review".

This should work in general because builds update revisions when they complete, to publish a "Harbormaster finished build yada yada" transaction. So either we'll un-draft immediately, or un-draft after the last build finishes.

I'll hold this until the mail and some other stuff (like UI hints) are in slightly better shape since I think it's probably too rough on its own.

Test Plan

Created revisions locally, saw them un-draft after builds.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable