1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-26 07:20:57 +01:00
phorge-phorge/src/infrastructure
epriestley 5903ed650c Move completed tasks to an "archive" table and delete them in the GC
Summary:
Currently, when taskmasters complete a task it is immediately deleted. This prevents us from doing some general things, like:

  - Supporting the idea of permanent failure (e.g., after N failures just stop trying).
  - Showing the user how fast taskmasters are completing tasks.
  - Showing the user how long tasks took to complete.

Having better visibility into this is important to Drydock, which builds on the task system. Also, generally buff debug output for task execution.

Test Plan: Ran `bin/phd debug taskmaster`. Ran `bin/phd debug garbage`. Queued some tasks via various systems.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2015

Differential Revision: https://secure.phabricator.com/D3852
2012-10-31 15:22:16 -07:00
..
__tests__ Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
celerity Allow blog resources to be served without Celerity 2012-10-17 08:37:05 -07:00
daemon Move completed tasks to an "archive" table and delete them in the GC 2012-10-31 15:22:16 -07:00
diff Implement PhabricatorMarkupInterface in Diffusion/Audit comments 2012-10-23 17:46:44 -07:00
edges If users are on the email to Phabricator, do not send them the Phabricator reply. 2012-10-10 10:18:23 -07:00
events Allow custom request checker prior to displaying page 2012-09-27 15:34:54 -07:00
internationalization Add a meta-application 2012-08-02 14:07:21 -07:00
javelin Introduce lightbox view for images 2012-10-22 19:06:56 -07:00
lint Add a basic notification UI element 2012-06-13 15:00:24 -07:00
markup Fix caching for synthetic inline comments 2012-10-29 09:38:37 -07:00
query Allow policy-aware queries to prefilter results 2012-10-23 12:01:11 -07:00
storage Move completed tasks to an "archive" table and delete them in the GC 2012-10-31 15:22:16 -07:00
testing Allow using StorageFixtureScopeGuard on Windows 2012-10-24 13:59:22 -07:00
util Fix a memory leak in PhabricatorGlobalLock 2012-08-10 11:28:43 -07:00
PhabricatorAccessLog.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
PhabricatorEditor.php Fix some Editor issues 2012-10-22 16:25:31 -07:00
PhabricatorEnv.php Allow specifying custom syntax highlighter 2012-06-26 19:37:45 -07:00
PhabricatorRequestOverseer.php Add a post_max_size exception for drag and drop uploads 2012-10-22 10:54:23 -07:00
PhabricatorScopedEnv.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
PhabricatorSetup.php Add setup check to detect attempts to install on a path 2012-10-22 10:51:16 -07:00