Skip to content

test(ci): isolate Wild linker override in cache fast-path test - #4556

Merged
zackees merged 1 commit into
masterfrom
fix/native-linker-python-cache-test
Sep 24, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/native-linker-python-cache-test

Conversation

@zackees

@zackees zackees commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Fix\nLinux CI exports FASTLED_NATIVE_LINKER for Wild. The default ultra-early cache test assumed that variable was absent, so the merged linker PR made the full Python step fail before C++ units ran. The production cache correctly bypasses its early exit whenever a linker override is present.\n\nThis PR clears the inherited override for the cache-hit case, then explicitly sets it to verify that a selected linker cannot reuse the default linker's cache.\n\n## RED to GREEN\n- RED: the focused test failed with DID NOT RAISE SystemExit under the same Wild environment as the hosted full unit run.\n- GREEN: 19 focused cache/linker tests passed under that override.\n- GREEN: the full local Python suite passed under that override (308.6s); bash lint passed.\n- GREEN: exact-head hosted full Linux job passed all Python tests and 311/311 C++ units: https://github.com/FastLED/FastLED/actions/runs/35953451178/job/107486678051\n- Routine PR Linux unit/example and Windows unit checks passed; CodeRabbit approved.\n\nOriginal hosted failure: https://github.com/FastLED/FastLED/actions/runs/35952787637/job/107484693834\nRelated: #4529, merged #4552.

@coderabbitai

coderabbitai Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: FastLED/FastLED/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: f9ab33b5-60f5-412f-9dd4-a877e4ce212a

📥 Commits

Reviewing files that changed from the base of the PR and between e1e009f and 4a2e8e1.

📒 Files selected for processing (2)
  • agents/tasks/lessons.md
  • ci/tests/test_fingerprint_scope.py

Included review availability: Your plan provides up to 8 included reviews per hour; 5 remain after this review.


📝 Walkthrough

Walkthrough

The cache test now checks behavior when FASTLED_NATIVE_LINKER is unset and when it is set to an invalid path. A lessons entry records context about rebasing and running cache tests with the CI environment.

Changes

Cache validation

Layer / File(s) Summary
Native linker cache validation
ci/tests/test_fingerprint_scope.py, agents/tasks/lessons.md
The test clears FASTLED_NATIVE_LINKER before priming the cache, then sets it to an invalid path and checks the early-exit behavior. The lessons entry describes the rebased follow-up and advises running cache tests with the CI environment and local defaults.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 4a2e8

The test isolates the linker environment and restores it afterward, so no merge-blocking risk is identified.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 … Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: isolating the Wild linker override in the cache fast-path test.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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 05248f4 into master Sep 24, 2026
120 checks passed
zackees added a commit that referenced this pull request Sep 24, 2026
* chore(ci): report observed Actions runner time by commit

* ci: add manual shared native pilot

* perf(ci): live compile gate and nightly example groups (#4545)

* perf(ci): split live compile gate from nightly example sweep

Closes #4544

* ci: run the macOS compile gate on pull requests

* perf(ci): parallelize bounded example gate and report build bytes

* perf(ci): bound Linux compile gate to two jobs

* fix(ci): invalidate example group build configuration cache

* fix(gfx): keep RGBW bind path float-free on soft-float ARM

* fix(ci): grant reusable ATtiny build workflow permissions

* docs(tasks): record example gate and validation results

* ci: cover board-only AutoResearch nightly and stabilize example runner

* fix(ci): remove unused OIDC grants

- Address CodeRabbit comment 4081638666: full sanitizer permission scope.

- Address CodeRabbit comment 4081638678: nightly examples permission scope.

* docs: mark OIDC review feedback addressed

* fix(ci): show manual nightly runs in examples badge (#4547)

* ci: reserve hosted macOS tests for full validation (#4548)

* ci: gate board matrix behind explicit CI labels

Generate board job selection from the fbuild workflow registry, preserve exact PR head checkouts, and validate label transitions. Phase 1 of #4543.

* ci: include emulator and wasm families in selector

Link board labels to companion QEMU, bloat, and AVR8JS checks and make longer-running test families opt-in except on ci-full.

* test: align CI guards with opt-in full board sweep

Keep manual dispatch on the new selector workflow and pin the ESP32-S3 opt-in job to full example coverage.

* ci: validate GitHub label catalog on PRs

Fail the stable selection check when emitted labels are missing from repository metadata.

* ci: keep validator dispatch distinct from full matrix

A manual validation run inventories labels only; it cannot claim the complete board matrix executed.

* ci: run native PR tests on the exact head commit

Pin reusable Linux, Windows, and macOS unit/example checkouts to the tested PR SHA, matching selected board and emulator jobs.

* docs: describe opt-in board CI selection

* ci: run bounded native smoke by default and full suites on label

* docs: compare routine FastLED CI against full sweep

* ci: emit platform-neutral LF smoke targets

* ci: require exact-SHA full evidence before release

* ci: verify exact full CI cells and recheck release head

* test(audio): cover PCM edge case regressions

* test(stl): cover container edge case regressions

* test(ci): cover false-green build checks

* test(stl): construct erase fixtures through public API

* test(stl): detect empty span iterator dereference

* fix(audio): handle PCM analysis edge cases

* fix(stl): harden container edge cases

* fix(ci): reject false-green build checks

* test(audio): respect noise-gate hysteresis sequence

* test(stl): model comparable span iterators

* fix(stl): keep vector allocation failure recoverable

* docs: record issue 4528 validation plan

* fix(stl): preserve empty span pointer identity

* fix(stl): validate span pointer ranges

* chore(stl): satisfy span diagnostics lint

* docs: record issue 4528 final validation

* refactor(audio): move PCM cache reset implementation

* fix(ci): persist only completed fingerprint scopes (#4553)

Keep test-result caches independent, invalidate legacy entries, and guard early exits with source and auxiliary-input validation.

Closes #4550

* perf(ci): use upstream Wild for Linux native test links (#4552)

* perf(ci): select pinned reld for native test links

* docs: record uniform native-linker selection lesson

* perf(ci): scope upstream Wild linker to Linux

* perf(ci): limit runtime dependency deployment to Windows

* fix(ci): fail closed on lint prerequisites and compile deadlines

Closes #4554

* test(ci): isolate native linker override in cache fast-path test (#4556)

* perf(log): keep explicit format macros off stream path (#4559)

Restore the original printf semantics of _F logging macros so single-argument literals avoid constructing an sstream at each call site. Preserve unified stream compatibility on the unsuffixed macros.\n\nCloses #2982

* chore(ci): report observed Actions runner time by commit

* ci: add manual shared native pilot

* revert(ci): remove superseded native pilot

The merged fractional CI implementation now owns native smoke and full-suite routing, so keep this PR focused on the reusable Actions usage collector.

Co-Authored-By: Claude Code <[email protected]>

* fix(ci): make Actions usage metadata unambiguous

Normalize accepted commit SHAs before filtering API results and distinguish latest run status from all-attempt runner time.

Co-Authored-By: Claude Code <[email protected]>

* fix(ci): keep compile deadlines type-safe

Pass bounded integer timeouts to RunningProcess and retain generator cleanup typing so the Python type gate remains green.

Co-Authored-By: Claude Code <[email protected]>

---------

Co-authored-by: Claude Code <[email protected]>
@zackees
zackees deleted the fix/native-linker-python-cache-test branch November 5, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant