Page MenuHomePhabricator

Implement Build Plan "Hold Drafts" behavior
ClosedPublic

Authored by epriestley on Feb 28 2019, 9:12 PM.
Tags
None
Referenced Files
F13182342: D20232.diff
Thu, May 9, 11:24 PM
Unknown Object (File)
Mon, May 6, 2:01 AM
Unknown Object (File)
Sat, Apr 27, 2:01 PM
Unknown Object (File)
Fri, Apr 19, 10:26 PM
Unknown Object (File)
Sun, Apr 14, 8:25 PM
Unknown Object (File)
Thu, Apr 11, 7:10 AM
Unknown Object (File)
Apr 7 2024, 10:57 PM
Unknown Object (File)
Apr 3 2024, 8:57 PM
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
Branch
harbor9
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22154
Build 30277: Run Core Tests
Build 30276: arc lint + arc unit

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.