Design 47 H2: H-A-498, a module's test does not re-validate its manifest
This commit is contained in:
@@ -1196,3 +1196,9 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
|
||||
is taken in (by the room, by the start or by hand), the indexer takes in the next held source of that branch at
|
||||
once, in order, until one is held again or none is left; every take-in it starts this way is said in the journal.
|
||||
P-failure-loud, principle 9 (nothing waits on a hand that the part can do itself).
|
||||
- **H-A-498 (a module's test does not re-validate its manifest, 01:30)** 22 Nov 21:16: all 15 desktop modules
|
||||
failed their tools' unit tests because a copied test helper decodes module.json refusing unknown fields and did not
|
||||
know `class` (H2 §810, added to 141 manifests). Manifest strictness is the catalog check's (mesh-judge) alone: a
|
||||
module's test reads its manifest leniently (unknown fields ignored) and asserts only what the module itself
|
||||
promises (its claims, files, tools). Every copy of the helper (the 15 desktop modules, pacman, and any other test
|
||||
that decodes module.json strictly) drops the strict decode in one change. P3, principle 13 (no shared helper for it).
|
||||
|
||||
Reference in New Issue
Block a user