Catalog answers from its newest trunk revision in memory (A-479, A-487, A-487b, A-487c) #251

Merged
mesh-tools merged 10 commits from fix/catalog-answers-from-memory into main 2026-11-19 10:48:59 +00:00
Member

The seat mesh-catalog's verbs answered by reading the trunk view, and the catalog half asked its own seat for its revision: under load it waited on itself ("marks of mesh-delivery-indexer are not read", met 11-16, 11-18 and 11-19 02:00-07:15).

  • Every catalog verb answers from the newest trunk revision held in memory; module reads one module (A-487, A-487c).
  • The catalog half reads its newest revision from its own objects at the start and on the heard mesh-catalog.catalog-revision, never by asking its own seat (A-487b); a failed re-read is said as behind.
  • Carries A-479 (ea106ea8) and A-476 (the take-in asks no validation, holds for no indexer build).

Lead answers: hq 03-DESIGN/01-to-be/47-milestones/ A-479, A-487, A-487b, A-487c (hq #717, #718, #719).

Runs on novox since 01:56 as a hand pack (pack61); no catalog timeout since.

Manifest validator (indexer judge, run locally on the branch's manifests with the trunk's): mesh-delivery-indexer adds no problem against main; what it still refuses (the assigner's views assignments, seat-holders) it refuses on main the same way.

Known failure on main, not this change: TestIndexerCountsOnlyThePlacedBuildNodesToolchains (integration).

Reviewed-by: review-487@shanks at 37dd3dac13

https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy

The seat mesh-catalog's verbs answered by reading the trunk view, and the catalog half asked its own seat for its revision: under load it waited on itself ("marks of mesh-delivery-indexer are not read", met 11-16, 11-18 and 11-19 02:00-07:15). - Every catalog verb answers from the newest trunk revision held in memory; `module` reads one module (A-487, A-487c). - The catalog half reads its newest revision from its own objects at the start and on the heard `mesh-catalog.catalog-revision`, never by asking its own seat (A-487b); a failed re-read is said as behind. - Carries A-479 (ea106ea8) and A-476 (the take-in asks no validation, holds for no indexer build). Lead answers: hq `03-DESIGN/01-to-be/47-milestones/` A-479, A-487, A-487b, A-487c (hq #717, #718, #719). Runs on novox since 01:56 as a hand pack (pack61); no catalog timeout since. Manifest validator (indexer `judge`, run locally on the branch's manifests with the trunk's): mesh-delivery-indexer adds no problem against main; what it still refuses (the assigner's views `assignments`, `seat-holders`) it refuses on main the same way. Known failure on main, not this change: `TestIndexerCountsOnlyThePlacedBuildNodesToolchains` (integration). Reviewed-by: review-487@shanks at 37dd3dac13efea1f1e49e4163a4ed0f2fc8a916a https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
mesh-tools added 10 commits 2026-11-19 10:47:40 +00:00
(a) validation_wait.go and validate.go go with the validation ask, its end consumer, indexer_validate_again and
Pending.Validation; (b) evaluate always takes the revision in with the build the program runs (holdFor and the build
comparison go); (c) a merge's recompute writes only the modules registered for its repository.

Builds: design 47 G A-476 (a), (b), (c)
The recompute of a merge leaves a module of another repository as held unless its imported package versions changed
(ADR 0593 §3 stands). TestIndexerCountsOnlyThePlacedBuildNodesToolchains reports language versions (A-471).

Builds: design 47 G A-476a, A-471
ErrOwnBuildUnknown, its say and the own-build-unknown wait, TakeIn.Unknown and Failed go; the build only names the writer.
indexer_take_in_pending takes only a group in. The node-build-go accept.check and output invokes go. A module of another
repository stays as held inside of(), so a base of this repository's module is not given a value that is never written
(A-476 c, A-476a); one case in the toolchains test proves it.

Builds: design 47 G A-476, A-476a
A revision whose message is unread or lost, or held for room, has a hand recovery; its description says nothing of an indexer build.

Builds: design 47 G A-476
A pending revision now holds a lost or unread message or a refusal; the watchman's finding and the view's wait say so, the take-in
event no longer requires WaitsFor (old values still decode), and the hand take-in comment loses the build.

Builds: design 47 G A-476 (b)
The tools bundle's verbs module, modules, provides and dependents read the modules and the module graph key by key from
the newest trunk revision, and each key listed the whole catalog-revisions bucket again (6 s per call at 11 000 objects,
35 s with 12 callers); seat-definitions read its state once per seat. The view is read once per call (SourceValues), the
seat definitions come from a watched copy, a manifest is read once by its digest.

Builds: design 47 G (the seat mesh-catalog's verbs served by the indexer's tools bundle; ADR 0604 §2, ADR 0580 clause 1)
The tools bundle's view of the trunk (KeptTrunk) is made from the half of the catalog its own follower
of the seat holds (meshcatalogclient.WireCatalog on a views.Reader: the newest revision once at the
start, again on the seat's event catalog-revision), once per revision, and says each read with its
revision, module count and time. A read no longer lists catalog-revisions or fetches the newest
revision object. The verb module reads the one module it is asked (CatalogRead.Module). The manifest
consumes mesh-catalog.catalog-revision and invokes seat:mesh-catalog.revision for the follower.

Builds: design 47 G §421, lead answer A-487 (03-DESIGN/01-to-be/47-milestones/G-22-lead-answers-2.md)
KeptTrunk reads the newest trunk revision from catalog-revisions once at the start (a follower of the
bundle's views.Reader, adopted on the seat's event catalog-revision) and re-reads once for each heard
event of a newer trunk revision; reads list nothing. The invoke seat:mesh-catalog.revision and the
meshcatalogclient follower are removed; the consume stays.

Builds: design 47 G §421, lead answers A-487 and A-487b (03-DESIGN/01-to-be/47-milestones/G-22-lead-answers-2.md)
KeptTrunk also holds the newest revision and its entries, and the manifests the entries carry by digest.
The verb revision asked of the trunk's newest and the manifests the verbs module and provides read come
from it, with no read of the bucket or the manifests state; a candidate, a branch and an older number
still read the bucket. A failed re-read says the view is BEHIND and the next heard catalog-revision
reads again. The follower's state is named catalog-half.

Builds: design 47 G §421, lead answers A-487, A-487b, A-487c (03-DESIGN/01-to-be/47-milestones/G-22-lead-answers-2.md)
Builds: design 47 G A-487..A-487c, A-479

# Conflicts:
#	modules/mesh-delivery-indexer/cmd/mesh-delivery-indexer-tools/catalog.go
#	modules/mesh-delivery-indexer/cmd/mesh-delivery-indexer-tools/main.go
mesh-tools merged commit 7ba0eddd92 into main 2026-11-19 10:48:59 +00:00
mesh-tools deleted branch fix/catalog-answers-from-memory 2026-11-19 10:48:59 +00:00
Author
Member

{
"records": [
{
"instance": "record/main_1024_1aea1eb9/eb29b74bad7ef83e",
"sequence": 10143,
"bytes": 2356,
"of-bytes": 262144,
"waits": "its difference is not known yet",
"record": {
"milestone": "main.1024",
"heads": {
"novox/mesh-delivery@251": "7ba0eddd924010465023c01b5285c315478dfbe1"
},
"opened": "2026-11-19T10:55:25.910886444Z",
"form": 1,
"group": {
"group": "",
"members": [
"novox/mesh-catalog@703",
"novox/mesh-delivery@251",
"novox/mesh-host@238"
],
"pulls": [
{
"repository": "novox/mesh-delivery",
"number": 251,
"head": "7ba0eddd924010465023c01b5285c315478dfbe1",
"state": "merged",
"commit": "7ba0eddd924010465023c01b5285c315478dfbe1"
}
]
},
"entries": {
"mesh-delivery-gate|src2:cf9de6b8b18e3ddfc74b52aae3364a4b6886caf70642a33fc0c5a4d72fe93efd|": {
"key": "mesh-delivery-gate|src2:cf9de6b8b18e3ddfc74b52aae3364a4b6886caf70642a33fc0c5a4d72fe93efd|",
"module": "mesh-delivery-gate",
"fingerprint": "src2:cf9de6b8b18e3ddfc74b52aae3364a4b6886caf70642a33fc0c5a4d72fe93efd"
},
"mesh-delivery-pipeline|src2:2458e378974fc447e7844ab5300c419fead8322c9aa073b233fd726c4647644f|": {
"key": "mesh-delivery-pipeline|src2:2458e378974fc447e7844ab5300c419fead8322c9aa073b233fd726c4647644f|",
"module": "mesh-delivery-pipeline",
"fingerprint": "src2:2458e378974fc447e7844ab5300c419fead8322c9aa073b233fd726c4647644f"
},
"mesh-delivery-view|src2:2c9492a312223f8c063731f2a570df2b186c1e8b5041bdf9083a70ba0fa76272|": {
"key": "mesh-delivery-view|src2:2c9492a312223f8c063731f2a570df2b186c1e8b5041bdf9083a70ba0fa76272|",
"module": "mesh-delivery-view",
"fingerprint": "src2:2c9492a312223f8c063731f2a570df2b186c1e8b5041bdf9083a70ba0fa76272"
},
"mesh-delivery-watchman|src2:b1ad9112ca98087eb0e10c8b3405c351b7905a7150596bc1d8cee49ca85e0195|": {
"key": "mesh-delivery-watchman|src2:b1ad9112ca98087eb0e10c8b3405c351b7905a7150596bc1d8cee49ca85e0195|",
"module": "mesh-delivery-watchman",
"fingerprint": "src2:b1ad9112ca98087eb0e10c8b3405c351b7905a7150596bc1d8cee49ca85e0195"
},
"mesh-host|src2:4b172809961587706ee3581a1bcb38e2a385ec17085ee9cb83cda10fbeb6f4f2|": {
"key": "mesh-host|src2:4b172809961587706ee3581a1bcb38e2a385ec17085ee9cb83cda10fbeb6f4f2|",
"module": "mesh-host",
"fingerprint": "src2:4b172809961587706ee3581a1bcb38e2a385ec17085ee9cb83cda10fbeb6f4f2"
}
},
"outcomes": {
"|||take-in": {
"key": "|||take-in",
"module": "",
"step": "take-in",
"outcome": "taken-in",
"why": "lead-47@shanks: revision held since 2026-11-18 02:11 for indexer build src2:4da92308, which never runs (own build a0a26664); holds six merges incl. mesh-delivery #251 and mesh-host #238; A-476 in #250/#251 removes this hold",
"at": "2026-11-19T10:55:25.910257963Z"
}
}
}
}
]
}

<!-- mesh-delivery:view --> { "records": [ { "instance": "record/main_1024_1aea1eb9/eb29b74bad7ef83e", "sequence": 10143, "bytes": 2356, "of-bytes": 262144, "waits": "its difference is not known yet", "record": { "milestone": "main.1024", "heads": { "novox/mesh-delivery@251": "7ba0eddd924010465023c01b5285c315478dfbe1" }, "opened": "2026-11-19T10:55:25.910886444Z", "form": 1, "group": { "group": "", "members": [ "novox/mesh-catalog@703", "novox/mesh-delivery@251", "novox/mesh-host@238" ], "pulls": [ { "repository": "novox/mesh-delivery", "number": 251, "head": "7ba0eddd924010465023c01b5285c315478dfbe1", "state": "merged", "commit": "7ba0eddd924010465023c01b5285c315478dfbe1" } ] }, "entries": { "mesh-delivery-gate|src2:cf9de6b8b18e3ddfc74b52aae3364a4b6886caf70642a33fc0c5a4d72fe93efd|": { "key": "mesh-delivery-gate|src2:cf9de6b8b18e3ddfc74b52aae3364a4b6886caf70642a33fc0c5a4d72fe93efd|", "module": "mesh-delivery-gate", "fingerprint": "src2:cf9de6b8b18e3ddfc74b52aae3364a4b6886caf70642a33fc0c5a4d72fe93efd" }, "mesh-delivery-pipeline|src2:2458e378974fc447e7844ab5300c419fead8322c9aa073b233fd726c4647644f|": { "key": "mesh-delivery-pipeline|src2:2458e378974fc447e7844ab5300c419fead8322c9aa073b233fd726c4647644f|", "module": "mesh-delivery-pipeline", "fingerprint": "src2:2458e378974fc447e7844ab5300c419fead8322c9aa073b233fd726c4647644f" }, "mesh-delivery-view|src2:2c9492a312223f8c063731f2a570df2b186c1e8b5041bdf9083a70ba0fa76272|": { "key": "mesh-delivery-view|src2:2c9492a312223f8c063731f2a570df2b186c1e8b5041bdf9083a70ba0fa76272|", "module": "mesh-delivery-view", "fingerprint": "src2:2c9492a312223f8c063731f2a570df2b186c1e8b5041bdf9083a70ba0fa76272" }, "mesh-delivery-watchman|src2:b1ad9112ca98087eb0e10c8b3405c351b7905a7150596bc1d8cee49ca85e0195|": { "key": "mesh-delivery-watchman|src2:b1ad9112ca98087eb0e10c8b3405c351b7905a7150596bc1d8cee49ca85e0195|", "module": "mesh-delivery-watchman", "fingerprint": "src2:b1ad9112ca98087eb0e10c8b3405c351b7905a7150596bc1d8cee49ca85e0195" }, "mesh-host|src2:4b172809961587706ee3581a1bcb38e2a385ec17085ee9cb83cda10fbeb6f4f2|": { "key": "mesh-host|src2:4b172809961587706ee3581a1bcb38e2a385ec17085ee9cb83cda10fbeb6f4f2|", "module": "mesh-host", "fingerprint": "src2:4b172809961587706ee3581a1bcb38e2a385ec17085ee9cb83cda10fbeb6f4f2" } }, "outcomes": { "|||take-in": { "key": "|||take-in", "module": "", "step": "take-in", "outcome": "taken-in", "why": "lead-47@shanks: revision held since 2026-11-18 02:11 for indexer build src2:4da92308, which never runs (own build a0a26664); holds six merges incl. mesh-delivery #251 and mesh-host #238; A-476 in #250/#251 removes this hold", "at": "2026-11-19T10:55:25.910257963Z" } } } } ] } <!-- mesh-act:view.record/main_1024_1aea1eb9/eb29b74bad7ef83e.novox/mesh-delivery#251@1795085729134838559.ef73999c -->
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#251