Page MenuHomePhabricator

Implement Build Plan "Hold Drafts" behavior
ClosedPublic

Authored by epriestley on Feb 28 2019, 9:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 2:13 PM
Unknown Object (File)
Sun, Dec 8, 4:52 PM
Unknown Object (File)
Tue, Nov 26, 10:18 PM
Unknown Object (File)
Tue, Nov 26, 5:05 PM
Unknown Object (File)
Tue, Nov 26, 3:19 PM
Unknown Object (File)
Tue, Nov 26, 11:52 AM
Unknown Object (File)
Nov 13 2024, 8:13 PM
Unknown Object (File)
Nov 13 2024, 8:13 AM
Subscribers
Restricted Owners Package

Details

Summary

Ref T13258. Makes the new "Hold Drafts" behavior actually work.

Test Plan
  • Created a build plan which does "Make HTTP Request" somewhere random and then waits for a message.
  • Created a Herald rule which "Always" runs this plan.
  • Created revisions, loaded them, then sent their build targets a "fail" message a short time later.
    • With "Always": Current behavior. Revision was held as a draft while building, and returned to me for changes when the build failed.
    • With "If Building": Revision was held as a draft while building, but promoted once the build failed.
    • With "Never": Revision promoted immediately, ignoring the build completely.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a subscriber: Restricted Owners Package.Feb 28 2019, 9:12 PM
This revision is now accepted and ready to land.Mar 5 2019, 7:49 PM
This revision was automatically updated to reflect the committed changes.