Skip to content

ci(probe): drop ZCCACHE_PROBE_BYPASS=1 setdefault (#3129 A9) - #3199

Merged
zackees merged 1 commit into
masterfrom
probe/3129-a9-zccache-probe-bypass
Jun 16, 2026
Merged

zackees merged 1 commit into
masterfrom
probe/3129-a9-zccache-probe-bypass

Conversation

@zackees

@zackees zackees commented Jun 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Probe PR: removes the os.environ.setdefault("ZCCACHE_PROBE_BYPASS", "1") line in ci/meson/runner_helpers.py::_start_zccache_session. The setdefault was added in the zccache#625/#633/#636 era to opt in to a CLI-side probe-bypass fast-path for configure-phase try-compiles (claimed 7–10s saved per configure run).

Hypothesis

zccache 1.12.7 routes per-call internally — the env var should now be redundant.

How to read CI on this branch

  • Watch: total bash test --cpp wall-clock vs. master for a few days. If the configure phase regresses by >5s consistently, revert.
  • Green for a week → keep the change.

1 file changed, 3 insertions(+), 7 deletions(-).

Part of #3129 (Section A9).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated build system cache configuration in CI runner helpers.

The setdefault was added in forge-ci/zccache#625/#633/#636 era to opt in
to the CLI-side probe-bypass fast-path for configure-phase try-compiles
(claimed 7-10s saved per configure). zccache 1.12.7 routes per-call
internally, so the env var should be redundant.

Probe PR: remove the setdefault and let CI watch for configure-time
regressions. If green, the workaround stays gone; if configure times
balloon, revert.

Part of #3129 (Section A9).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Jun 16, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 8a67dba4-9fea-49b2-8b1d-591632c3124f

📥 Commits

Reviewing files that changed from the base of the PR and between 4c259f5 and 7c930b8.

📒 Files selected for processing (1)
  • ci/meson/runner_helpers.py

📝 Walkthrough

Walkthrough

In ci/meson/runner_helpers.py, the _start_zccache_session function no longer calls os.environ.setdefault("ZCCACHE_PROBE_BYPASS", "1"). The removed lines are replaced with a comment documenting the deletion and advising revert if try-compile timing regresses.

Changes

Remove ZCCACHE_PROBE_BYPASS env setup

Layer / File(s) Summary
Remove ZCCACHE_PROBE_BYPASS setdefault
ci/meson/runner_helpers.py
Deletes os.environ.setdefault("ZCCACHE_PROBE_BYPASS", "1") from _start_zccache_session and updates the surrounding comment with removal rationale and revert guidance.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

Possibly related PRs

  • FastLED/FastLED#3195: Modifies the same _start_zccache_session function in ci/meson/runner_helpers.py, touching the zccache session wiring adjacent to this env-var change.
  • FastLED/FastLED#2877: Is the direct inverse of this PR — it added os.environ.setdefault("ZCCACHE_PROBE_BYPASS", "1") to _start_zccache_session, which this PR now removes.

Poem

🐇 Hop, hop, the bypass is gone,
No more probe-skip from dusk until dawn.
A setdefault wiped with one tidy swipe,
The comment left standing, revert-ready and ripe.
If timings go long, just bring it back soon —
This bunny will watch by the light of the moon! 🌙

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title clearly and specifically describes the main change: removing ZCCACHE_PROBE_BYPASS=1 from the CI configuration, which directly aligns with the changeset.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch probe/3129-a9-zccache-probe-bypass

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 and usage tips.

@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Jun 16, 2026
@zackees
zackees merged commit 201b708 into master Jun 16, 2026
11 checks passed
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Jun 16, 2026
@zackees
zackees deleted the probe/3129-a9-zccache-probe-bypass branch August 21, 2026 19:16
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