Commit Graph
776 Commits
Author SHA1 Message Date
jschoubben 76212a0d4d I7 failed-record: the read of the registered failed records passes over a registration kept under a source. key; the whole test frees a failed record on registration-changed with a source-only registration present
Builds: design 47 H2 H-A-756, H-A-572 (2) (AC-I7c)
2026-11-25 18:58:48 +01:00
jschoubben ca04a5acbe I7 failed-record, I8 pin-drop-record: steps of TestIndexerWhole hold the failed record of an unfinished module, of a kept mover at a cancelled end, its drop by record, and its freeing when the module leaves the registrations
Builds: design 47 H2 H-A-566, H-A-572 (2) (3), H-A-595, H-A-608 (AC-I7a, AC-I7b, AC-I7c, AC-I8; review round 1)
2026-11-25 18:57:12 +01:00
jschoubben c7b137863e I9 dropped-subjects-acked: TestIndexerWhole reads that the events of the dropped subjects raise no finding event-unhandled
Builds: design 47 H2 H-A-578 (2), H-A-651 (AC-I9; review round 1)
2026-11-25 18:51:49 +01:00
jschoubben 5e9fd3bd28 I10 released-pin-needs-no-contents: acceptedSeries drops its guard on the series' contents
Builds: design 47 H2 H-A-748 (H-A-744, H-A-672)
2026-11-25 18:29:42 +01:00
jschoubben ac9711c532 I10 kept-packages-and-pins: a series pins the newest version the indexer released of its module, and a view read back fills a blank package from the pin
Builds: design 47 H2 H-A-659, H-A-660, H-A-744 (AC-I10a, AC-I10b)
2026-11-25 18:27:51 +01:00
jschoubben bbbcf9f148 Judge tests: testdata/beside takes mesh-catalog again at fcc24fc4 (feat/47-H2-corrections, twin-current-hours runtime)
Builds: design 47 H2 H-A-428, H-A-430 (3)
2026-11-25 17:49:17 +01:00
jschoubben cc607f38e6 Judge tests: testdata/beside takes mesh-catalog again at 99b9b826 (feat/47-H2-corrections)
Captured with the procedure testdata/beside/CAPTURED gives, from the joined mesh-catalog worktree; CAPTURED names the commit.

Builds: design 47 H2 H-A-428, H-A-430 (3) (the captured copy of the catalogue's head)
2026-11-25 17:48:05 +01:00
jschoubben 861c753f96 I5b digests-from-the-publisher: the whole test's third take-in of mesh-sdk names the importer a mover, its entry naming mesh-sdk with no version
Builds: design 47 H2 H-A-672 (DQ-21), H-A-521, H-A-530 (AC-I5b)
2026-11-25 17:47:26 +01:00
jschoubben 7b983a6afe I3 needs-rules: TestIndexerWhole holds the need rules on each revision and the derivation of the unmoved entries' needs
Builds: design 47 H2 H-A-569 (2), H-A-605 (4), H-A-586
2026-11-25 17:47:26 +01:00
jschoubben dfc675cf00 I9 dropped-subjects-acked: TestIndexerWhole acknowledges an event of each dropped subject on the durable's filter
The bed's stream and durable filter hold the two dropped subjects; the whole test publishes one of each and waits for the
consumer's ack floor to pass them.

Builds: design 47 H2 H-A-578 (2), H-A-651, H-A-706
2026-11-25 17:45:18 +01:00
jschoubben 1b4d7e5c8d I15 starting-indexer-answers: the starting indexer answers away while its start's read of the trunk holds the view, and says its start's phases
KeptTrunk.Unread and current answer the fault away naming "the trunk's revision <n>" while the start's read holds the view, and
never wait behind it; the verb revision asks it first; the tools' watched copies (seat-definitions, config readers) ask
WatchedStates.Unread before they read and are watched from the bundle's start. The indexer's start says each step as a phase of
mesh-sdk's ProcessReader (BeginPhase, EndPhase), kept at start-phase of the state first-views. Rows: a unit test of the held
read, one of the watched copy, and TestIndexerWhole's phases and held-read case.

Builds: design 47 H2 H-A-708 (1) (2), H-A-717 DQ-54, H-A-733 (2)
2026-11-25 17:42:54 +01:00
jschoubben 5922da0a92 I8 pin-drop-record: indexer_pin_drop with record drops that one record from every pin holding it, the pins' other records staying
Builds: design 47 H2 H-A-572 (3)
2026-11-25 17:37:22 +01:00
jschoubben f1f2d352e5 I7 failed-record: a mover not delivered at a failed or cancelled end, or named in unfinished, pins its entry's revision and that revision's base under failed.<branch>.<module>, freed when it passes, a newer revision moves it or its module or branch leaves the registrations
Builds: design 47 H2 H-A-566, H-A-572 (1) (2), H-A-595, H-A-608, H-A-649 (af09bb9a taken as new code, H-A-565 (2) (3) not)
2026-11-25 17:36:32 +01:00
jschoubben 69ed0d95f4 I5 digests-from-the-publisher: a Go package artifact's entry keeps its packages' digests, an importer's fingerprint reads them from the publishing entry, the import form takes no accepted-series override
Builds: design 47 H2 H-A-580, H-A-672 (DQ-21), H-A-521, H-A-530
2026-11-25 17:32:44 +01:00
jschoubben bcf170a003 I9 dropped-subjects-acked: the hub acknowledges toolchain-agreed and wait-ended with no work and says each subject once
Builds: design 47 H2 H-A-578 (2), H-A-651, H-A-706
2026-11-25 17:25:45 +01:00
jschoubben 336d2abaa8 I6 npm-test-files: the files of an npm package that leave its digest are the indexer's setting npm-test-files, no pattern left in code
Builds: design 47 H2 H-A-598, H-A-573
2026-11-25 17:24:26 +01:00
jschoubben 13eccb33b3 I12 ledger-end-rules: ended-days 1 to 3650, an ends-with naming a field of its schema, ended-days and ends-with given together
Builds: design 47 H2 H-A-634 (3), H-A-690
2026-11-25 17:23:32 +01:00
jschoubben cb8046c355 Judge tests: a holder's served verbs are read from the seat's definition, the uplink's decision is read as naming ADR 0117
The kind: a test that lists a seat's verbs or decision by hand breaks when the seat gains one; met at mesh-networking a49d6d0 (node-resolver's uplink-names, node-uplink's decisions).

Builds: design 47 H2 issue 1984 (lead answer of 25 Nov, thorough fix)
2026-11-25 17:22:40 +01:00
jschoubben 7f67e209e6 I3 needs-rules: each revision carries judge.NeedsRules, a take-in at a higher number derives the unmoved entries' needs from their manifests again
Builds: design 47 H2 H-A-569 (2), H-A-605 (4), H-A-586
2026-11-25 17:21:35 +01:00
jschoubben ca91d4e85b I4 consumes-on-entry: an entry's consumes equals its manifest's
Builds: design 47 H2 H-A-621
2026-11-25 17:20:45 +01:00
jschoubben 3baef9df5b I11 entry-needs: CatalogEntryOf writes the entry's needs from the module's value, ModuleValueOf reads them back
Builds: design 47 H2 H-A-682 (1), H-A-568, H-A-569 (2)
2026-11-25 17:20:01 +01:00
jschoubben d4ea1f3445 I2 own-put-needs-runs-as: a manifest invoking seat:mesh-vault.own-put without runs-as is refused, a get is not
Builds: design 47 H2 H-A-576, H-A-584, H-A-670
2026-11-25 17:19:06 +01:00
jschoubben af5a7e5870 I1 needs-in-the-judge: ManifestNeeds and ModuleNeeds move into the manifest validator, read field by field through catalogue.Manifest, a key taken only where ManifestReads names its path
Builds: design 47 H2 H-A-568, H-A-622, H-A-639, H-A-640, H-A-669
2026-11-25 17:18:28 +01:00
jschoubben a58daa9cf7 I16 mesh-fingerprint-refused: a manifest naming MESH_FINGERPRINT in any env is refused
Builds: design 47 H2 H-A-710 (1)
2026-11-25 17:14:30 +01:00
jschoubben 661203451f I13 state-cap-64: a state's max-mib is at most 64
Builds: design 47 H2 H-A-678, H-A-694
2026-11-25 17:13:55 +01:00
jschoubben de7110032b I14 indexer-tools-comment: the package comment names only what the package serves
Builds: design 47 H2 H-A-684 (3)
2026-11-25 17:13:55 +01:00
jschoubben 0239cf3ac4 DC6b: the indexer's take-in test names pipeline-started's movers as StartedMover
Builds: design 47 H2 H-A-709 (3)
2026-11-25 17:13:55 +01:00
jschoubben b7b3891a4a T1 indexer: blank only a mover's entry (issue 1984)
The take-in blanked a package's pin in every import-form entry, the
node-engine's among them though it was no mover, and nothing filled it:
every composition of main.506 could not run. A module that is no mover
of the take-in keeps its pins, since no step of that pipeline builds it.

Tests: TestMoversOf gains the subcase "an import-form importer that is no
mover keeps its pin of a package a mover publishes" (1984/AC7); I12's
subcase is kept as 1984/AC8. TestASourceRevisionMovingMeshSDKNamesItAndItsImporters
(integration) asserted the old blank for importer at m3's take-in, where
the take-in makes importer no mover (its fingerprint does not move,
noted on issue 1984 as note 24); its assertion now follows H-A-628 (1):
blank where importer is a mover of that take-in, its pin kept where not.

Builds: design 47 H2 H-A-628 (1) (hq cea6404c); D1 H-A-532 DMC-1; D2 H-A-547 (2)
2026-11-23 21:55:02 +01:00
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 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 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 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 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 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
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 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