1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-01 03:02:43 +01:00
phorge-phorge/src/applications/harbormaster/storage
epriestley ef05bf335d Allow Harbormaster builds to publish to a different object
Summary:
Fixes T9276. Fixes T8650. The story so far:

  - We once published build updates to Revisions.
  - An unrelated fix (D10911) sent them to the Diffs instead of Revisions, which isn't useful, since you can't see a diff's timeline anywhere.
  - This also caused a race condition, where the RevisionEditor and DiffEditor would update the diff simultaneously (T8650).
  - The diff update was just disabled to avoid the race (part of D13441).
  - Instead, allow the updates to go somewhere else. In this case, we send commit updates to the commit but send diff updates to the revision so you can see 'em.
  - Since everything will be using the revision editor now, we should either get proper lock behavior for free or it should be easy to add if something whack is still happening.
  - Overall, this should pretty much put us back in working order like we were before D10911.

This behavior is undoubtedly refinable, but this should let us move forward.

Test Plan:
Saw a build failure in timeline:

{F2304575}

Reviewers: chad

Reviewed By: chad

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T9276, T8650

Differential Revision: https://secure.phabricator.com/D17139
2017-01-04 13:46:39 -08:00
..
build Added a 'name' field to the results for harbormaster.build.search endpoint 2016-09-19 13:15:52 -04:00
configuration Provide bin/nuance import and ngram indexes for sources 2016-03-08 10:30:24 -08:00
HarbormasterBuildable.php Allow Harbormaster builds to publish to a different object 2017-01-04 13:46:39 -08:00
HarbormasterBuildableTransaction.php [harbormaster/abort-builds] Support aborting builds in Harbormaster 2015-09-21 12:07:38 -07:00
HarbormasterBuildCommand.php [harbormaster/abort-builds] Support aborting builds in Harbormaster 2015-09-21 12:07:38 -07:00
HarbormasterBuildMessage.php Add a CircleCI webhook 2016-03-22 12:12:36 -07:00
HarbormasterBuildTransaction.php [harbormaster/abort-builds] Support aborting builds in Harbormaster 2015-09-21 12:07:38 -07:00
HarbormasterDAO.php Delete license headers from files 2012-11-05 11:16:51 -08:00
HarbormasterObject.php Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00
HarbormasterSchemaSpec.php Give HarbormasterBuildLogChunk a real table 2016-03-01 15:25:34 -08:00
HarbormasterScratchTable.php Allow columns to be marked as nonmutable (so save() will not change them) 2015-02-19 10:37:17 -08:00