Skip to content

feat(toolchain): list the proven linux-arm64 esp32s3 slice; prove it from the ref - #1965

Merged
zackees merged 1 commit into
mainfrom
agent/arm64-slice-list
Nov 8, 2026
Merged

zackees merged 1 commit into
mainfrom
agent/arm64-slice-list

Conversation

@zackees

@zackees zackees commented Nov 8, 2026

Copy link
Copy Markdown
Member

#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.json gains one component,
toolchain-xtensa-esp-elf/14.2.0_20260121/linux-arm64, with the esp32s3
slice only. Chips are additive: esp32/esp32s2 (and every non-Xtensa target)
keep the whole-archive fallback. site/mirror/manifest.json descriptor is
regenerated (ab46b1ac…, 3011 B) and publish_toolchain_slices.py --check
agrees with it.

The objects were already in the bucket from the earlier attempt; this PR only
registers them. Both were re-verified before listing:

object size check
…/linux-arm64/whole/xtensa-esp-elf-14.2.0_20260121-aarch64-linux-gnu.tar.xz 171,504,672 B sha 80ae10ce… == metadata pin
…/linux-arm64/esp32s3/…-esp32s3.15e485dddf36539a.tar.zst 104,408,554 B sha 15e485dd… == fresh re-slice of the pinned bundle

Proof (real arm64 host, not size-equality alone)

.github/workflows/esp32s3-arm64-slice-proof.yml now builds the client from
this ref
instead of uv tool install fbuild==2.5.51: the registry-path slice
fix (#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 build
that never touched the slice. The harness builds fbuild + fbuild-daemon
next 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:

slice: flash 356075 / ram 74919   (build succeeded in 17.7s)
whole: flash 356075 / ram 74919   (build succeeded in 59.1s)
slice build used the per-chip install and downloaded no whole archive

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
…+esp32s3 install directory exists and no whole .tar.xz is anywhere in
the slice build's cache.

Gates

  • uv run --with zstandard python -m unittest ci.test_publish_toolchain_slices ci.test_slice_toolchain → 43 tests OK
  • ci.test_gen_mirror_manifest → 18 OK
  • soldr 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 consistent

Not in this PR

macos-arm64 and win32 (issue steps 2-3) still need their own host proofs;
linux-armel/armhf/i686 are almost certainly not worth the bytes.

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

coderabbitai Bot commented Nov 8, 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
  • 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 8, 2026
Merged via the queue into main with commit ededbdf Nov 8, 2026
30 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 9, 2026
@zackees
zackees deleted the agent/arm64-slice-list branch November 24, 2026 21:36
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