The runner asks no build node for a test step with nothing to run (design 47 H2, H-A-515) #352

Merged
mesh-tools merged 2 commits from fix/nothing-to-run into main 2026-11-23 09:47:12 +00:00
Member

In main.416, the TypeScript package of a contracts module waited 287 to 292 s for a build node, which then answered "nothing to run" in 1 to 3 s. When the pipeline runner places a pipeline, it now calls each artifact's build seat steps, with the step's fingerprint and fetch. Every lint, unit or integration step of a kind the answer leaves out is ended "nothing to run" at once, logged and said, and asked of no build node. A failed call asks the steps as before, with one journal line per artifact. The build step's record now carries asked-at (H-A-516), so the pipelines page can show its wait. The shared build-step part's description of steps no longer says "lint always" (H-A-515 second addendum).

Lead answers: H-A-515, its addendum and its second addendum (hq, design 47 H2 lead answers).

This is one group with mesh-catalog fix/nothing-to-run (the TypeScript build seat answers lint only where there is TypeScript), merged in this order: this one, then mesh-catalog.

Quick or thorough: thorough. The runner reads every build seat's steps for every artifact and step kind, so the case cannot come back on any build seat.

Tests: rows of existing tests, each failing without its change. vet and the unit and integration suites pass. Manifest verdicts come from a re-creation of the validator (mesh-judge built at 8a21bf5e, run over 168 manifests with the live seat digests at seat-list revision 551, change against trunk): all accepted, no verdict differs. The running validator was not re-run.

Noted for later: no test covers the repin path's second steps call (repin.go placeAgain). A hung build seat holder can cost up to 30 s per artifact at placement.

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 cec7d05651

In main.416, the TypeScript package of a contracts module waited 287 to 292 s for a build node, which then answered "nothing to run" in 1 to 3 s. When the pipeline runner places a pipeline, it now calls each artifact's build seat `steps`, with the step's fingerprint and fetch. Every lint, unit or integration step of a kind the answer leaves out is ended "nothing to run" at once, logged and said, and asked of no build node. A failed call asks the steps as before, with one journal line per artifact. The build step's record now carries asked-at (H-A-516), so the pipelines page can show its wait. The shared build-step part's description of `steps` no longer says "lint always" (H-A-515 second addendum). Lead answers: H-A-515, its addendum and its second addendum (hq, design 47 H2 lead answers). This is one group with mesh-catalog fix/nothing-to-run (the TypeScript build seat answers lint only where there is TypeScript), merged in this order: this one, then mesh-catalog. Quick or thorough: thorough. The runner reads every build seat's `steps` for every artifact and step kind, so the case cannot come back on any build seat. Tests: rows of existing tests, each failing without its change. vet and the unit and integration suites pass. Manifest verdicts come from a re-creation of the validator (mesh-judge built at 8a21bf5e, run over 168 manifests with the live seat digests at seat-list revision 551, change against trunk): all accepted, no verdict differs. The running validator was not re-run. Noted for later: no test covers the repin path's second `steps` call (repin.go placeAgain). A hung build seat holder can cost up to 30 s per artifact at placement. 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 cec7d05651c658e8ce511e206f19470a121c9005
mesh-tools added 2 commits 2026-11-23 09:47:03 +00:00
The verb description said "lint always", while the TypeScript build seat's
lint ends nothing to run for a tree with no TypeScript file; the runner now
reads steps to skip a kind it answers none for, so the description says
what the verb does. The part build-step is shared by the three build seats,
so its one description names Go (always) and TypeScript (only where a
package holds a TypeScript file).

Builds: design 47 H2 H-A-515 second addendum, H-A-515 addendum
In main.416 a contracts module's TypeScript package waited about 290 s for a
build node, per step, to answer nothing to run in 1 to 3 s. At placement the
runner now calls each artifact's build seat's verb steps (kept by the
artifact's fingerprint, answered in seconds) with the fetch its steps are
asked with, and ends every lint, unit or integration step of a kind it
answers none for as nothing to run at once: logged, said, asked of no
build node. The other steps are asked as before, beside the build step. A
steps call that fails asks the artifact's steps as before, said in one
journal line. A step placed again after a restart is placed from what its
first placing knew, so a test run keeps its asker.

The build step's record now carries asked-at, as the test steps' do, so
the pipelines page shows how long it waited.

Builds: design 47 H2 H-A-515, H-A-515 addendum, H-A-516
mesh-tools merged commit 7a9f3489a5 into main 2026-11-23 09:47:12 +00:00
mesh-tools deleted branch fix/nothing-to-run 2026-11-23 09:47:12 +00:00
Author
Member

{
"records": [
{
"instance": "record/main_138_ff2df8cc",
"sequence": 63050,
"bytes": 625,
"of-bytes": 65536,
"waits": "its difference is not known yet",
"record": {
"milestone": "main.138",
"branch": "main",
"source": 138,
"call": "c51f2c6586f119b5",
"heads": {
"novox/mesh-catalog@746": "8b8b0f66697db8e501b5c39a61266f166eb85e7b",
"novox/mesh-delivery@352": "7a9f3489a55e173f2405b50cc9cfa88afeb937fe"
},
"opened": "2026-11-23T09:47:16.768817458Z",
"form": 3,
"trace": {
"pulls": [
"novox/mesh-delivery@352",
"novox/mesh-catalog@746"
],
"commits": [
"7a9f3489a55e173f2405b50cc9cfa88afeb937fe",
"8b8b0f66697db8e501b5c39a61266f166eb85e7b"
],
"source": "138",
"call": "c51f2c6586f119b5",
"by": "lead-47@shanks",
"account": "shanks.node-tools",
"at": "2026-11-23T09:47:16.756Z"
},
"movers": 29,
"merge-called": "2026-11-23T09:47:16.756Z"
},
"movers-per-outcome": {
"taken-in": 29
}
}
]
}

<!-- mesh-delivery:view --> { "records": [ { "instance": "record/main_138_ff2df8cc", "sequence": 63050, "bytes": 625, "of-bytes": 65536, "waits": "its difference is not known yet", "record": { "milestone": "main.138", "branch": "main", "source": 138, "call": "c51f2c6586f119b5", "heads": { "novox/mesh-catalog@746": "8b8b0f66697db8e501b5c39a61266f166eb85e7b", "novox/mesh-delivery@352": "7a9f3489a55e173f2405b50cc9cfa88afeb937fe" }, "opened": "2026-11-23T09:47:16.768817458Z", "form": 3, "trace": { "pulls": [ "novox/mesh-delivery@352", "novox/mesh-catalog@746" ], "commits": [ "7a9f3489a55e173f2405b50cc9cfa88afeb937fe", "8b8b0f66697db8e501b5c39a61266f166eb85e7b" ], "source": "138", "call": "c51f2c6586f119b5", "by": "lead-47@shanks", "account": "shanks.node-tools", "at": "2026-11-23T09:47:16.756Z" }, "movers": 29, "merge-called": "2026-11-23T09:47:16.756Z" }, "movers-per-outcome": { "taken-in": 29 } } ] } <!-- mesh-act:view.record/main_138_ff2df8cc.novox/mesh-delivery#352@1795427465785961306.d8abed83 -->
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#352