memcode docs
Halo

Multi-step jobs

Requests with several parts run as one job: shown whole, approved once.

Some requests have several parts. Halo shows them all before anything runs:

➜ find the PDFs from yesterday and zip them
  ⟳ a job of 2 steps (changes files)
   1 Find files · PDF · modified yesterday
   2 Zip them into pdfs.zip
  Run this job?
  ❯ Yes
  • Shown whole. You see every part before anything runs.
  • Approved once. One approval covers the job. If a later part would need more than you approved, Halo stops.
  • "Them" means what was found. A later part uses exactly what the earlier part found, not a fresh search.
  • Stops on failure. If a part fails, the rest doesn't run, and Halo shows where it stopped.

More examples:

➜ find the CSV files from this week and convert them to JSON
➜ for each folder in packages, count its files
➜ if there's no backup folder, make one
➜ stage the changes, commit them as "notes" and show the last commit
➜ list the ports above 8000 and show the process using the most memory