Pipelines page: each step's waited and ran, not the asked time as its start (design 47 H2, H-A-516) #351

Merged
mesh-tools merged 1 commits from fix/view-waited-ran into main 2026-11-23 09:26:58 +00:00
Member

The delivery view's pipelines page showed a step's asked time as "started". So the operator read 6 minutes per step where 5 to 6 minutes were waiting for a build node and about 20 s were running. The steps table, on the web page and in the terminal view, now shows ASKED, TAKEN and ENDED from the step record, and the two durations WAITED (asked to taken) and RAN (taken to ended). A step not yet taken or not yet ended counts to now. A step that ended without being taken only waited.

Lead answer: H-A-516 (hq, design 47 H2 lead answers).

Quick or thorough: this is the fix itself, one place (StepsHead and StepsText) feeding both views.

Tests: three new cases in TestThePipelinesPage, failing without the change. vet, the unit suite and the integration suites pass.

Noted for the pipeline runner, not this change: the build step's record carries no asked-at, so its ASKED and WAITED cells stay empty until the runner writes it.

This is merged without the pull request check under the operator's temporary rule (skip the check until design 47 is delivered).

Reviewed-by: mesh-code-reviewer@shanks at 09df0bbf36

The delivery view's pipelines page showed a step's asked time as "started". So the operator read 6 minutes per step where 5 to 6 minutes were waiting for a build node and about 20 s were running. The steps table, on the web page and in the terminal view, now shows ASKED, TAKEN and ENDED from the step record, and the two durations WAITED (asked to taken) and RAN (taken to ended). A step not yet taken or not yet ended counts to now. A step that ended without being taken only waited. Lead answer: H-A-516 (hq, design 47 H2 lead answers). Quick or thorough: this is the fix itself, one place (StepsHead and StepsText) feeding both views. Tests: three new cases in TestThePipelinesPage, failing without the change. vet, the unit suite and the integration suites pass. Noted for the pipeline runner, not this change: the build step's record carries no asked-at, so its ASKED and WAITED cells stay empty until the runner writes it. This is merged without the pull request check under the operator's temporary rule (skip the check until design 47 is delivered). Reviewed-by: mesh-code-reviewer@shanks at 09df0bbf3638cab45ee82514e4615046bcc9bdd8
mesh-tools added 1 commit 2026-11-23 09:26:53 +00:00
The operator read 6 minutes per step where 5 to 6 were waiting for a build
node and 20 s were running: the steps' "started" column showed the time the
step was asked. The web page and the terminal view now show per step the
time it was asked, the time its seat's holder took it and the time it ended,
with how long it waited and how long it ran, from the step record's
asked-at, taken-at and ended.

Builds: design 47 H2 H-A-516
mesh-tools merged commit 8a21bf5e96 into main 2026-11-23 09:26:58 +00:00
mesh-tools deleted branch fix/view-waited-ran 2026-11-23 09:26:58 +00:00
Author
Member

{
"records": [
{
"instance": "record/main_137_450fd2b4",
"sequence": 62556,
"bytes": 488,
"of-bytes": 65536,
"waits": "its difference is not known yet",
"record": {
"milestone": "main.137",
"branch": "main",
"source": 137,
"call": "4055c1e25161c7e9",
"heads": {
"novox/mesh-delivery@351": "8a21bf5e968363e945326cecbb37bca8f9d86d3e"
},
"opened": "2026-11-23T09:26:59.754397825Z",
"form": 3,
"trace": {
"pulls": [
"novox/mesh-delivery@351"
],
"commits": [
"8a21bf5e968363e945326cecbb37bca8f9d86d3e"
],
"source": "137",
"call": "4055c1e25161c7e9",
"by": "lead-47@shanks",
"account": "shanks.node-tools",
"at": "2026-11-23T09:26:59.746Z"
},
"movers": 2,
"merge-called": "2026-11-23T09:26:59.746Z"
},
"movers-per-outcome": {
"taken-in": 2
}
}
]
}

<!-- mesh-delivery:view --> { "records": [ { "instance": "record/main_137_450fd2b4", "sequence": 62556, "bytes": 488, "of-bytes": 65536, "waits": "its difference is not known yet", "record": { "milestone": "main.137", "branch": "main", "source": 137, "call": "4055c1e25161c7e9", "heads": { "novox/mesh-delivery@351": "8a21bf5e968363e945326cecbb37bca8f9d86d3e" }, "opened": "2026-11-23T09:26:59.754397825Z", "form": 3, "trace": { "pulls": [ "novox/mesh-delivery@351" ], "commits": [ "8a21bf5e968363e945326cecbb37bca8f9d86d3e" ], "source": "137", "call": "4055c1e25161c7e9", "by": "lead-47@shanks", "account": "shanks.node-tools", "at": "2026-11-23T09:26:59.746Z" }, "movers": 2, "merge-called": "2026-11-23T09:26:59.746Z" }, "movers-per-outcome": { "taken-in": 2 } } ] } <!-- mesh-act:view.record/main_137_450fd2b4.novox/mesh-delivery#351@1795426094786057774.b213e8ab -->
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-delivery#351