Repository navigation
Description
Priority
medium: the job page (app/templates/runs/_execution.html) and what the execution folds for it (app/nullius/execution.py, app/nullius/progress.py). Labelled P2 as a placeholder: nothing runs differently, but a job's page states installs and counts that are not the job's.
Components
- app/nullius (backend)
- app/web (routes)
- templates and static files
- docs and the site
- catalogue (benchmarks, agents, capabilities)
- the standard (ports, kits, relay, runs)
- CI, workflows and skills
Evidence
The job page draws ex.stages() of the execution that writes the job (app/templates/runs/_execution.html:27). Execution.stages() folds every progress line of the run's log (app/nullius/execution.py:446-453, :634-645), and one execution runs every part of a launch: each agent and each control. So every job of a launch shows the same strip, the stages and units of all its parts together.
On a Terminal-Bench 2.0 launch with four parts (terminus-2, jiuwenswarm 0.2.8, nop, oracle; 8 tasks each), the strip of the nop job and of the terminus-2 job is the same, step by step (digests shortened here):
Connect 0.40s · uv cached · Send app/ 0.50s · Base image cached · Benchmark source cached ·
Install terminus-2 cached · Units 9.33m ·
Environment docker.io/alexgshaw/cancel-async-tasks@sha256:… · Environment docker.io/alexgshaw/regex-log@sha256:… cached ·
(six more Environment steps) · Install jiuwenswarm@0.2.8 cached
32 / 32 tasks · 8 passed · 18 failed · 6 errors
The terminus-2 job itself has 8 trials. The nop job installs no agent.
The order comes from progress.fold (app/nullius/progress.py:217-301): a stage is placed where the plan names it (stage=plan, line 241) or where it is first said (:269-274). The standard runner's plan (app/nullius/standard/runner/run.py:851-855) names image, upstream, dataset, driver, install, units; an environment is built by the first unit that needs it (unit_image, run.py:1890-1903), so each Environment <image> step lands after Units, and the next part's Install <agent> after those.
Screenshot
No response (the preview available predates #397's strip layout; the text above is read from its job pages).
Reproduction
- Run a recipe with two agents and the controls on one dataset (one launch, several parts).
- Open the job page of the
nopjob, then of an agent's job. - Both strips list every part's
Installstep and the environments, afterUnits, and the units line counts every part's tasks.
Expected
A job's page describes that job: the stages its part went through, in the order they happened, and its own task counts. Owner decision: whether the launch-wide strip stays on the job page (then labelled as the launch's) or is cut to the job's part; and whether a unit-time environment build is a step after Units or shown within it.
Acceptance
- A job's page shows only the stages and units of the part that wrote that job, or the strip says it is the launch's (per the decision above).
- The units line of a job of 8 tasks in a launch of four parts reads
8tasks, not32(test overfoldor the route). - An
Install <agent>step appears only on that agent's job. - Environment builds that happen during units are not drawn as steps that follow
Units(test overfold).
Dependencies and related
#388 and PR #397 (the strip's layout: short digests, scrolling). #379 and PR #380 (run and task overviews).
Activity