Skip to content

decommission: retire niteris/fastled-compiler-* Docker images (PIO stop-gap no longer needed, fbuild is default) #2812

Closed

Description

@zackees

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_*.yml workflow family in .github/workflows/
  • The --docker / --build flags on bash compile (compile path only)
  • The Python orchestration in ci/compiler/docker_manager.py and ci/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 --docker and bash 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 fbuild in ci/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_dispatch retained on the 10 affected workflows; README badges go gray (no recent runs) rather than red.
  • Phase 2–5 (separate PR): --docker and --build flags removed; Python orchestration deleted; docker_compiler_*.yml workflows 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 of niteris/fastled-compiler-* images at Phase 6.

Filed as part of the compilation-Docker decommission planning.

Activity

  1. added 2 commits that reference this issue on Jun 5, 2026
  2. moved this from Triage to Done in FastLED Trackeron Jun 5, 2026
  3. added a commit that references this issue on Jun 5, 2026
    3690e0d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions