-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mdatagen] fix missing/extraneous imports for telemetry codegen #11762
base: main
Are you sure you want to change the base?
[mdatagen] fix missing/extraneous imports for telemetry codegen #11762
Conversation
the telemetry code generation does not include some required imports and also includes some imports that are not used, which leads to build failures. this fixes those issues; re-running mdatagen on the samplereceiver results in a no-op, indicating that somehow there was drift b/w the output codegen and the templates.
mdatagen is used by many packages. When making changes to the templates, you should regenerate everything with the |
@dmathieu thanks! I did run that, and there were no changes registered. I think that it doesn't currently run codegen on the examples, which might explain how this drift happened.
|
Ah, I think I may know how this was missed - |
I think Your PR still has failing tests though. |
Description
the telemetry code generation does not include some required imports and also includes some imports that are not used, which leads to build failures. this fixes those issues; re-running mdatagen on the samplereceiver results in a no-op, indicating that somehow there was drift b/w the output codegen and the templates.
Link to tracking issue
Fixes #11761
Testing