Design 47 H2: H-A-530, the import form's fingerprint takes no pins (H-A-172 withdrawn)
This commit is contained in:
@@ -1618,3 +1618,13 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
|
||||
- **H-A-529 (the first report):** by ADR 0593 §4 a module's import-form fingerprint is written only at the first
|
||||
recompute where one of its own inputs or imported packages differs from the reporting build's, so the form costs no
|
||||
rebuild of its own. Principle 7.
|
||||
- **H-A-530 (the import form's fingerprint takes no pins; H-A-172 is withdrawn and H-A-167 holds for the version line
|
||||
only, 10:37)** 23 Nov 10:37: the gap survey of the import fingerprint found that every module's fingerprint carries the
|
||||
released version of each mesh Go module its go.mod requires (H-A-167, H-A-172), so a release of mesh-sdk's Go package
|
||||
re-pins and moves 125 modules whatever they import, even when the release's content is unchanged (main.416). ADR
|
||||
0593 §2 and §3 and H-A-521 settle it: a fingerprint of the import form takes each imported package by the digest of
|
||||
its files and no pin; a re-pin never moves it, and the indexer's re-pin on a release touches only modules still on
|
||||
the version line. A build against a newer release with the same content is the same build, so H-A-167's concern (a
|
||||
build done against an older pin) cannot arise where the content is equal, and where it differs the digest moves the
|
||||
importer. H-A-172 is withdrawn; H-A-167 holds for the version line until each module reports its imports (H-A-528).
|
||||
Principle 7 (no part without a need) and principle 3.
|
||||
|
||||
Reference in New Issue
Block a user