Skip to content

docs(design): decide exact-fingerprint framework core-object serving; close out #1883 - #2136

Merged
zackees merged 1 commit into
mainfrom
agent/prebuilt-1883-final
Nov 21, 2026
Merged

zackees merged 1 commit into
mainfrom
agent/prebuilt-1883-final

Conversation

@zackees

@zackees zackees commented Nov 21, 2026

Copy link
Copy Markdown
Member

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.md gains decision 8, docs/design/README.md points at it.

Decisions

Fingerprint design — per-component content IDs taken in staging (core; SDK once per required variant; skeleton) plus a recipe number for compat patches. A component with no stamp has no identity and the build compiles from source.

Considered Verdict
(a) whole core+SDK+MCU recipe as one immutable install rejected: duplicates the 2.6 GB core tree per chip and discards the shared-core / per-chip-slice layout
(b) separate immutable components, each fingerprinted chosen
(c) re-hash the installed tree after provisioning (what #1883's 65fb7379 implemented) rejected: tools/esp32-arduino-libs/ is shared by every MCU on a core version, so the hash depends on which other boards the user has built
(d) sha256 of each downloaded archive rejected: a slice and the whole bundle install the same bytes from different archives

Flag naming — --no-prebuilt-libs / FBUILD_NO_PREBUILT_LIBS stays 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-prebuilt and FBUILD_PREBUILT must not ship (decision 1 already rejected --no-prebuilt).

Merge vs split — close #1883, land the decision, defer the implementation to #1882.

Considered Verdict
Rebase and merge #1883 rejected: 508 commits behind, conflicts in 12+ files, identity scheme is option (c), flags are the rejected spelling, bucket keys predate decision 2
Cherry-pick the library pieces (content_manifest, Catalog reader, daemon transfer) rejected: without the planner nothing calls them
Land only the decision; re-implement against it later chosen

Why no code

I looked for a piece of #1883 that is useful on main by itself and found none: the content-manifest, extractor, reader and transfer code have no caller without the planner; the compile_argv extraction exists only to give the fingerprint a second caller; the mirror-reader change only matters once a prebuilt-* shard is indexed, and none is. I also found no completion-boundary bug on main that 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.

…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
@coderabbitai

coderabbitai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

Parsing warnings: 1

Validation error: Unrecognized key: "enabled" at "reviews.pre_merge_checks"
Configuration instructions

  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@zackees
zackees added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit 9e9e31b Nov 21, 2026
31 checks passed
@zackees
zackees deleted the agent/prebuilt-1883-final branch November 21, 2026 10:53
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant