1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 20:52:43 +01:00
phorge-phorge/src/applications/harbormaster
James Rhodes efc82c727b Measure how long build targets take in Harbormaster
Summary:
Ref T1049.  This keeps track of how long a build target takes to execute in Harbormaster and displays it in the build view page.  I'm not sure whether "Started" is really that useful once the target has completed?

Also, I change the name of the time taken depending on whether or not the target has completed; if it's still in progress it's called "Elapsed" and if it's completed then it's "Duration".  The primary reason for this is that "Duration" sounds like post tense, whereas "Elapsed" is current tense.  I'm not sure whether this is okay or not?

Test Plan: Ran a Sleep build step and saw the target dates / times appear correctly.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: talshiri, epriestley, Korvin

Maniphest Tasks: T5824, T1049

Differential Revision: https://secure.phabricator.com/D10174
2014-08-12 08:34:43 +10:00
..
application Rename policy capabilities 2014-07-25 08:20:39 +10:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
conduit Rename Conduit classes 2014-07-25 10:54:15 +10:00
config Migrate "Run Command" to use Drydock hosts 2013-12-05 14:06:22 +11:00
controller Measure how long build targets take in Harbormaster 2014-08-12 08:34:43 +10:00
customfield Allow Harbormaster build targets to wait for messages 2014-04-16 13:01:46 -07:00
editor Use tabs on build targets and allow build steps to have a description 2014-08-01 08:09:15 +10:00
engine Make artifacts imply dependencies on build steps 2014-07-31 12:27:37 +10:00
event Implement showing buildable status in Diffusion 2014-06-14 02:28:00 +10:00
exception Allow build steps to explicitly fail the build 2014-08-01 08:08:28 +10:00
interface Move build variables into HarbormasterBuildableInterface 2014-06-20 12:58:23 +10:00
management Give Buildables a status, populate it, and return it over Conduit 2014-04-17 16:01:16 -07:00
phid Implement build simulation; convert Harbormaster to be purely dependency based 2014-07-31 11:39:49 +10:00
query Use tabs on build targets and allow build steps to have a description 2014-08-01 08:09:15 +10:00
remarkup Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
step Allow build steps to explicitly fail the build 2014-08-01 08:08:28 +10:00
storage Measure how long build targets take in Harbormaster 2014-08-12 08:34:43 +10:00
typeahead Implement build simulation; convert Harbormaster to be purely dependency based 2014-07-31 11:39:49 +10:00
view Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
worker Measure how long build targets take in Harbormaster 2014-08-12 08:34:43 +10:00