Skip to content

feat(toolchain): publish+list the Intel macos esp32s3 slice (#1956) - #1968

Merged
zackees merged 1 commit into
mainfrom
agent/macos-intel-slice
Nov 9, 2026
Merged

zackees merged 1 commit into
mainfrom
agent/macos-intel-slice

Conversation

@zackees

@zackees zackees commented Nov 9, 2026

Copy link
Copy Markdown
Member

What

Publishes and lists the esp32s3 slice for the Intel macOS host package
(macos), the last host #1956 asks for that is worth the bytes.

Intel macOS resolves macos, not macos-arm64:

// crates/fbuild-toolchain/src/toolchain/esp32_metadata.rs
} else if is_macos() {
    if current().arch() == HostArch::Aarch64 { "macos-arm64" } else { "macos" }
}

so macos is exactly the key those clients download.

Bytes (server side, ci/publish_toolchain_slices.py)

  • vendor bundle xtensa-esp-elf-14.2.0_20260121-x86_64-apple-darwin.tar.xz
    177,355,744 B, sha256 02e5e342…2eeb == the tools.json pin;
  • esp32s3 slice 99,848,668 B (125c9d65…28f8, 3,549 entries) → -43.7 %;
  • whole bundle mirrored bucket-first, then the slice registered:
    both objects answer 206 with content-range bytes 0-1023/{177355744,99848668};
    publish_toolchain_slices.py --check re-hashes the shard and matches the Index
    descriptor (6df82cdb…, 6,099 B);
  • chips stay additive: esp32 / esp32s2 keep the whole-archive fallback.

Proof

.github/workflows/esp32s3-arm64-slice-proof.yml gains a macos-15-intel
(x86_64) leg — the hosted Intel runner this repo already uses in
check-macos.yml / release-auto.yml. It builds the fixture twice from empty
caches (manifest slice vs vendor whole archive) and requires identical
flash/ram, a +esp32s3 chip-scoped install, and no whole
xtensa-esp-elf archive in the slice cache.

Proof run: https://github.com/FastLED/fbuild/actions/runs/42557951888

Gates

  • python -m unittest ci.test_publish_toolchain_slices ci.test_slice_toolchain → 45 tests OK
  • ruff check on the touched ci/ files → clean; ci/check_python_complexity.py → clean
  • soldr cargo test -p fbuild-packages-fetch --lib -- committed_toolchain_shard → 1 passed
    (the real client parses the committed shard, macos entry included)

…macos-15-intel

Intel macOS resolves `macos` from `detect_platform()` (any non-aarch64 macOS),
so that is the host package those clients download. Published from the
metadata-pinned vendor bundle (177,355,744 B, sha 02e5e342...): the esp32s3
slice is 99,848,668 B (-43.7%), whole bundle mirrored bucket-first and both
objects range-verified. Chips stay additive.

The proof harness gains a `macos-15-intel` (x86_64) leg so the entry is only
listed after a real ESP32-S3 build on that host, with identical flash/ram to
the whole-archive control and no whole archive in the slice cache.
@coderabbitai

coderabbitai Bot commented Nov 9, 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 9, 2026
Merged via the queue into main with commit f38dd49 Nov 9, 2026
33 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 10, 2026
@zackees
zackees deleted the agent/macos-intel-slice 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