Skip to content

Conversation

@divakar-selvam07
Copy link
Contributor

What does this Pull Request accomplish?

This Pull Request adds annotation key constants needed for the session management client to store client machine details as part of this Feature 3079033: View which machine has registered/reserved a session in the Manage Instrument Session UI.

Why should this Pull Request be merged?

As discussed here, placing these constants in the .proto package allows the client to use them directly.

What testing has been done?

  • ni.measurementlink.sessionmanagement.v1.proto
    • mypy and styleguide.

Copilot AI review requested due to automatic review settings September 10, 2025 19:09
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 adds annotation key constants for session management client functionality, specifically to enable tracking of client machine details (hostname, username, IP address) for both registered and reserved sessions in the Manage Instrument Session UI.

Key changes:

  • Introduces annotation constants for session client machine tracking
  • Supports both "reserved" and "registered" session states
  • Provides standardized keys for hostname, username, and IP address annotations

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@bkeryan bkeryan merged commit 12b5ac7 into ni:main Sep 10, 2025
96 checks passed
@divakar-selvam07 divakar-selvam07 deleted the users/diva/add-session-annotation-constants branch September 11, 2025 04:37
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