Repository navigation
chore(ci): disable scheduled niteris/fastled-compiler-* image rebuilds (#2812 Phase 1) - #2813
Conversation
#2812 Phase 1) The niteris/fastled-compiler-* Docker image family was a stop-gap against PlatformIO's self-poisoning behavior. fbuild does not self-poison and is already the default backend in ci-compile.py. The image rebuilds no longer earn their CI cost. Phase 1 of #2812: stop the scheduled rebuilds across all 10 cron-driven workflows. `workflow_dispatch` is retained on each so the admin can still rebuild on demand during the multi-week transition window while `bash test --docker` / `bash profile --docker` users (out of scope for this PR; see #2812) migrate off the images. Original cron expressions are preserved in comments next to each disabled block for trivial revert. Files touched (10): docker_compiler.yml - base image, was daily 23:00 UTC docker_compiler_smart_build.yml - smart incremental, was daily 00:00 UTC docker_compiler_template.yml - full platform, was monthly 1st 03:00 UTC docker_compiler_avr.yml - was weekly Monday docker_compiler_esp.yml - was weekly Tuesday docker_compiler_stm32.yml - was weekly Wednesday docker_compiler_nrf52.yml - was weekly Thursday docker_compiler_teensy.yml - was weekly Friday docker_compiler_rp.yml - was weekly Saturday docker_compiler_sam.yml - was weekly Sunday Side effects: * README's "Docker Compiler Builds" badges will go gray (no recent runs) rather than red. README prose cleanup is deferred to Phase 5 in #2812's follow-up PR. * Existing Docker Hub images keep working — this PR only stops their *rebuild*, not their availability. * `bash test --docker` / `bash profile --docker` continue to function against the now-static images; full retirement of those flags is tracked separately in #2812. CI/CD pipeline change → mandatory code-review trigger per global rules; flagging explicitly. Refs #2812 (Phase 2-5 follow up in a separate PR) Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (10)
📝 WalkthroughWalkthroughTen Docker compiler workflow files disable automated cron-based image rebuilds. Scheduled triggers are replaced with commented-out configuration and explanatory notes while ChangesDisable Automated Docker Image Rebuilds
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
…hases 2-5) The niteris/fastled-compiler-* Docker image family was a stop-gap against PlatformIO's self-poisoning behavior (one platform's toolchain install corrupting another's cache). fbuild does not self-poison and has been the default backend in ci-compile.py for some time. The Docker wrapper has been carrying its own weight for nothing. This PR ships phases 2-5 of the decommission plan documented in FastLED#2812 as one atomic change. PR A (FastLED#2813) already disabled the scheduled rebuilds in phase 1. Phase 6 (Docker Hub image deletion) remains a manual admin action to be done weeks later, after any stragglers using `bash test --docker` / `bash profile --docker` have migrated. **Phase 2 — flag removal (compile path only)** - ci/compiler/argument_parser.py: drop --docker, --build, --local flags; drop docker_build + force_local fields from CompilationConfig; drop WorkflowType.DOCKER; simplify _determine_workflow to take just boards. - ci/ci-compile.py: drop handle_docker_compilation(); drop the FASTLED_DOCKER env-var project-root branch; drop the "auto-detect Docker + force --local on GitHub Actions" block; drop the WorkflowType.DOCKER dispatch. - compile (bash wrapper): drop the FASTLED_DOCKER skip-guard around the .venv setup. **Phase 3 — delete compile-Docker Python modules** - ci/compiler/docker_manager.py - ci/build_docker_image_pio.py - ci/docker_utils/Dockerfile.base, Dockerfile.template, build.sh - ci/docker_utils/image_priority_tracker.py - ci/docker_utils/generate_platformio_ini.py - ci/docker_utils/docker_build_utils.py, prune_old_images.py - ci/docker_utils/diagnose_sync.sh **Pruned (kept for emulator support, scope-clarified in module docstring)** - ci/docker_utils/DockerManager.py — still used by qemu_esp32_docker.py for run_container_streaming(). Compile-side caller is gone. - ci/docker_utils/build_platforms.py — still used by qemu_esp32_docker.py for get_platform_for_board() when naming niteris/fastled-simulator-* emulator images. Mirror compile-image names that previously used this mapping are no longer published. - ci/docker_utils/build_image.py — kept generate_config_hash() + get_platformio_version() (used by qemu_esp32_docker.py). Dropped the compile-only extract_architecture() and generate_docker_tag(). - ci/util/docker_helper.py — kept attempt_start_docker() and platform daemon-start helpers (used by ci/profile_runner.py). Dropped get_docker_image_name(), is_docker_image_available(), and should_use_docker_for_board() which all looked up the deleted compiler-image namespace. **Phase 4 — delete CI workflows** - .github/workflows/docker_compiler.yml (base image) - .github/workflows/docker_compiler_template.yml (monthly full build) - .github/workflows/docker_compiler_smart_build.yml (daily incremental) - .github/workflows/docker_compiler_{avr,esp,stm32,nrf52,teensy,rp,sam}.yml - .github/workflows/docker_merge_platform.yml (reusable manifest merge) - .github/workflows/docker_build_compiler.yml (reusable per-arch builder) - .github/workflows/docker_compiler_base.yml.disabled - .github/workflows/docker_compiler_base_platforms.yml.disabled Avr8js + qemu emulator workflows untouched (out of scope). **Phase 5 — documentation cleanup** - README.md: removed the "Docker Platform Builds" badge in the header cluster and the entire "Docker Compiler Builds" badge/image table block (lines 147-163 originally). - ci/docker_utils/README.md: rewritten as a small navigational stub describing the emulator + test-runner files that remain. - ci/docker_utils/DOCKER_DESIGN.md, task.md, RSYNC_FIX.md: deleted (architecture / planning docs for the retired system). - docker/README.md: rewritten the "PlatformIO Compilation" section to point at native fbuild compile and clarify that ci/docker_utils/ is now emulator-only. bash test --docker, bash profile --docker, avr8js + qemu Docker, the .devcontainer dev image, and the docker/unit-tests/ container image are all out of scope and continue to work. Their use of the published niteris/fastled-compiler-* images will be retired in a follow-up audit (see FastLED#2812 for the Phase 6 follow-up plan). Verification: - `bash compile uno --examples Blink` builds successfully in 24 s using the fbuild backend (no Docker involvement). - `bash lint`: Python (ruff + ty) clean. The 11 C++ lint violations reported are all in src/fl/net/network_detector.h, pre-existing on master (last touched in b1d4fe9, untouched by this PR) and out of scope. CI/CD pipeline change → mandatory code-review trigger per global rules; flagging explicitly. Diff: 37 files changed, 162 insertions(+), 10,211 deletions(-). Closes FastLED#2812 Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Summary
Phase 1 of the compilation-Docker decommission tracked in #2812. Disables the 10 cron-driven `docker_compiler_.yml` workflows that rebuild the `niteris/fastled-compiler-` Docker image family. `workflow_dispatch` is retained on each, so admin can still rebuild on demand during the multi-week transition window.
Why
The `niteris/fastled-compiler-*` images were a stop-gap against PlatformIO's self-poisoning behavior (one platform's toolchain install corrupting another's cache). fbuild does not self-poison and has been the default backend in `ci/ci-compile.py` for some time (`--backend fbuild` default per `ci/compiler/argument_parser.py:288`). The Docker wrapper no longer earns its CI cost.
What this PR changes
Comments out the `schedule:` block in 10 workflows, leaving `workflow_dispatch` intact:
Each disabled `schedule:` is preserved verbatim in a comment block right above where it was, with a reference to #2812, so revert is one commented-out block flip per file.
What this PR does not do
Side effect to expect
After merge, the README badges in the "Docker Compiler Builds" section will display "no status" (gray) instead of green or red. This is intentional and signals to readers that the rebuild schedule has stopped, in line with the decommission tracked in #2812.
Test plan
Pure CI configuration change — no code touched, no local testing applies. Verification is qualitative:
Mandatory code-review trigger
Per global CI rules: modifying CI/CD pipelines is a code-review trigger. Flagging explicitly.
Sequence
Refs #2812.
🤖 Generated with Claude Code
Summary by CodeRabbit