Commit Graph
14 Commits
Author SHA1 Message Date
jschoubben eaf16ed5dc H2b-review-8 hub-rows-name-n1: the hub rows name the node n1, no real node
Builds: design 47 H2b §836 (review round 1, part 1, item 8)
2026-11-27 03:51:40 +01:00
jschoubben dda65f1cf2 S2 events-unheard: the hub says each pattern it does not hear, and the process reader raises the finding
OnUnheard is told the patterns not heard with stream and why (no stream carries it, not composed,
refused, registered after Start), the journal says each; the process reader raises events-unheard
(id module.node) from it and clears it on an empty list. A reader with no findings writer says
them in the journal alone. A late first adopt is among the unheard patterns.

Builds: design 47 H2b §836 4.; H-A-834, H-A-840, H-A-854
2026-11-27 03:00:35 +01:00
jschoubben 6a097cd036 S1 hub-binds-every-pattern: a handler registered after Start is refused, naming its pattern
Builds: design 47 H2b §836 3.
2026-11-27 02:57:06 +01:00
jschoubben 2e192b4ebf S1 hub-binds-every-pattern: Start binds every kept stream a pattern needs, OnAllHeard, wake on durables-composed
StartKept is folded into Start and StartUntilBound goes with its timer; a durable not bound is
bound on the grants part's durables-composed and at the bus connection's reconnect; OnBound is
told at each durable's bind.

Builds: design 47 H2b §836 1., 2.; H-A-834, H-A-835
2026-11-27 02:55:06 +01:00
jschoubben 1d7c996ac9 S6 event-hub-by-key: Handle keeps its earlier form; HandleByKey holds by key
Builds: design 47 H2 H-A-683 (1), H-A-737 (1)
2026-11-25 17:25:17 +01:00
jschoubben 065e73e1dd S7 event-overrun: the hub times each handling, the finding event-overrun, ViewKinds names both
Builds: design 47 H2 H-A-683 (3), H-A-697 (1) (2) (3)
2026-11-25 17:16:27 +01:00
jschoubben 4f2c6cbdc8 S6 event-hub-by-key: the hub hands events by key, holds each and says it in progress
Builds: design 47 H2 H-A-683 (1), H-A-695 (1) to (5)
2026-11-25 17:13:22 +01:00
jschoubben fedf9d2e7b Pull small batches in the event hub and keep slow handlers alive (H-A-281)
The hub pulled the bus client's default 500 messages per pull and handled
them one by one, so buffered messages outlived the 30 s ack wait and were
given again and handled twice (met live on the builder: 37 of 38
outstanding redelivered). HearEvents, the one pull of the hub and of
HearStream, now pulls at most twenty messages per pull and says in
progress for a message whose handler runs past a third of the consumer's
ack wait, read once from the bound consumer's information.

Builds: design 47 H H-A-281
2026-11-21 16:48:05 +01:00
jschoubben e568e6dc63 views: count the events no handler takes as the module's finding
An event a module consumes that no handler takes was said in the journal
alone, so a part that never acted on it (the runner's placing at 17:34) was
seen only by reading the log. The event hub now tells a hook of each such
subject; the process reader, where it holds a findings writer, counts them
in one finding event-unhandled per module (the count since the start and
the last subject) and clears it at its start, since a new build may handle
the event. Without a findings writer the journal line stands alone.

Builds: design 47 H H-A-166, H-A-169
2026-11-20 17:45:27 +01:00
jschoubben 5fa64be894 Revert the revert of G's mesh-sdk merge (#191): G's sdk stands again over reader release 3
Main reverted G's half merge (#189, reverted by 8afc3eb in #191) and then took the reader release's S1-S5, which
copied G's code. G's form holds where they differ (process_bus.go, seats.go, state.go and their tests); the
release's kept names stay so main's callers keep building: SeatViewPrefix beside SeatReadPrefix, and QueueInvoke's
empty strings on not-ok (with its test TestQueueInvoke). The tree differs from G's head f30dee54 only by those and
the release's two tests (objects cap option, seat states and stream kinds).

Builds: design 47 G (the milestone's sdk part, as at f30dee54)

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-13 12:49:56 +01:00
jschoubben 8afc3ebdf3 Revert G's mesh-sdk merge (#189): G merged half, and today's validator refuses G's delivery parts
mesh/delivery merged: source.main moved to novox/mesh-sdk@27da949140c6
mesh/check being carried to 8afc3ebdf371 on 93e0a7b50d90 | from 27da949140c6
The group feat/47-G-join11 merged 3 of 17 members on 2026-11-13; G's mesh-sdk alone on main breaks 25 trunk
modules. The operator chose to put the order right: a reader release first, then G whole. This restores main
to 8fbba810 exactly.

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-13 11:12:48 +01:00
jschoubben 4bcb6f86a4 R-3: W1.12: one stream name
A seat event's stream has one bus name, seatdef.KeptStream's, which the
generated contract carries as Stream<E>: HearSeatEvents takes it as it
stands and refuses a dotted or unprefixed name by name, so no part makes
the name a second time (SEAT_SEAT_...).

Builds: design 47 G §260

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-11 10:51:07 +01:00
jschoubben 769dcf16e3 R-3: W1.12: a module hears a seat's event kept on its own stream through its durable
A seat's event kept apart from its family (the node-engine seat's running, kept last per subject; mesh-delivery's owed,
a stream with an age and a cap) had no helper: EventHub binds only the shared events stream, and dev-G-engine and
dev-G-forge each met it. process.SeatStreamName is the bus's name of a contract's Stream<E> (SEAT_<seat>_<event>), one
rule for its maker and its hearers; Account.SeatEventConsumerConfig the module's durable as the maker makes it (last
per subject where the event is kept so); Account.HearSeatEvents binds and pulls it, making nothing.

Builds: design 47 G §260, §24, §39, §146, §153, §199

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-11 10:51:06 +01:00
jschoubben e648fe5374 process: one EventHub pulls the module's one durable consumer, handlers by subject pattern; the views reader registers on it instead of pulling (class fix of B7c finding 1; ADR 0635 §5; issue 1966)
Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
2026-11-05 15:07:39 +01:00