Homec4science

Execute Maniphest batch edits in the background with a web UI progress bar

Authored by epriestley <git@epriestley.com> on Jun 23 2015, 22:36.

Description

Execute Maniphest batch edits in the background with a web UI progress bar

Summary:
Ref T8637. This does nothing interesting, just has empty scaffolding for a bulk job queue.

Basic idea is that when you do something like a batch edit in Maniphest, we:

  • Create a BulkJob with all the details.
  • Queue a worker to start the job.
  • Send you to a progress bar page for the job.

In the background:

  • The "start job" worker creates a ton of Task objects, then queues worker tasks to do the work.

In the foreground:

  • Fancy ajax animates the progress bar and it goes wooosh.

In general:

  • Big jobs actually work.
  • Jobs get logged.
  • You can monitor jobs.
  • Terrible junk like T8637 should be much harder to write and much easier to catch and diagnose.

Test Plan:
No interesting code/beahavior yet. Clean storage adjust.

{F526411}

Reviewers: chad, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8637

Differential Revision: https://secure.phabricator.com/D13392

Details

Committed
epriestley <git@epriestley.com>Jun 23 2015, 22:36
Pushed
aubortJan 31 2017, 17:16
Parents
rPH716bd4e4b41b: Improve lint/unit limit, sort, view all, collapse behaviors
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH3215899925e2: Execute Maniphest batch edits in the background with a web UI progress bar (authored by epriestley <git@epriestley.com>).Jun 23 2015, 22:36