Design 47 H2: H-A-532, the import fingerprint's prepare answered (issue 721)
This commit is contained in:
@@ -1650,3 +1650,39 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
|
||||
mover placed on no node does not count as running, and the header says such movers apart ("1 of 3 movers run their
|
||||
build on every node they are placed on; 1 is placed on none"). Principle 3 (failure is loud): nothing that did not
|
||||
run reads as running.
|
||||
- **H-A-532 (the import fingerprint's prepare: fourteen design questions and eight places where design and code
|
||||
disagree, 10:56)** 23 Nov 10:56, issue 721. Each takes the preparer's recommendation unless said otherwise.
|
||||
- **DQ-1:** no glossary entry; the design lines say what an import set and the version line are, and a pin is named
|
||||
only for the version line (the operator, 23 Nov: a pipeline's words are the design's). Principle 7.
|
||||
- **DQ-2:** `imports-reported.<node>` on the build-step part (form 4), body {node, module, fingerprint, commit,
|
||||
imports}, said by the shared step runner at every build's end. Principle 1.
|
||||
- **DQ-3:** the indexer's state `imports`, one key per module, deleted with the module's key; read by the tool
|
||||
`indexer_imports`. Principles 2 and 4.
|
||||
- **DQ-4:** the digests kept are the import form's held digests; a version-line fingerprint keeps today's reading.
|
||||
Principle 7.
|
||||
- **DQ-5:** a Go package artifact reports its imports too, so a contracts module leaves the version line. Principle 3.
|
||||
- **DQ-6:** a TypeScript import set takes one digest per mesh npm package, said by the step tool
|
||||
`build_node_imports`. Principle 5.
|
||||
- **DQ-7:** the imports leave the builder's done key, its build log and the indexer's log path; the build-log read
|
||||
stays for paths and out-of-step findings. Principle 7.
|
||||
- **DQ-8:** the view's call of `indexer_read_packages` stays a call of the indexer's own tool; its live "no
|
||||
responders" is noted on the issue. Principle 1.
|
||||
- **DQ-9:** yes: the indexer's tag floor, its requirements state, `indexer_requirements`, the versions fill and
|
||||
`outdated` go. Principle 7.
|
||||
- **DQ-10, DQ-11, DQ-13:** as recommended. Principle 7.
|
||||
- **DQ-12:** the runner's carry of a failed pipeline's unfinished movers stays (design 47 H2 §786); the operator is
|
||||
told that the movers it carries show in the next pipeline until they finish. Principle 3.
|
||||
- **DQ-14:** a kind-1 edge goes to the longest Go module path that holds the import. Principle 3.
|
||||
- **DMC-1:** the take-in names no version for a package a mover of the same take-in publishes; the builder fills it
|
||||
from that pipeline's `package-published`, so the importer is built against the new content its fingerprint takes.
|
||||
Principle 3.
|
||||
- **DMC-2:** a build module says the event at every build's end; the indexer keeps it only for main's held
|
||||
fingerprint. Principle 12.
|
||||
- **DMC-3:** built as I11a, I11b and N1.
|
||||
- **DMC-4:** the code stands: a sub-directory that is no package of its own is read by the build and counts; H-A-524's
|
||||
"sub-directories" means sub-packages. Principle 3.
|
||||
- **DMC-5:** `builder_versions` keeps answering, from the reservations alone, since the Go registry's holder asks it
|
||||
on every publish. Principle 1.
|
||||
- **DMC-6:** a watched branch reads the import set from the `imports` state. Principle 7.
|
||||
- **DMC-7:** the indexer's whole test is rewritten at test 80's grain (I10), adding no integration test. Test budget.
|
||||
- **DMC-8:** a version-line dependent keeps today's reading until its first report (H-A-528). Principle 7.
|
||||
|
||||
Reference in New Issue
Block a user