Page MenuHomePhorge

Support for arc work T12345 (workOnTask workflow)
OpenPublic

Asked by arp on Jul 26 2024, 09:00.

Details

workOnTask() is not implemented in https://we.phorge.it/source/arcanist/browse/master/src/work/ArcanistWorkEngine.php$208.

Because of that, it's impossible to automatically link diffs to tasks in arcanist:

$ arc work T7
...
[2024-07-24 05:09:31] EXCEPTION: (Exception) TODO: Implement this workflow. at [<arcanist>/src/work/ArcanistWorkEngine.php:208]
arcanist(head=master, ref.master=6250296648fa), libletterty(head=main, ref.main=492f9f3a9684)
  #0 ArcanistWorkEngine::workOnTask(string) called at [<arcanist>/src/work/ArcanistWorkEngine.php:66]
  #1 ArcanistWorkEngine::execute() called at [<arcanist>/src/workflow/ArcanistWorkWorkflow.php:90]
  #2 ArcanistWorkWorkflow::runWorkflow(PhutilArgumentParser) called at [<arcanist>/src/workflow/ArcanistWorkflow.php:227]
  #3 ArcanistWorkflow::executeWorkflow(PhutilArgumentParser) called at [<arcanist>/src/toolset/ArcanistPhutilWorkflow.php:21]
  #4 ArcanistPhutilWorkflow::execute(PhutilArgumentParser) called at [<arcanist>/src/parser/argument/PhutilArgumentParser.php:492]
  #5 PhutilArgumentParser::parseWorkflowsFull(array) called at [<arcanist>/src/runtime/ArcanistRuntime.php:171]
  #6 ArcanistRuntime::executeCore(array) called at [<arcanist>/src/runtime/ArcanistRuntime.php:37]
  #7 ArcanistRuntime::execute(array) called at [<arcanist>/support/init/init-arcanist.php:6]
  #8 require_once(string) called at [<arcanist>/bin/arc:10]
  • are there any plans to implement it?
  • I could help with implementing that if provided with some basic guidance (I worked at Meta and am familiar with many conventions, although I didn't work on the Phabricator itself).

New Answer