Repository navigation
Fix zccache strict paths for Linux Meson private includes - #2389
Conversation
|
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 (7)
📝 WalkthroughWalkthroughReplaces the Meson private-include path regex to correctly match quoted and unquoted Changes
Sequence Diagram(s)(omitted) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@ci/tests/test_meson_private_include_normalization.py`:
- Around line 40-41: The test constructs expected path strings using .as_posix()
but the code under test (normalize_meson_private_include_paths) uses
.resolve().as_posix(), causing mismatches on symlinked temp dirs; update the
expected values native_private and test_private in the test to use
.resolve().as_posix() (i.e., call resolve() on build_dir /
"ci/meson/native/fastled.so.p" and build_dir / "tests/test.dll.p") so the test
mirrors the function behavior and avoids symlink-dependent failures.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: f6a663c5-0033-4ce6-826b-df3a897a9cfb
📒 Files selected for processing (2)
ci/meson/build_config.pyci/tests/test_meson_private_include_normalization.py
|
Addressed CodeRabbit's path-resolution test feedback in 0cf2ce5 and resolved the review thread. @coderabbitai review |
|
✅ Actions performedReview triggered.
|
Summary
-I*.pflags.build.ninjaandcompile_commands.json.Why
PR #2386 failed in Linux unit tests because zccache strict mode rejected:
The strict-path normalizer from #2385 handled quoted forms such as
-Itests/test.dll.p, but Linux emits the private Meson include as an unquoted token.This needs to land on
masterbecause the PR unit-test workflow checks out trustedmasterCI scripts and only overlays source/test/example files from the PR.Related failure: https://github.com/FastLED/FastLED/actions/runs/24801132063/job/72583717422?pr=2386
Testing
ZCCACHE_STRICT_PATHS=absolute bash test --cpp --force --no-parallel-> passed 302/302uv run pytest ci/tests/test_meson_private_include_normalization.py ci/tests/test_meson_include_paths.py -v-> passed 3/3git diff --check-> cleanSummary by CodeRabbit