Skip to content

Conversation

@dixonjoel
Copy link
Collaborator

@dixonjoel dixonjoel commented Nov 14, 2025

What does this Pull Request accomplish?

Update to this commit in ni-apis. Regenerate Python stubs to match this so the build will pass.

Why should this Pull Request be merged?

Precursor to releasing metadata.proto, data.proto, metadata.client and data.client packages to get them up-to-date.

What testing has been done?

PR

@github-actions
Copy link
Contributor

github-actions bot commented Nov 14, 2025

Test Results

  120 files  ±0    120 suites  ±0   3m 12s ⏱️ -4s
  247 tests ±0    245 ✅ ±0   2 💤 ±0  0 ❌ ±0 
2 470 runs  ±0  2 440 ✅ ±0  30 💤 ±0  0 ❌ ±0 

Results for commit b4cfd4b. ± Comparison against base commit 420ebf1.

♻️ This comment has been updated with latest results.

@dixonjoel dixonjoel changed the title [TEST] Update to latest in ni-apis. See what is broken Update to latest API in ni-apis and regenerate stubs to match Nov 14, 2025
@dixonjoel dixonjoel marked this pull request as ready for review November 14, 2025 17:23
Copilot AI review requested due to automatic review settings November 14, 2025 17:23
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the project's dependency on ni-apis to a specific commit and regenerates Python stub files to maintain compatibility with API changes. The update includes new gRPC service methods and field naming improvements.

Key changes:

  • Added CreateFromJsonDocument RPC method to the metadata service for bulk metadata creation from JSON documents
  • Renamed fields in data service for improved clarity (condition_namename, typecondition_type, measurement_namename)
  • Updated documentation comments for several message fields

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
third_party/ni-apis Updated subproject commit reference to latest version
packages/ni.measurements.metadata.v1.proto/src/ni/measurements/metadata/v1/metadata_store_service_pb2_grpc/init.pyi Added type stubs for new CreateFromJsonDocument method in stub and servicer classes
packages/ni.measurements.metadata.v1.proto/src/ni/measurements/metadata/v1/metadata_store_service_pb2_grpc/init.py Added CreateFromJsonDocument RPC method implementation to service stub and servicer
packages/ni.measurements.metadata.v1.proto/src/ni/measurements/metadata/v1/metadata_store_service_pb2/init.pyi Added type definitions for CreateFromJsonDocumentRequest and CreateFromJsonDocumentResponse
packages/ni.measurements.metadata.v1.proto/src/ni/measurements/metadata/v1/metadata_store_service_pb2/init.py Updated serialized descriptor and metadata for new message types
packages/ni.measurements.metadata.v1.proto/src/ni/measurements/metadata/v1/metadata_store_pb2/init.pyi Simplified product field documentation in SoftwareItem
packages/ni.measurements.data.v1.proto/src/ni/measurements/data/v1/data_store_service_pb2/init.pyi Renamed fields for clarity in PublishCondition and PublishMeasurement request classes
packages/ni.measurements.data.v1.proto/src/ni/measurements/data/v1/data_store_service_pb2/init.py Updated serialized descriptor offsets to reflect field name changes
packages/ni.measurements.data.v1.proto/src/ni/measurements/data/v1/data_store_pb2/init.pyi Simplified name field documentation in TestResult

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dixonjoel dixonjoel merged commit 84852b1 into main Nov 14, 2025
353 of 354 checks passed
@dixonjoel dixonjoel deleted the users/jdixon/update-metadata-proto branch November 14, 2025 19:39
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.

3 participants