Skip to content

Conversation

@dixonjoel
Copy link
Collaborator

@dixonjoel dixonjoel commented Nov 11, 2025

What does this Pull Request accomplish?

Gets latest changes from ni-apis, specifically including ni/ni-apis#141.

Why should this Pull Request be merged?

Updates field names and keeps us up-to-date with the .proto files. Subsequently we will

  • Release ni.measurements.data.v1.proto, ni.measurements.metadata.v1.proto
  • Update data and metadata client packages to require these new versions
  • Release ni.measurements.data.v1.client, ni.measurements.metadata.v1.client

What testing has been done?

PR checks

@github-actions
Copy link
Contributor

github-actions bot commented Nov 11, 2025

Test Results

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

Results for commit b36b524. ± Comparison against base commit 679ef98.

♻️ This comment has been updated with latest results.

@dixonjoel dixonjoel changed the title [DRAFT] See what's broken - update ni-apis to latest Update ni-apis submodule .proto files to latest versions Nov 11, 2025
@dixonjoel dixonjoel marked this pull request as ready for review November 11, 2025 21:07
Copilot AI review requested due to automatic review settings November 11, 2025 21:07
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 ni-apis submodule to incorporate the latest .proto file changes, specifically field renamings to improve clarity and consistency across the measurement APIs. The changes rename plural extensions to singular extension and improve specificity by renaming generic fields like type to more descriptive names like condition_type, value_type, and step_type.

Key Changes:

  • Renamed extensions field to extension across all metadata and data entities
  • Renamed ambiguous type fields to more specific names (condition_type, value_type, step_type)
  • Updated documentation strings to provide clearer guidance on extension usage
  • Simplified schema_id documentation by removing context-specific conditions

Reviewed Changes

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

Show a summary per file
File Description
third_party/ni-apis Updates submodule pointer to latest commit containing field name improvements
packages/ni.measurements.metadata.v1.proto/src/ni/measurements/metadata/v1/metadata_store_pb2/init.pyi Updates type stubs to reflect field renamings: extensionsextension and class name changes from ExtensionsEntryExtensionEntry
packages/ni.measurements.metadata.v1.proto/src/ni/measurements/metadata/v1/metadata_store_pb2/init.py Updates generated Python code with new field names and serialization offsets
packages/ni.measurements.data.v1.proto/src/ni/measurements/data/v1/data_store_pb2/init.pyi Updates type stubs with field renamings: typecondition_type/value_type/step_type, extensionsextension
packages/ni.measurements.data.v1.proto/src/ni/measurements/data/v1/data_store_pb2/init.py Updates generated Python code with new field names and serialization offsets

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

@dixonjoel dixonjoel merged commit 14dfcfc into main Nov 11, 2025
353 of 354 checks passed
@dixonjoel dixonjoel deleted the users/jdixon/update-to-latest-ni-apis branch November 11, 2025 22:34
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