Skip to content

fix(action): honor restore-only wheel installation caches - #1687

Merged
zackees merged 7 commits into
mainfrom
fix/setup-action-install-save
Oct 22, 2026
Merged

zackees merged 7 commits into
mainfrom
fix/setup-action-install-save

Conversation

@zackees

@zackees zackees commented Oct 22, 2026

Copy link
Copy Markdown
Member

Summary

Make the setup action honor its existing cache and save inputs for the wheel installation cache. Restore and save are separate operations; save requires caching enabled, save enabled, and an exact-key miss. Restore-only consumers no longer write this cache.

The mandatory gate exposed a Python fixture leak: snippets shared __main__ globals and retained monitor objects across tests. Give each snippet its own globals dictionary and retain the original session-drain assertions. A RED regression demonstrates the retention before the fix.

Also update the stale packaging policy fixture to the existing in-tree build backend, use the merged verifier with qualified workflow identities, and fetch complete PR history for source-bound verification. These are gate fixes, with no removed coverage.

Validation

  • Install-cache contract added RED, then GREEN.
  • Monitor-global retention regression added RED, then GREEN.
  • All 23 ignored Python facade tests pass, including the original synchronous and asynchronous drain assertions.
  • Full local gate passed at the preceding checkpoint in 748 seconds (Linux 427s, Dylint 320s).
  • After the checkout-history fix, 19 local gate, Dylint and workflow concurrency contracts pass; review is clean.

The final mandatory gate passed in 667 seconds (Linux 452s, Dylint 215s), producing stamped commit 1dfefcf0b542805fb79d1c9628246133929c88f6. That commit is pushed unchanged. Hosted PR checks remain required.

Local-Gate: v1 tree=468815b26d57438dbc41cdd140eb93ba06d084f4 secs=748 lanes=linux-minimal:run,dylint:run
Ci-Attestation: {"at":1792630355,"gate":"general/all/ubuntu-ci-guards","host":"linux-x86_64","key":"de6addb3ddc83390bb4204ec1a53e401013a557021b8ca5d0cd97ec533d2e85e","lane":"linux-minimal","parents":["e771b17a954cc8ecfc1308d616754c3492c9894a"],"secs":427,"stamp":"5aa19dcbad478f5f452980479ec9b2c3","tree":"468815b26d57438dbc41cdd140eb93ba06d084f4","v":1,"via":"run"}
Ci-Attestation: {"at":1792630355,"gate":"rust/x86_64-unknown-linux-gnu/workspace-clippy","host":"linux-x86_64","key":"de6addb3ddc83390bb4204ec1a53e401013a557021b8ca5d0cd97ec533d2e85e","lane":"linux-minimal","parents":["e771b17a954cc8ecfc1308d616754c3492c9894a"],"secs":427,"stamp":"ec1a7ec116cd1df03ed7c9fccef2f563","tree":"468815b26d57438dbc41cdd140eb93ba06d084f4","v":1,"via":"run"}
Ci-Attestation: {"at":1792630355,"gate":"rust/x86_64-unknown-linux-gnu/workspace-test","host":"linux-x86_64","key":"de6addb3ddc83390bb4204ec1a53e401013a557021b8ca5d0cd97ec533d2e85e","lane":"linux-minimal","parents":["e771b17a954cc8ecfc1308d616754c3492c9894a"],"secs":427,"stamp":"f9eedc6aba7ba45396a3d1d5e6c56802","tree":"468815b26d57438dbc41cdd140eb93ba06d084f4","v":1,"via":"run"}
Ci-Attestation: {"at":1792630355,"gate":"rust/x86_64-unknown-linux-gnu/python-facade-test","host":"linux-x86_64","key":"de6addb3ddc83390bb4204ec1a53e401013a557021b8ca5d0cd97ec533d2e85e","lane":"linux-minimal","parents":["e771b17a954cc8ecfc1308d616754c3492c9894a"],"secs":427,"stamp":"f9f69a27aae6d17eb994e244b80c4ac2","tree":"468815b26d57438dbc41cdd140eb93ba06d084f4","v":1,"via":"run"}
Ci-Attestation: {"at":1792630355,"gate":"general/all/dylint-policy","host":"linux-x86_64","key":"da1f66d76e016021b8a7d672c69912cab83f572cfee9bb216e5f1f08abf9b0c1","lane":"dylint","parents":["e771b17a954cc8ecfc1308d616754c3492c9894a"],"secs":320,"stamp":"a22826f80e0497a52c7751c4049c1862","tree":"468815b26d57438dbc41cdd140eb93ba06d084f4","v":1,"via":"run"}
Ci-Attestation: {"at":1792630355,"gate":"rust/x86_64-unknown-linux-gnu/dylint-library-check","host":"linux-x86_64","key":"da1f66d76e016021b8a7d672c69912cab83f572cfee9bb216e5f1f08abf9b0c1","lane":"dylint","parents":["e771b17a954cc8ecfc1308d616754c3492c9894a"],"secs":320,"stamp":"24070e9b78383301df8f6ce5d198cdd5","tree":"468815b26d57438dbc41cdd140eb93ba06d084f4","v":1,"via":"run"}
Ci-Attestation: {"at":1792630355,"gate":"rust/x86_64-unknown-linux-gnu/workspace-dylint","host":"linux-x86_64","key":"da1f66d76e016021b8a7d672c69912cab83f572cfee9bb216e5f1f08abf9b0c1","lane":"dylint","parents":["e771b17a954cc8ecfc1308d616754c3492c9894a"],"secs":320,"stamp":"13f4f7037dcdc0f4ada66a532409d21d","tree":"468815b26d57438dbc41cdd140eb93ba06d084f4","v":1,"via":"run"}
Local-Gate: v1 tree=a8284bf2dcc1d194bb3a373122945ff60c5bc2c5 secs=667 lanes=linux-minimal:run,dylint:run
Ci-Attestation: {"at":1792632013,"gate":"general/all/ubuntu-ci-guards","host":"linux-x86_64","key":"9ac146e5dc87770dcf970be27f75b3840cd838ff5983e950b1d57a29f290711d","lane":"linux-minimal","parents":["0277352d94e01cc733c32d25713a95dbc7c9e199"],"secs":452,"stamp":"972f8592e5e104e3d6fb70e0854c4ea9","tree":"a8284bf2dcc1d194bb3a373122945ff60c5bc2c5","v":1,"via":"run"}
Ci-Attestation: {"at":1792632013,"gate":"rust/x86_64-unknown-linux-gnu/workspace-clippy","host":"linux-x86_64","key":"9ac146e5dc87770dcf970be27f75b3840cd838ff5983e950b1d57a29f290711d","lane":"linux-minimal","parents":["0277352d94e01cc733c32d25713a95dbc7c9e199"],"secs":452,"stamp":"9318f1af4ffd163f4f51faea5617c262","tree":"a8284bf2dcc1d194bb3a373122945ff60c5bc2c5","v":1,"via":"run"}
Ci-Attestation: {"at":1792632013,"gate":"rust/x86_64-unknown-linux-gnu/workspace-test","host":"linux-x86_64","key":"9ac146e5dc87770dcf970be27f75b3840cd838ff5983e950b1d57a29f290711d","lane":"linux-minimal","parents":["0277352d94e01cc733c32d25713a95dbc7c9e199"],"secs":452,"stamp":"56e21d97481c037a70d30d9db80730d8","tree":"a8284bf2dcc1d194bb3a373122945ff60c5bc2c5","v":1,"via":"run"}
Ci-Attestation: {"at":1792632013,"gate":"rust/x86_64-unknown-linux-gnu/python-facade-test","host":"linux-x86_64","key":"9ac146e5dc87770dcf970be27f75b3840cd838ff5983e950b1d57a29f290711d","lane":"linux-minimal","parents":["0277352d94e01cc733c32d25713a95dbc7c9e199"],"secs":452,"stamp":"f551aa06a3f62fadfe388b4ed2bde0fa","tree":"a8284bf2dcc1d194bb3a373122945ff60c5bc2c5","v":1,"via":"run"}
Ci-Attestation: {"at":1792632013,"gate":"general/all/dylint-policy","host":"linux-x86_64","key":"e2eafae1954dcd575b278c7818e127c8332a320b8894da2e711a45a0575f50de","lane":"dylint","parents":["0277352d94e01cc733c32d25713a95dbc7c9e199"],"secs":215,"stamp":"bc2db01b7f0e9d41a55f5285d95d5134","tree":"a8284bf2dcc1d194bb3a373122945ff60c5bc2c5","v":1,"via":"run"}
Ci-Attestation: {"at":1792632013,"gate":"rust/x86_64-unknown-linux-gnu/dylint-library-check","host":"linux-x86_64","key":"e2eafae1954dcd575b278c7818e127c8332a320b8894da2e711a45a0575f50de","lane":"dylint","parents":["0277352d94e01cc733c32d25713a95dbc7c9e199"],"secs":215,"stamp":"d95c8807a3d63687502d59cefcb31a25","tree":"a8284bf2dcc1d194bb3a373122945ff60c5bc2c5","v":1,"via":"run"}
Ci-Attestation: {"at":1792632013,"gate":"rust/x86_64-unknown-linux-gnu/workspace-dylint","host":"linux-x86_64","key":"e2eafae1954dcd575b278c7818e127c8332a320b8894da2e711a45a0575f50de","lane":"dylint","parents":["0277352d94e01cc733c32d25713a95dbc7c9e199"],"secs":215,"stamp":"7211c05b35d65ae5505aba8431a07528","tree":"a8284bf2dcc1d194bb3a373122945ff60c5bc2c5","v":1,"via":"run"}
@coderabbitai

coderabbitai Bot commented Oct 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 19 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: FastLED/fbuild/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6a0f0728-5455-438b-9777-1e742f0ea460
📥 Commits

Reviewing files that changed from the base of the PR and between 3f8add9 and 1dfefcf.

📒 Files selected for processing: 9
  • .github/actions/setup/action.yml
  • .github/workflows/ci-minimal.yml
  • ci/local_gate.py
  • ci/render_workflows.py
  • ci/test_setup_action.py
  • crates/fbuild-python/tests/python_facades/extended.rs
  • crates/fbuild-python/tests/python_facades/main.rs
  • crates/fbuild-python/tests/python_facades/pyo3_policy.rs
  • local-gate.toml
  • 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

Comment @coderabbitai help to get the list of available commands.

@zackees
zackees merged commit 2d44227 into main Oct 22, 2026
25 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Oct 22, 2026
@zackees
zackees deleted the fix/setup-action-install-save branch November 5, 2026 05:51
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