Page MenuHomePhabricator

Formalize "manual" buildables in Harbormaster
ClosedPublic

Authored by epriestley on Dec 24 2013, 7:37 PM.
Tags
None
Referenced Files
F13296590: D7824.diff
Thu, Jun 6, 5:12 PM
F13264826: D7824.id17701.diff
Mon, May 27, 10:31 PM
F13264547: D7824.id.diff
Mon, May 27, 6:38 PM
F13263367: D7824.id17710.diff
Mon, May 27, 8:53 AM
F13263189: D7824.id17701.diff
Mon, May 27, 7:41 AM
F13256173: D7824.diff
Sat, May 25, 10:04 AM
F13237814: D7824.id.diff
Tue, May 21, 3:10 PM
F13230409: D7824.diff
Mon, May 20, 10:56 PM
Subscribers

Details

Summary

Ref T1049. Generally, it's useful to separate test/trial/manual runs from production/automatic runs.

For example, you don't want to email a bunch of people that the build is broken just because you messed something up when writing a new build plan. You'd rather try it first, then promote it into production once you have some good runs.

Similarly, test runs generally should not affect the outside world, etc. Finally, some build steps (like "wait for other buildables") may want to behave differently when run in production/automation than when run in a testing environment (where they should probably continue immediately).

So, formalize the distinction between automatic buildables (those created passively by the system in response to events) and manual buildables (those created explicitly by users). Add filtering, and stop the automated parts of the system from interacting with the manual parts (for example, we won't show manual results on revisions).

This also moves the "Apply Build Plan" to a third, new home: instead of the sidebar or Buildables, it's now on plans. I think this generally makes more sense given how things have developed. Broadly, this improves isolation of test environments.

Test Plan

Created some builds, browsed around, used filters, etc.

Diff Detail

Branch
harbor3
Lint
Lint Passed
Unit
Tests Passed