Repository navigation
feat(toolchain): list the proven linux-arm64 esp32s3 slice; prove it from the ref - #1965
Merged
Merged
Conversation
…e ref #1956 step for linux-arm64 (the last of the CI/ARM hosts that still downloaded the ~176 MB unified archive). The slice object is already in the bucket and is byte-identical to a fresh slice of the metadata-pinned vendor bundle (sha256 15e485dd…, 104,408,554 B == 171,504,672 B whole archive), so this only registers the entry: `toolchain-xtensa-esp-elf/14.2.0_20260121/linux-arm64` with `esp32s3` (chips stay additive; every other chip keeps the whole-archive fallback). The proof harness now builds the client FROM the dispatched ref instead of installing fbuild==2.5.51: the registry-path slice fix (#1963) merged after the last release, and a wheel without it silently ignores `FBUILD_MIRROR_MANIFEST_URL` (#1961), so a wheel-based run would pass on a build that never touched the slice. Both builds still require identical flash/ram AND a chip-scoped install dir with no whole archive in the cache. Gate evidence before the run: publish_toolchain_slices --check agrees with the committed descriptor (ab46b1ac…, 3011 B); `soldr cargo test -p fbuild-packages-fetch --lib -- committed_toolchain_shard` resolves the entry through the real client parser; 43 slicer/publisher tests OK.
|
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.
#1956, host 1 of 3: linux-arm64. Last step was #1963, which made a listed slice actually reachable from the registry-resolved toolchain path.
What this lists
site/mirror/shards/esp-toolchain.jsongains one component,toolchain-xtensa-esp-elf/14.2.0_20260121/linux-arm64, with theesp32s3slice only. Chips are additive:
esp32/esp32s2(and every non-Xtensa target)keep the whole-archive fallback.
site/mirror/manifest.jsondescriptor isregenerated (
ab46b1ac…, 3011 B) andpublish_toolchain_slices.py --checkagrees with it.
The objects were already in the bucket from the earlier attempt; this PR only
registers them. Both were re-verified before listing:
…/linux-arm64/whole/xtensa-esp-elf-14.2.0_20260121-aarch64-linux-gnu.tar.xz80ae10ce…== metadata pin…/linux-arm64/esp32s3/…-esp32s3.15e485dddf36539a.tar.zst15e485dd…== fresh re-slice of the pinned bundleProof (real arm64 host, not size-equality alone)
.github/workflows/esp32s3-arm64-slice-proof.ymlnow builds the client fromthis ref instead of
uv tool install fbuild==2.5.51: the registry-path slicefix (#1963) merged after that release, and a wheel without it silently ignores
FBUILD_MIRROR_MANIFEST_URL(#1961) — so a wheel-based run "passed" on a buildthat never touched the slice. The harness builds
fbuild+fbuild-daemonnext to each other (the CLI prefers the sibling daemon) and then does two cold
builds.
Run 42526030221 on
ubuntu-24.04-arm(aarch64), all steps green:That last line is the part that matters: sizes alone were identical in the
earlier runs that never used the slice. The harness fails unless a
…+esp32s3install directory exists and no whole.tar.xzis anywhere inthe slice build's cache.
Gates
uv run --with zstandard python -m unittest ci.test_publish_toolchain_slices ci.test_slice_toolchain→ 43 tests OKci.test_gen_mirror_manifest→ 18 OKsoldr cargo test -p fbuild-packages-fetch --lib -- committed_toolchain_shard→ 1 passed (real client parser resolves the new entry)publish_toolchain_slices.py --check→ component + descriptor consistentNot in this PR
macos-arm64andwin32(issue steps 2-3) still need their own host proofs;linux-armel/armhf/i686are almost certainly not worth the bytes.