Skip to content

Conversation

@mkoura
Copy link
Collaborator

@mkoura mkoura commented Jan 15, 2026

@mkoura mkoura requested a review from saratomaz as a code owner January 15, 2026 11:43
@mkoura mkoura requested review from Copilot and removed request for saratomaz January 15, 2026 11:44
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 test coverage for new functionality of the cardano-cli ping command, specifically testing the --tip and --query-versions flags. It also registers a known issue related to version compatibility errors.

Changes:

  • Added test_ping_tip to verify querying blockchain tip using cardano-cli ping with TCP host/port connection
  • Added test_ping_version to verify querying node versions using cardano-cli ping, with error handling for known UnknownVersionInRsp issue
  • Registered network_5281 issue blocker for tracking the UnknownVersionInRsp error in version-compatible CLI/node pairs

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
cardano_node_tests/tests/test_cli.py Adds two new test methods to TestPing class for testing tip and version query functionality
cardano_node_tests/tests/issues.py Registers network issue #5281 as a blocker for tracking known version query compatibility issue

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

- Add `test_ping_tip` to verify querying the tip using `cardano-cli ping`
  with host and port.
- Add `test_ping_version` to check querying versions and handle
  `UnknownVersionInRsp` error, referencing issue IntersectMBO/ouroboros-network#5281.
- Register new issue blocker for network#5281 in `issues.py`.
@mkoura mkoura force-pushed the add_ping_query_tests branch from e3af40d to 4275847 Compare January 15, 2026 11:51
@mkoura mkoura merged commit b56aa7f into master Jan 15, 2026
3 checks passed
@mkoura mkoura deleted the add_ping_query_tests branch January 15, 2026 12:02
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.

2 participants