You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: migrate workflows to Node 24 actions and hash fastled-lint sources by content - #5512
Verified all inputs used by FastLED workflows are supported on the target versions and validated every workflow file with yaml.safe_load plus check_size_thresholds.py.
Hash Rust crate source bytes instead of st_mtime_ns, eliminating spurious soldr --no-cache cargo build rebuilds across git branch switches, rebases, and CI cache restores when crate contents are unchanged.
Added regression unit test in ci/tests/test_rust_binary_cache.py.
Maintainer directive (@zackees): authorized per #5492 item #27 and local/CI build caching audit to update .github/workflows/*.yml action pins and ci/lint_cpp/rust_binary_cache.py.
Summary by CodeRabbit
Chores
Updated the tools used by automated build, test, and release workflows.
Bug Fixes
Build-cache fingerprints now respond to file content changes rather than timestamp-only changes, improving cache consistency.
No actionable comments were generated in the recent review.
Walkthrough
The pull request updates GitHub Actions versions across workflow files. It also changes Rust binary cache fingerprints to hash input file contents and adds a test for timestamp-only and content changes.
Workflow files update checkout, setup, cache, artifact, and GitHub Script action versions. Existing workflow inputs and settings are generally unchanged.
_compute_fingerprint hashes each input file’s project-relative path, byte length, and contents. A test verifies that timestamp-only changes preserve the fingerprint and content changes alter it.
FastLED/FastLED issue 5492: This pull request updates action versions in 31 workflow files, addressing part of the workflow migration described in the issue.
Suggested labels:area: ci
Merge Risk: Minimal · up to c62a4
This change updates CI action versions and makes the Rust binary cache fingerprint depend on file contents instead of timestamps. I found no concrete behavioral risk, and the added test covers the fingerprint change.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names two changes: migrating workflows to Node 24-compatible action versions, and hashing fastled-lint Rust sources by content. The summary confirms both. The 31 workflow files are upgraded …
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names two changes: migrating workflows to Node 24-compatible action versions, and hashing fastled-lint Rust sources by content. The summary confirms both. The 31 workflow files are upgraded to v7 and similar versions, and rust_binary_cache.py now fingerprints file bytes instead of st_mtime_ns, with a regression test added. The title covers the main changes, though it does not mention the test addition. This is a PASS.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
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.
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 0 remain after this review.
Change in examples/Blink per target. The left number is this PR's image flash / attributed RAM in bytes; the colored delta is the change from the merge base (red ↑ is larger, green ↓ is smaller, Same is unchanged).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements Item #27 of #5492 plus local/CI lint caching improvement:
actions/checkout@v4→@v7(node24)actions/cache/restore@v4,actions/cache/save@v4→@v6(node24)actions/setup-python@v5→@v7(node24)actions/upload-artifact@v4→@v7(node24)actions/download-artifact@v4→@v8(node24)actions/github-script@v7→@v9(node24)astral-sh/setup-uv@v6→@v7(node24)yaml.safe_loadpluscheck_size_thresholds.py.fastled-lintcache fingerprint (ci/lint_cpp/rust_binary_cache.py):st_mtime_ns, eliminating spurioussoldr --no-cache cargo buildrebuilds across git branch switches, rebases, and CI cache restores when crate contents are unchanged.ci/tests/test_rust_binary_cache.py.Maintainer directive (
@zackees): authorized per #5492 item #27 and local/CI build caching audit to update.github/workflows/*.ymlaction pins andci/lint_cpp/rust_binary_cache.py.Summary by CodeRabbit