Skip to content

feat(sidekick/rust): remove google_cloud_unstable_tracing guards#5103

Draft
haphungw wants to merge 1 commit intogoogleapis:mainfrom
haphungw:remove-google-cloud-unstable-tracing-guards
Draft

feat(sidekick/rust): remove google_cloud_unstable_tracing guards#5103
haphungw wants to merge 1 commit intogoogleapis:mainfrom
haphungw:remove-google-cloud-unstable-tracing-guards

Conversation

@haphungw
Copy link
Copy Markdown
Contributor

@haphungw haphungw commented Apr 5, 2026

Remove google_cloud_unstable_tracing conditional compilation guards from the Rust templates. This makes tracing unconditionally available in the generated code, subject to runtime configuration via gaxi::options::tracing_enabled.

This change prepares for the removal of the unstable feature flag in google-cloud-rust: google-cloud-rust/pull/5292

The submission of this PR is blocked on the turbo launch.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the google_cloud_unstable_tracing conditional compilation guards from the Rust templates, transitioning the logic to use Mustache template sections. This change simplifies the generated code by removing compile-time feature flags in favor of template-driven generation. A minor consistency issue was identified regarding an unnecessary space in a closing Mustache tag.

@haphungw haphungw force-pushed the remove-google-cloud-unstable-tracing-guards branch from c729c9f to a56bb53 Compare April 5, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant