Repository navigation
Closed
Description
Summary
Retire the niteris/fastled-compiler-* Docker image family that wraps PlatformIO compilations. These images were a stop-gap against PlatformIO's "self-poisoning" behavior (one platform's install corrupting another's toolchain cache). The fbuild backend does not have that problem, and fbuild has been the default --backend in ci-compile.py for some time. The Docker wrapper is no longer pulling its weight.
Tracking the full decommission across multiple PRs so each one is independently revertible.
Scope
In scope (this issue):
- The
niteris/fastled-compiler-*Docker image family on Docker Hub - The
docker_compiler_*.ymlworkflow family in.github/workflows/ - The
--docker/--buildflags onbash compile(compile path only) - The Python orchestration in
ci/compiler/docker_manager.pyandci/docker_utils/{Dockerfile.base, Dockerfile.template, build.sh, build_platforms.py, DockerManager.py, image_priority_tracker.py, generate_platformio_ini.py} - Documentation references in
README.md,agents/docs/commands-reference.md,agents/docs/testing-commands.md,ci/docker_utils/README.md,ci/docker_utils/DOCKER_DESIGN.md
Out of scope (deferred / kept):
- Emulator Docker —
Dockerfile.avr8js,avr8js_docker_template.yml,qemu_*.yml,ci/docker_utils/avr8js/. These are JS/qemu emulator runtimes, not PIO-isolation wrappers, and remain valid. bash test --dockerandbash profile --docker— share the same images but the decision is to audit and retire those separately. They will continue working until the Docker Hub images are eventually deleted (Phase 6, weeks/months out).
Phased rollout
| Phase | PR | Action | Reversibility |
|---|---|---|---|
| 1 | this issue's first PR | Disable scheduled rebuilds of compiler images (comment out schedule: on the 10 cron-driven workflows; keep workflow_dispatch for manual rebuild if needed) |
Trivial revert |
| 2 | follow-up PR | Remove --docker / --build flags from ci-compile.py + ci/compiler/argument_parser.py |
Revert |
| 3 | same PR as 2 | Delete the 10 Python modules in ci/compiler/docker_manager.py + ci/docker_utils/ (excluding avr8js/) |
Revert |
| 4 | same PR as 2 | Delete the 12 docker_compiler_*.yml + docker_merge_platform.yml + docker_build_compiler.yml workflows |
Revert |
| 5 | same PR as 2 | Update / delete the documentation references (README.md, agents/docs/*, ci/docker_utils/README.md, ci/docker_utils/DOCKER_DESIGN.md) |
Revert |
| 6 | manual, post-merge | Mark niteris/fastled-compiler-* images deprecated on Docker Hub; eventually delete them. Wait several weeks after PR 2–5 merges so any in-flight bash test --docker / bash profile --docker users have time to migrate. |
Not reversible (images can be republished but caches may have grown stale) |
Why now
- fbuild is already the default backend (
--backend fbuildinci/compiler/argument_parser.py). - The Docker compiler image rebuild schedules consume CI minutes daily / weekly / monthly with no clear value when fbuild handles the same compilations natively without poisoning concerns.
- The compiler-image families and their warmup caches add ~10 Python modules, 12 workflow files, and ~600 lines of documentation that all need to be maintained as the platform list evolves.
Acceptance criteria
- Phase 1: cron schedules disabled;
workflow_dispatchretained on the 10 affected workflows; README badges go gray (no recent runs) rather than red. - Phase 2–5 (separate PR):
--dockerand--buildflags removed; Python orchestration deleted;docker_compiler_*.ymlworkflows deleted; docs cleaned. - Phase 6 (manual, deferred): Docker Hub images deprecated / deleted after grace period.
-
bash compile <board>continues to work natively (already the default). - avr8js + qemu workflows continue to work (out of scope).
Open follow-ups (separate issues)
bash test --docker/bash profile --docker— audit usage and retire as their own work. Will inherit the deletion ofniteris/fastled-compiler-*images at Phase 6.
Filed as part of the compilation-Docker decommission planning.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
chore(ci): disable scheduled niteris/fastled-compiler-* image rebuilds (
Merge pull request #2822 from FastLED/chore/decommission-docker-compi…
chore(decommission): retire compilation Docker (Closes FastLED#2812 P…