1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 04:02:43 +01:00
phorge-phorge/src/applications/harbormaster
epriestley b48d4fabaf Merge the "HarbormasterBuildCommand" table into "HarbormasterBuildMessage"
Summary:
Ref T13072. These two similar tables don't make sense to keep separate. Instead, make Build a valid receiver for BuildMessage objects.

These tables are practically the same, so this is straightforward: just copy the rows in and then drop the old table.

(This table was trivial and ephemeral anyway, so I'm not bothering to do the usual "keep it around for a couple years just in case".)

Test Plan:
  - Populated BuildCommand table, ran migration, saw Builds end up in the proper transitional state (e.g., pausing, aborting, restarting) with appropriate queued messages.
  - Queued new messages by clicking UI buttons.
  - Ran BuildWorkers, saw them process messages and mark them as consumed.

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13072

Differential Revision: https://secure.phabricator.com/D21684
2021-07-21 14:16:53 -07:00
..
__tests__ As Harbormaster logs are processed, build a sparse map of byte offsets to line numbers 2018-02-26 17:56:52 -08:00
application Add a test to verify that all routing maps are plausibly valid, and remove some dead routes 2020-02-14 18:06:24 -08:00
artifact Explicitly add rel="noreferrer" to all external links 2018-02-17 17:46:11 -08:00
autoplan Give "Arcanist Client Results" a more clear name 2015-09-09 19:18:08 -07:00
capability Add spelling TODOs 2017-10-09 11:56:53 -07:00
codex Make the new Build Plan "Runnable" behavior work 2019-03-06 06:01:02 -08:00
conduit Add a basic "harbormaster.step.edit" API method 2020-11-03 12:50:18 -08:00
constants Add an "Restartable: If Failed" behavior to Harbormaster build plans 2019-03-07 16:47:57 -08:00
controller Tailor "Restart All Builds" for the complex realities of modern build restart rules 2019-07-24 09:25:46 -07:00
customfield Allow "Wait for Message" to be unset on build plans 2016-11-22 14:02:37 -08:00
editor Merge the "HarbormasterBuildCommand" table into "HarbormasterBuildMessage" 2021-07-21 14:16:53 -07:00
engine Rename "HarbormasterBuild" methods to prepare for use of the "BuildMessages" table 2021-07-21 14:16:52 -07:00
engineextension Subsume 'harbormaster.querybuilds' with a modern search API method 2016-07-31 21:44:22 +00:00
event Reduce the severity of policy fatals when building the Harbormaster "build status" element 2018-03-16 13:27:57 -07:00
exception Add an "Restartable: If Failed" behavior to Harbormaster build plans 2019-03-07 16:47:57 -08:00
future Update some Phabricator behaviors for changes to Futures 2020-04-03 12:28:16 -07:00
herald Don't present users with Herald fields/actions for uninstalled applications, unless the rule already uses them 2019-09-12 14:33:28 -07:00
interface When publishing buildables in Differential, ignore autobuilds (local lint and unit) 2018-04-03 11:02:12 -07:00
management Fix additional "xprintf()"-class static parameter lint errors 2020-09-08 11:45:48 -07:00
phid Add a very basic standalone view for build logs with a "Download Log" button 2018-02-26 17:53:10 -08:00
plan Explain the relationship between "Runnable" and "Restartable" more clearly in Build Plans 2019-03-25 11:24:04 -07:00
query Merge the "HarbormasterBuildCommand" table into "HarbormasterBuildMessage" 2021-07-21 14:16:53 -07:00
remarkup Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
step Move "Wait for Previous Commits to Build" out of prototype 2020-07-30 12:46:47 -07:00
stepgroup Add an "Abort Older Builds" build step to Harbormaster 2018-04-17 14:59:47 -07:00
storage Merge the "HarbormasterBuildCommand" table into "HarbormasterBuildMessage" 2021-07-21 14:16:53 -07:00
typeahead Search builds based on who kicked them off 2016-07-31 20:54:44 +00:00
view Fix an issue where builds with no initiator failed to render in build plans 2020-05-19 09:46:18 -07:00
worker Stop build target start times from being overwritten on reentry 2018-04-27 12:25:45 -07:00
xaction/plan Add behaviors to Build Plans: hold drafts, affect buildables, warn on landing, restartable, runnable 2019-03-06 05:40:06 -08:00