Skip to content

Fix MI driver proto sorting issue#1256

Open
reckenro wants to merge 7 commits intomainfrom
users/reckenro/update-ni-fake-sorted
Open

Fix MI driver proto sorting issue#1256
reckenro wants to merge 7 commits intomainfrom
users/reckenro/update-ni-fake-sorted

Conversation

@reckenro
Copy link
Copy Markdown
Collaborator

@reckenro reckenro commented Apr 1, 2026

What does this Pull Request accomplish?

Validate MI driver hapigen proto generation fix.
Hapigen proto generation wasn't using sorted keys for functions, enums, etc.
This was leading to a discrepancy in the ordering of things in the proto file coming from hapigen and the one generated on the grpc-device side.
https://dev.azure.com/ni/DevCentral/_git/ni-central/pullrequest/1224177 fixes this on the hapigen side.

Why should this Pull Request be merged?

This PR validates the MI driver hapigen fixes with ni-fake.
It takes in the new ni-fake metadata + proto generated by hapigen and validates it works with the service.

What testing has been done?

Service builds and nifake tests pass.
Visually inspected new nifake from hapigen proto to validate that rpc, enums, etc. are sorted alphabetically.
In previous nifake hapigen exports, these weren't sorted.
Also validated with validate_imported_protos step that validates the nifake proto from hapigen with the one produced here in grpc-device.

@reckenro reckenro marked this pull request as ready for review April 2, 2026 15:35
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