Page MenuHomePhabricator

Make the new Build Plan behavior "Restartable" work
ClosedPublic

Authored by epriestley on Feb 28 2019, 8:05 PM.
Tags
None
Referenced Files
F15529305: D20230.id48337.diff
Tue, Apr 22, 6:33 PM
F15524323: D20230.id48290.diff
Mon, Apr 21, 7:26 AM
F15520401: D20230.id.diff
Sun, Apr 20, 6:09 AM
F15518364: D20230.diff
Sat, Apr 19, 1:01 PM
F15484756: D20230.diff
Wed, Apr 9, 7:55 PM
F15422447: D20230.id48290.diff
Mar 22 2025, 8:26 AM
F15418052: D20230.id48337.diff
Mar 20 2025, 8:27 PM
F15415965: D20230.id48290.diff
Mar 20 2025, 8:35 AM
Subscribers
Restricted Owners Package

Details

Summary

Ref T13258. Implements the "Restartable" behavior, to control whether a build may be restarted or not.

This is fairly straightforward because there are already other existing reasons that a build may not be able to be restarted.

Test Plan

Restarted a build. Marked it as not restartable, saw "Restart" action become disabled. Tried to restart it anyway, got a useful error message.

Diff Detail

Repository
rP Phabricator
Branch
harbor8
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22152
Build 30273: Run Core Tests
Build 30272: arc lint + arc unit

Event Timeline

Owners added a subscriber: Restricted Owners Package.Feb 28 2019, 8:05 PM

Does anyone want an option for "only allow builds that have failed to be restarted"? For cases where builds are idempotent except for a final irrevocable step like "find servers running any version of the code != this version and kill them"?

This revision is now accepted and ready to land.Mar 5 2019, 7:47 PM

I haven't seen any of that so far, but it seems pretty reasonable to me. Maybe I'll just add it unless I can come up with some reason why it's secretly bad in the time it takes to implement.

This revision was automatically updated to reflect the committed changes.