Skip to content

Conversation

@dixonjoel
Copy link
Collaborator

@dixonjoel dixonjoel commented Aug 18, 2025

What does this Pull Request accomplish?

Consumes the rest of the packages from ni-apis-python. Remove all of the generated stubs from this repo.
New packages:

  • ni-grpcdevice-v1-proto
  • ni-measurementlink-measurement-v1-proto
  • ni-measurementlink-measurement-v2-proto
  • ni-measurementlink-pinmap-v1-proto
  • ni-measurementlink-proto
  • ni-measurementlink-sessionmanagement-v1-proto

Why should this Pull Request be merged?

Single source the stubs in the ni-apis-python repo.

What testing has been done?

CI / PR Tests ensure existing functionality

@github-actions
Copy link
Contributor

github-actions bot commented Aug 18, 2025

Test Results

    52 files  ±0      52 suites  ±0   1h 17m 24s ⏱️ +13s
   713 tests ±0     713 ✅ ±0      0 💤 ±0  0 ❌ ±0 
21 564 runs  ±0  20 488 ✅ ±0  1 076 💤 ±0  0 ❌ ±0 

Results for commit 86bf289. ± Comparison against base commit 6ed06d6.

♻️ This comment has been updated with latest results.

@dixonjoel dixonjoel changed the title [DRAFT - Do Not Review] Consume the ni.measurementlink.proto package and delete the associated stubs Consume the ni.measurementlink.proto package and delete the associated stubs Aug 20, 2025
@dixonjoel dixonjoel changed the title Consume the ni.measurementlink.proto package and delete the associated stubs [DRAFT - Do Not Review] Consume the ni.measurementlink.proto package and delete the associated stubs Aug 20, 2025
@dixonjoel dixonjoel changed the title [DRAFT - Do Not Review] Consume the ni.measurementlink.proto package and delete the associated stubs [DRAFT] Consume the ni.measurementlink.proto package and delete the associated stubs Aug 21, 2025
@dixonjoel dixonjoel changed the title [DRAFT] Consume the ni.measurementlink.proto package and delete the associated stubs [DRAFT] Eliminate remaining grpc stubs for ni .proto files Aug 21, 2025
@dixonjoel dixonjoel changed the title [DRAFT] Eliminate remaining grpc stubs for ni .proto files Eliminate remaining grpc stubs for ni .proto files Aug 22, 2025
@csjall
Copy link
Collaborator

csjall commented Aug 22, 2025

Update CONTRIBUTING.md regarding generating stubs. Note that packages with proto stubs are pulled in as dependencies.
https://github.com/ni/measurement-plugin-python/blob/main/CONTRIBUTING.md#update-grpc-stubs-if-needed

Copy link
Collaborator

@bkeryan bkeryan left a comment

Choose a reason for hiding this comment

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

Approved with suggestions

@dixonjoel dixonjoel merged commit 26f3b99 into main Aug 25, 2025
17 checks passed
@dixonjoel dixonjoel deleted the users/jdixon/consume-ni-measurementlink-proto branch August 25, 2025 13:56
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.

4 participants