Repository navigation
Conversation
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. |
There was a problem hiding this comment.
🟢 Approval recommended
The feature gates consistently remove dead tracing-only code without changing runtime behavior.
Pull request overview
Gates tracing-only helpers and imports so Rust builds cleanly without default features.
Changes:
- Conditionally compiles tracing labels and related imports.
- Preserves behavior when tracing is enabled.
[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or rungh pr ready --undo.
Click "Ready for review" or rungh pr readyto reengage.
File summaries
| File | Description |
|---|---|
rust/hey-sdk/src/trace.rs |
Gates tracing-only label code and imports. |
rust/hey-sdk/src/client.rs |
Gates the tracing label import. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Superseded — closing. The failure this fixed was real at No CI gap remains: |
mainfailsmake rs-check(Rust Tests red at5680b25) since #165 met the--no-default-featuresclippy pass that landed with the CI hardening:trace::label,is_rawand theOperationInfoimport exist only to name spans and events, and without thetracingfeature the event macros expand to nothing, so nothing asks for the label and clippy's-D dead-coderefuses the build. All three, and the import inclient.rs, now go away with the feature.Three
#[cfg]lines, no behaviour change. Every Rust PR rebased ontomainfails the gate until this lands, so it goes ahead of #168 and #169.Gate:
make rs-check(default,--no-default-features,--all-features), onmain+ this commit, green.Summary by cubic
Gates the tracing label helpers behind the
tracingfeature so--no-default-featuresbuilds pass clippy's dead-code check. No behavior change.Written for commit 4035853. Summary will update on new commits.