Test copies of node-uplink, node-resolver and node-display-session byte for byte (design 08 sign-in-page) #214

Merged
mesh-tools merged 3 commits from feat/sign-in-page into main 2026-11-25 00:20:05 +00:00
3 Commits
Author SHA1 Message Date
jochen 40ac107900 Copy node-resolver byte for byte from mesh-connectivity-contracts
node-resolver.json is copied byte for byte from mesh-networking
modules/mesh-connectivity-contracts/seats/node-resolver/seat.json (11a1195, after its fix giving
routes' answer outside_writes as systemd-resolved does). node_resolver_test.go's decision text now
matches the real definition ("novox/hq ADR 0247, ADR 0687"); its verb list already matched.

This completes C-3 for mesh-sdk: all three test copies are now byte-for-byte copies of their
contracts modules' definitions.

Builds: design 08 sign-in-page §1, §2, §3; lead answer C-3
2026-11-24 21:50:43 +01:00
jochen 7c3e439e32 Copy node-uplink and node-display-session byte for byte from their contracts modules
Code review round 1 found the test copies were not copies: a reconstruction from the holders'
code drifted in a few fields and added ADR 0613 to the decision, which the real definitions do
not carry. node-uplink.json is copied byte for byte from mesh-networking
modules/mesh-connectivity-contracts/seats/node-uplink/seat.json (8d993ea), and
node-display-session.json from mesh-contracts seats/node-display-session/seat.json (3260a68a).
graphical_session_test.go's decision text now matches the real definition
("novox/hq ADR 0208, ADR 0687"). node-resolver.json and node_resolver_test.go wait for
mesh-networking's fix for outside_writes.

Builds: design 08 sign-in-page §1, §3; lead answer C-3
2026-11-24 21:48:49 +01:00
jochen 18c68fda5a Refresh the test copies of node-uplink, node-resolver and node-display-session to their whole definitions
mesh-sdk joins the sign-in-page milestone only to replace its seatlisttest copies with the three
seats' whole definitions, and to update the two tests that assert today's verbs; the seat-name
constants and the package's own code stay untouched (ADR 0613 §5: nothing seat-specific is added
to mesh-sdk).

Builds: design 08 sign-in-page §1, §2, §3, §4
2026-11-24 21:13:21 +01:00