Commit Graph
3218 Commits
Author SHA1 Message Date
jschoubben e5a250d774 I6: a take-in moves another repository's importer by its import set, in either language
Review r1 finding 1: a module of another repository was recomputed only when
a pin's Go module path mapped to the moved repository, so a TypeScript
importer of @novox/mesh-sdk never moved on a mesh-sdk take-in. It now moves
when its reported import set holds a package the moved repository publishes
(the module graph's entries), or, with no set, when a pin names one.

Builds: design 47 H2 H-A-520, H-A-523, H-A-528, H-A-539
2026-11-23 13:17:15 +01:00
jschoubben 3945640247 I12: the indexer's whole test proves a take-in's revision names a moved package with no version
Review r1 finding 2: removing the take-in's unpinnedByMovers failed no test.
I10 now takes mesh-sdk in again after its releases and reads the take-in's
revision: the import-form importer names mesh-sdk with no version, legacy
(the version line) keeps its pin.

Builds: design 47 H2 H-A-532 (DMC-1), H-A-547 (2), H-A-521
2026-11-23 13:15:17 +01:00
jschoubben e25aed10bb B4: the bed watches the reserved bucket for the release's delete, never polls
Review r1 finding 3: the wait for the reservation's delete slept between
reads; it now watches the module's keys and ends on their delete.

Builds: design 47 H2 H-A-551
2026-11-23 13:14:17 +01:00
jschoubben a82e97baf4 B4: the builder's bed proves an unpinned package filled at the key's origin
An entry naming a mesh package with no version is built, in the builder's
bed, with the version its publisher reserved at the source revision of the
key's own origin once a registry seat says that version published, not the
newer one another published said; and, once that version is released and its
reservation gone, the next such build takes it from the release record. A
case of the existing done-key test, so the integration count stays at 17.

Builds: design 47 H2 H-A-521, H-A-547 (3), H-A-551, H-A-558 (2)
2026-11-23 13:03:01 +01:00
jschoubben 9a705d69b5 Merge remote-tracking branch 'origin/main' into fix/fp-imports 2026-11-23 12:33:10 +01:00
jschoubben 0689f69ea7 I13b: the fill's call-unanswered of builder_versions is retired
The versions fill went, so nothing raises or clears its
indexer-call-unanswered of builder_versions any more: the indexer's writer
clears that id once at its start, the kind staying raised for its other
calls.

Builds: design 47 H2 H-A-558 (3), H-A-552
2026-11-23 12:33:04 +01:00
jschoubben d1256ec941 B4: the released record keeps the origin's branch with its source revision
Source revisions are numbered per watched branch today, so a release found
by its source revision alone could meet another branch's equal number and
fill an importer with the wrong version. The record keeps the branch the
reservation came from, and an importer's fill matches both.

Builds: design 47 H2 H-A-558 (2), H-A-551
2026-11-23 12:32:00 +01:00
jschoubben c59b83692d I13c: the state build-edges and the branch-build keys go with outdated
Only outdated read the edges a build of another watched branch kept in the
indexer's state build-edges and the heard keys branch-build.<module>.<branch>:
the state leaves the seat mesh-catalog's definition (its def BuildEdges and
fixture, the generated contracts) and the indexer's manifest, and the
writes, the prune at registration-changed and their test go.

Builds: design 47 H2 H-A-559, H-A-558 (1), H-A-548
2026-11-23 12:31:36 +01:00
jschoubben c219bfbd0d I13c: outdated goes, with what only it read
The verb outdated leaves the seat mesh-catalog's definition (its def
Outdated, its fixtures, the generated Go and TypeScript, under the form 6
this change raised), the indexer's claim, its tool and its answer, the
answer of other branches' builds with it. The indexer's hearings of
toolchain-agreed and wait-ended, whose state heard keys only outdated read,
go with their consumes in its manifest.

Builds: design 47 H2 H-A-548, H-A-558 (1), H-A-532 (DQ-9), H §747
2026-11-23 12:29:50 +01:00
jschoubben f474987827 I13b: the versions fill, the event versions-filled and the builder's fill wait go
The indexer's first fill of the versions from builder_versions was the only
part that said versions-filled, and the numbering it served is gone. So the
fill, its edges and its call go from the indexer, the event leaves the seat
mesh-catalog's definition, its fixture and the generated contracts (the
seat's form rises to 6), and the builder neither hears it nor waits on it:
it reserves from its own reservations alone.

Builds: design 47 H2 H-A-552, H-A-532 (DQ-9, DMC-5), H §756, G §372
2026-11-23 12:26:20 +01:00
jschoubben d0de4a7497 I14: the release's pins record an npm package's version as they do a Go one's
An npm import of another repository enters an entry's packages as a Go one
does (H-A-546 (3)), but the pins matched only a series' Go module path, so
an npm pin stayed empty and the builder waited out its bound. A series now
pins by its Go module path, or by its package name when it has none.

Builds: design 47 H2 H-A-553 (1), H-A-546 (3)
2026-11-23 12:20:34 +01:00
jschoubben 5b6a6a301b B4: an importer's build takes its package's version from the publisher at the key's origin
A package an import-form entry names with no version (a mover of the same
take-in publishes it) is filled from the reservation of the module that
publishes it at the source revision of the build key's own origin, once its
artifact is published, else from that module's release recorded at that
source revision; never from the newest version a registry seat said
published, so the importer is built against what its own pipeline
publishes. The released record keeps the release's source revision, since
the reservation goes at the release. The registry seat's versions read
before the wait and the newest-heard cache go with that fill.

Builds: design 47 H2 H-A-521, H-A-547 (3), H-A-551, H-A-532 (DMC-1)
2026-11-23 12:19:40 +01:00
mesh-tools 72bb027767 Merge pull request 'A step counts a stopping tool runner as passing (design 47 H2, H-A-542)' (#354) from fix/runner-stopping into main 2026-11-23 11:10:51 +00:00
jschoubben 3df8d9f358 I13a: the indexer's tag floor, its requirements state and indexer_requirements go
The builder's floor, their one caller, went with the numbering from before G
(design 47 H §756; H2 H-A-532 DQ-9): the indexer fills no floor from the seat
git's tags or the package registry seats' versions, keeps no state
requirements from each consumer's go.sum and serves no indexer_requirements.
A floor entry kept before is still read as one at its release (G A-490h).

Builds: design 47 H §756, G §372, H2 H-A-532 (DQ-9), spec 20, 29, 48
2026-11-23 12:09:35 +01:00
jschoubben 8f24d9804b I12: a take-in names no version for a package one of its movers publishes, in an import-form importer's entry
At the take-in the version a mover's pipeline will publish is not released, so
the import-form importer's entry names its package with no version and its
build waits for that pipeline's publish (design 47 H2 H-A-532 DMC-1, H-A-547
Q5); a version-line entry keeps its pins, which its fingerprint takes.

Builds: design 47 H2 H-A-521, H-A-532 (DMC-1), H-A-547 (Q5)
2026-11-23 12:05:53 +01:00
jschoubben fdaeed4d7e I11b: a TypeScript import set takes each imported npm package by its content
The import form of a TypeScript module takes each mesh npm package its reported
set names by the digest the packages state keeps under its npm name (I11a), so
a change of an imported package's files moves it and a change of another
leaves it; the npm import of another repository enters the entry's packages as
a Go one does. fingerprint.Resolve already resolves an import by its exact
name, so the form needs no code of its own: the test holds it.

Builds: design 47 H2 H-A-523, H-A-546 (3)
2026-11-23 12:04:06 +01:00
jschoubben d5af4213c3 I11a: an npm mesh package's digest in the packages state, by its npm name
A TypeScript module's fingerprint takes its imported mesh packages by content
(design 47 H2 H-A-523): a take-in of a repository holding an npm package a held
module imports publishes it in the packages state by its npm name, its
repository and directory those of the module graph entry whose artifact
publishes that name, its digest its files under that path but node_modules and
node --test's test files, its requirements' digest its package.json and lock
file.

Builds: design 47 H2 H-A-523, H-A-532 (DQ-6, DMC-3), H-A-546 (1)(2), H-A-547 (Q4)
2026-11-23 12:02:57 +01:00
jschoubben 23533893bb B2: the builder carries no imports on its done key or its build log
A build module says a module's import set as its build seat's event
imports-reported, which the indexer hears (design 47 H2 H-A-517, DQ-7): the
builder's done key and its build log's end entry no longer carry the imports
a build answered, so nothing reads another part's state for them.

Builds: design 47 H2 H-A-517, H-A-532 (DQ-7)
2026-11-23 11:56:02 +01:00
jschoubben 37e1f3c297 B3: the builder's dead readers of the indexer's packages state go
The builder reads package names from the catalog half's entries alone and never
the indexer's state (design 47 G §348): PackagesState, NamesIn, NamedModule,
Carriers and ModuleOf, which read that state and are wired nowhere, go; the
reservation's name test reads its carriers from the entries.

Builds: design 47 G §348, spec 25
2026-11-23 11:54:00 +01:00
jschoubben 6210384d3a B1b: the builder's numberer and its state versions go; builder_versions answers from the reservations
The numbering from before G goes (design 47 H §756, G §372): the builder keeps
no state versions, marks no numbered entry on a registry seat's word and arms
no numbered version's publish bound; the publishes' findings and the
reservations still hear the same events (DQ-11), and a reserved version's bound
is the reservation's (DQ-10). builder_versions keeps answering, from the
reservations alone (DMC-5): what the seat mesh-builds' reserved answers for a
name and, with a version and a digest, whether that version is reserved or
released with that digest.

Builds: design 47 H §756, G §372, G §381, H2 H-A-532 (DMC-5, DQ-10, DQ-11), spec 29, 41, 48
2026-11-23 11:53:05 +01:00
jschoubben 481d1f255b B1a: the builder's version floor and its wait go
The numbering from before G goes with its floor wait (design 47 H §756): the
builder asks no floor (seat git.tags, the registry seats' versions, the
entries' requirements), keeps no state floor-waits, serves neither
builder_floor_again nor builder_floor_waits, raises no floor-silent finding
and hears no take-in.taken or condition-cleared to wake one. The claim
numbering that asked the floor (Numberer.Number, build.Numbers) goes with it;
the reservation is the one place a version is numbered.

Builds: design 47 H §756, G §372, spec 29, 41, 47, 48
2026-11-23 11:48:06 +01:00
jschoubben 9b8dcc25ce mesh-delivery-sdk: a stopping tool runner's fault is passing, in one place (H-A-542)
A build step's publish met by a tool runner that restarted ended failed (main.440):
PublishFault counted only "no responders" and "bundle exited". sdkstep.IsPassing
now counts a call a stopping tool runner did not take, by its typed fault stopping
(the error's ErrorKind, as mesh-sdk's stdio hands it), so every step's fault reading
and PublishFault's "publish: " why read it the same; a bare "timeout" stays a
failure.

Builds: design 47 H2 H-A-542
2026-11-23 11:47:42 +01:00
jschoubben f8f1c6d378 I10: the indexer's whole test at import grain
The whole test now reports the import sets of two requirers of mesh-sdk: the importer of
buildstep and a requirer importing announce alone. A mesh-sdk commit changing buildstep
moves mesh-sdk, the importer and a module with no report (by its requirement), never the
requirer. The release's re-pin names only the version-line module. The bed's durable hears
the Go build seat's imports-reported, as the manifest's consumes names it.

Builds: design 47 test 80; design 47 G §56; design 47 H2 H-A-520, H-A-521, H-A-528, H-A-530; H-A-532 DMC-7
2026-11-23 11:36:49 +01:00
jschoubben a72428a00f I7: a take-in's movers by import grain
A module of any repository whose import set is reported moves when its fingerprint moved,
and only then: a reported set holding no changed package names no mover. A module with no
reported set keeps the fallback that exists, moving by its requirements.

Builds: design 47 H2 H-A-520, H-A-528, H-A-536, H-A-538; design 47 H §743; ADR 0593 §3
2026-11-23 11:32:18 +01:00
jschoubben 72373ba68d I5: a release re-pins only modules on the version line
repinned names no module whose import form is set: its fingerprint takes no pin, so a
release of a package it imports never moves it; a module on the version line is named as
before.

Builds: design 47 H2 H-A-530, H-A-538
2026-11-23 11:30:51 +01:00
jschoubben 656bc8b5c2 I4: a fingerprint takes of a reported set only what the module graph publishes
At every recompute, and where a report's import form is computed, the import set counts only
the imports a package artifact of the module graph's entries holds (a Go module path or an npm
name, itself or a path under it); any other import is outside the mesh and never sends the
module to the version line. The state imports keeps the reported set whole. A graph state
that cannot be listed keeps no name back, since its nodes name no package.

Builds: design 47 H2 H-A-539, H-A-540
2026-11-23 11:30:00 +01:00
jschoubben 3fffe7e2dd S2: the step runner checks only that an import set is sorted and each once
Nothing in a path or name tells a mesh package apart: mesh Go modules come from the Go
package registry, not the forge. The per-language form check and its settings go
(CheckGoImports, CheckNpmImports, DefaultNpmScope, AskSteps.ImportPrefix and ImportScope);
CheckImports judges every seat's set sorted and each once, and the indexer keeps of it the
packages a module of the module graph publishes.

Builds: design 47 H2 H-A-539 (withdraws H-A-534's form check and H-A-535's settings)
2026-11-23 11:26:47 +01:00
jschoubben 12000b46d1 I9: an entry's import form says its import set is reported
Kind 1 comes from the import set when the entry's import form is set, an absent imports
then the empty set, so a reported empty set gives no kind-1 edge; an entry with no import
form is on the version line and keeps kind 1 from packages.

Builds: design 47 H2 H-A-522, H-A-536, H-A-538
2026-11-23 11:24:46 +01:00
jschoubben 03c3690d54 I4: the import form takes no pin, and a reported set is a key or a held set
The import form's fingerprint takes each imported package by its content and no released
version: a release of the same content leaves it, and a held fingerprint made with a pin
from before stands while its import form is unchanged; only the version line takes the
pins. The import form is chosen when the module's set is reported: a key in the state
imports, an empty set too, or, until its next report, a set its modules value already
holds. An import form with no imports is a valid modules value: it says a reported empty set.

Builds: design 47 H2 H-A-530, H-A-521, H-A-529, H-A-536, H-A-537, H-A-538
2026-11-23 11:23:56 +01:00
mesh-tools 819bc52745 Merge pull request 'Pipelines page: one pipeline by tier and stage; every branch's together, filtered by a module (design 47 H2, H-A-531, H-A-533)' (#353) from fix/view-tiers into main 2026-11-23 10:15:02 +00:00
jschoubben b52a70b1b2 I9: the catalog graph's kind 1 comes from the reported import set
An entry whose fingerprint was computed with an import set gets one kind-1 edge per import,
from the package artifact of the longest name holding it to its artifacts of that ecosystem;
a requirement no import names gives none. An entry with no set keeps kind 1 from packages.

Builds: design 47 H2 H-A-522, H-A-532 DQ-14
2026-11-23 11:14:24 +01:00
jschoubben 2f4fe5fa8b I8: every take-in computes with main's import set, a watched branch's too
The recompute takes each module's set from the state imports (a branch's copy of another
set gives way to it), with main's import form while main's value holds that set, so the form
costs no rebuild; a branch's take-in reads the state through an overlay and drops none of it.

Builds: design 47 H2 H-A-519, H-A-529, H-A-532 DMC-6
2026-11-23 11:13:13 +01:00
jschoubben c0b3e4ad08 S2: the step runner judges an import set by its build seat's language form
A Node build's imports are npm names in the mesh's scope (@novox/mesh-sdk, one package, no
sub-path), a Go build's Go module paths under the forge's prefix; AskSteps.ImportScope and
ImportPrefix carry the build module's settings, trunk.DefaultNpmScope and ForgeModulePrefix
when they name none (trunk.CheckNpmImports, CheckGoImports).

Builds: design 47 H2 H-A-534, H-A-532 DQ-6
2026-11-23 11:10:25 +01:00
jschoubben a770eb5103 Pipelines page: every branch's newest together, filtered only by a module
The operator found a pipelines view filtered by branch name makes no sense:
the page and the terminal view now list the newest pipelines of every branch
together, newest first, the branch a column, and offer one filter, a module
(the pipelines that carry it). A delivery still links to its pipeline from its
branch's list, or from every branch's list by the row's branch.

Builds: design 47 H2 H-A-533 (hq 1b1e1984)
2026-11-23 11:09:42 +01:00
jschoubben 19f06be6c1 Runner's list: each row names its branch, every branch's when none is named
The pipelines page lists every watched branch's pipelines together, the
branch a column of each row, so the short row carries the pipeline's branch;
list already answered every branch when none was named, and its description
now says so. The seat mesh-pipeline-runner's form rises to 11 for the field.

Builds: design 47 H2 H-A-533 (hq 1b1e1984)
2026-11-23 11:09:42 +01:00
jschoubben 9bba3000f3 Pipelines page: a stage's count is of the worst outcome's group
Passed, carried and passed read "passed 2/3", as if one did not pass: the cell
counts the artifacts in the group of its worst outcome (failed, not run,
waiting, running, passed) and shows the count only where fewer than all are in
it, so a cell never reads worse or better than it is.

Builds: design 47 H2 H-A-531 addendum (3), as read in hq d7e7d204
2026-11-23 11:09:42 +01:00
jschoubben f1e4ab1cf6 I3: the indexer reads no imports from the builder's build log
ApplyBuildEnd and its start replay go: a module's import set reaches the indexer only as
imports-reported. The build-log read stays for the module paths and the out-of-step findings.

Builds: design 47 H2 H-A-517, H-A-532 DQ-7
2026-11-23 11:08:54 +01:00
jschoubben b89a65fde6 I2: indexer_imports reads one module's import set
The tool answers the set the state imports keeps for a module, each package with its digest
and the reporting build's fingerprint and commit, or that none is kept, so the module moves
by its go.mod's requirements.

Builds: design 47 H2 H-A-527, H-A-528, H-A-532 DQ-3
2026-11-23 11:08:22 +01:00
jschoubben e2c3cea042 I1: the indexer hears imports-reported and keeps each module's import set
The indexer consumes node-build-go and node-build-node imports-reported; a report of the
fingerprint main's modules state holds for the module keeps the set on the module (Imports,
ImportForm, as the build log path did) and in the new state imports (one key per module,
{module, fingerprint, commit, imports: [{package, digest}]}, the digests the import form is
computed with), deleted with the module's modules key. A report of another fingerprint is
left; one naming no module or fingerprint is said and acknowledged.

Builds: design 47 H2 H-A-517, H-A-518, H-A-519, H-A-527, H-A-529, H-A-532 DQ-3, DQ-4, DQ-13, DMC-2
2026-11-23 11:07:18 +01:00
jschoubben 286f2b668d S1: the step runner says a done build's import set as imports-reported
AskSteps gains SayImports, called once at the end of a build that read its imports
(any branch; the indexer judges the fingerprint), with the module, the fingerprint
asked, the commit and the imports; SayImportsOn publishes it on
mesh.seat.<seat>.event.imports-reported.<node> (buildstep.ImportsReportedSubject),
id per module and fingerprint. A failed say is journalled and leaves the answer
standing; BuildAnswer.Imports stays as the say's input.

Builds: design 47 H2 H-A-517, H-A-518, H-A-532 DQ-2, DQ-7, DMC-2
2026-11-23 11:02:25 +01:00
jschoubben 9b81842090 C1: the build-step part says imports-reported, so a build module can report a module's import set
The build seats gain the event imports-reported.<node> (part build-step, form 4), body
{node, module, fingerprint, commit, imports}, all required, imports possibly empty, kept as
toolchain-reported (90 days, 16 MiB). Fixtures on node-build-go and node-build-node; the
image build module says none.

Builds: design 47 H2 H-A-517, H-A-518, H-A-532 DQ-2, DQ-13
2026-11-23 11:00:22 +01:00
jschoubben 81387d0f3b Pipelines page: one pipeline by tier and stage, and its delivery on each node
The operator read every step of main.417 as passed and took it for delivered
while it had failed on one step and no want was written: the page listed a
pipeline's steps flat, with no tier, no stage and no delivery. One pipeline now
shows a header (outcome, first failure's why, how many movers run their build
on every node they are placed on), then a block per tier with a row per mover,
a cell per stage (the worst outcome over its artifacts, waited, ran and why on
hover) and a cell per node its module is placed on (no want written, wanted,
applying, running the pipeline's build, held with why), in the web page and the
terminal view. The page reloads on the runner's events and on the wants',
haves' and assignments' changes the view already hears.

Builds: design 47 H2 H-A-531, H-A-531 addendum (hq 7dc6592b, f870d24b)
2026-11-23 10:56:14 +01:00
mesh-tools 7a9f3489a5 Merge pull request 'The runner asks no build node for a test step with nothing to run (design 47 H2, H-A-515)' (#352) from fix/nothing-to-run into main 2026-11-23 09:47:11 +00:00
jschoubben cec7d05651 pipeline runner: never ask a test step its build seat's steps says has nothing to run
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
2026-11-23 10:38:30 +01:00
jschoubben 82df41e671 build seats' steps: say lint is answered only where there is something to lint
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
2026-11-23 10:38:30 +01:00
mesh-tools 8a21bf5e96 Merge pull request 'Pipelines page: each step's waited and ran, not the asked time as its start (design 47 H2, H-A-516)' (#351) from fix/view-waited-ran into main 2026-11-23 09:26:57 +00:00
jschoubben 09df0bbf36 Pipelines page: each step's waited and ran, not the asked time as its start
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
2026-11-23 10:24:46 +01:00
mesh-tools 717a07ddfb Merge pull request 'Forge bridge whole test: read performed once the bridge acknowledged the act (design 47 H2 §807, §812)' (#350) from fix/forge-bridge-owed-once into main 2026-11-23 09:09:54 +00:00
jschoubben 8004bb98f0 Forge bridge whole test: read performed once the bridge acknowledged the act
TestBridgePerformsWhatIsOwedOnce read performed as soon as the first fill
key was purged, while the prune (run inside the write that keeps the act's
outcome) was still purging the others; on a loaded build node the count
landed mid-prune (main.278, 365, 401, 415: "performed holds 37116 bytes of
current values after its prune, want about its target 32768"). Made visible
locally by slowing each purge by 20 ms: the old test fails with the same
words, the new one passes.

The kind is a test acting on the first sign of an act (its owed.ended, one
purge) while the act's work goes on. The test now waits for the bridge's
acknowledgement of the named act on its durable, which comes only after the
outcome is kept and the prune ended: before reading performed after the
prune, and before stopping the bridge after the acts said while the forge
was away (a stop between outcome and keeping hears the act again, writing
performed while the test fills it).

Builds: design 47 H2 §812, §807
2026-11-23 10:02:46 +01:00
mesh-tools d7d22ca67f Merge pull request 'Seat container-image-registry gains name-of: the holder names an upstream copy (design 47 H2, H-A-513)' (#349) from fix/registry-name-of into main 2026-11-23 08:47:45 +00:00