Task: Reconcile the grid stories with the code

Table of Contents

This page documents a task in the Account for the grid's usage story. It captures the goal, current status, acceptance, and any notes or results.

1. Goal

Each grid story, task and capture states what the code does today, with evidence.

2. Status

Field Value
State DONE
Parent story Account for the grid's usage
Now Nothing.
Waiting on Nothing.
Next Nothing.
Last touched 2026-10-21

3. Acceptance

  • Every task in the three grid stories has the state the code supports, with evidence.
  • Every grid capture is marked addressed or still open, with evidence.

4. Plan

(Implementation strategy. Written when work starts; key decisions are distilled into the parent story's * Decisions at close, but the plan itself stays — it is the historical record of what we did.)

5. Measurements

Every number this task claims about a tree, with the command that produced it and the commit it was measured at. A number without both is not a measurement, because a clean-up record describes a tree and trunk moves under a branch: a consumer count, a gate's component count and a suite's size all change with no code changing, and the reader of a bare number cannot tell which tree it came from. Where the raw output matters, put it in an evidence/ file beside the task and name that file in the Command column.

What Value Command Commit
       

6. Notes

Method: each task and capture was compared with the tree at 3425f340d7 by searching the code for the type, column, screen or commit that the page names. Nothing was built or run. Where only a run can decide, the page says so.

Outcome by page:

  • Prove the report grid run end to end: four tasks closed on merged work, one abandoned because its cause is gone, two moved to STARTED, one left open for the live run.
  • Draw the node heatmap and carry the engine run statistics: the heatmap and the tenant and party views exist. The run statistics, the state ribbon and the cost do not.
  • Account for the grid's usage: the counts per tenant and party exist. The usage over time does not.
  • Captures deleted as addressed: The wrapper consumes one tenant's work, The grid has no usage history, The compute wrapper download opens its destination before the status, and Compute repositories should query the system tenant. The last one is closed because the design it assumed changed: work is tenant-owned and a claim enters the owning tenant, so no repository queries as the system tenant.
  • Captures confirmed open: Paginate the compute list requests, The engine package cache key, the trends by day, week and month, the compute catalogue screen, a tenant registers a compute node, and the batch workflow bridge test.
  • Capture rewritten: the tenant job listing is now Nobody can list the batches, workunits and results. Its prerequisite, the journeys, is met.

What this record does not cover: the other gap items listed in the five compute journeys and the polling cost of the compute service. Both need a measurement.

7. Test Scenarios

Manual QA scenarios (scaffolded via compass add test_scenario) that verify this task. Link new ones here as they're created; the scenario doc itself links back via its "Verifies task" field.

Scenario State Notes
     

8. PRs

PR Title
#3611 [agile] Reconcile the grid stories with the code

9. Review

Comment summary File Decision Notes
       

10. Result

The three grid stories and the grid captures state what the code does at 3425f340d7. The screens for batches, workunits and results are not built, which is why none can be seen. The next piece of work is a story for them, with the run statistics as its first dependency.

Emacs 29.3 (Org mode 9.6.15)