Repository navigation
fix(sock): gate the Linux-only shard test helper - #5769
Conversation
Only the Linux steering tests build CIDs, so macOS and Windows saw `cid` and `CID_LEN` as dead code and denied the warnings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou'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 3 minutes. View limit details
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 |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Fixes the macOS and Windows Platform builds, which #5688 broke. Only the Linux steering tests in
moq-sock'sshardmodule build CIDs, so on other targets thecidtest helper andCID_LENwere dead code.build.warningsturns that warning into an error. Both items are now gated ontarget_os = "linux", like their callers.Platform was skipped on #5688's PR runs and is not a required merge-queue check, so the failure only showed up in the queue's merge group (run 38965110664) after the PR had merged.
Public API and wire impact
None. The change is test-only.
Tests
just checkpasses on Linux.moq-socklib test, and these two warnings were the only ones, so Platform on this PR is the check that counts.🤖 Generated with Claude Code
(Written by Claude Opus 5.5)