Repository navigation
docs(design): decide exact-fingerprint framework core-object serving; close out #1883 - #2136
Merged
Merged
Conversation
…1882) Adds decision 8 to the artifact-serving record and closes out pilot PR #1883 (tip c4b8039, author Zach Vorhies) without merging it. - Fingerprint: per-component content IDs taken in staging (core, SDK per required variant, skeleton) plus a patch-recipe number. The pilot's re-hash of the installed tree is rejected: tools/esp32-arduino-libs is shared by every MCU on a core version, so a whole-tree hash depends on which other boards the user has built. - Flags: --no-prebuilt-libs / FBUILD_NO_PREBUILT_LIBS stays the only public opt-out and covers core objects too; research gate is a hidden --prebuilt-core. --prebuilt / --no-prebuilt / FBUILD_PREBUILT must not ship. - Records the pilot's own measurements (break-even on the 60-TU fixture, cold hit slower than source) and six required tests for a re-implementation. No code lands: nothing in the pilot is reachable without its planner. Refs #1882, #1883, #2135
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes out pilot PR #1883 ("Experimental exact-fingerprint prebuilt framework serving v1", author Zach Vorhies, tip
c4b803933056bcc10e23ea8f177e92c73fec8802) by recording the two decisions that blocked it. Docs only:docs/design/artifact-serving-decisions.mdgains decision 8,docs/design/README.mdpoints at it.Decisions
Fingerprint design — per-component content IDs taken in staging (core; SDK once per required variant; skeleton) plus a
recipenumber for compat patches. A component with no stamp has no identity and the build compiles from source.65fb7379implemented)tools/esp32-arduino-libs/is shared by every MCU on a core version, so the hash depends on which other boards the user has builtFlag naming —
--no-prebuilt-libs/FBUILD_NO_PREBUILT_LIBSstays the only public opt-out and covers core objects too. The research gate is a hidden--prebuilt-core/FBUILD_PREBUILT_CORE, deleted when the default flips.--prebuilt,--no-prebuiltandFBUILD_PREBUILTmust not ship (decision 1 already rejected--no-prebuilt).Merge vs split — close #1883, land the decision, defer the implementation to #1882.
content_manifest, Catalog reader, daemon transfer)Why no code
I looked for a piece of #1883 that is useful on
mainby itself and found none: the content-manifest, extractor, reader and transfer code have no caller without the planner; thecompile_argvextraction exists only to give the fingerprint a second caller; the mirror-reader change only matters once aprebuilt-*shard is indexed, and none is. I also found no completion-boundary bug onmainthat exists independently of prebuilt serving.The pilot's own bench also argues against urgency: on the 60-TU fixture a hit takes 10.7–11.6 s against a 12.7–18.9 s source build, and the cold hit from the real bucket (24.8 s) is slower than compiling.
Deferred
Verification
Docs-only diff (2 files, +100). No Rust or Python touched, so no build, test or lint run locally; hosted CI is the check.
Refs #1882, #1883, #2135.