Skip to content

Supernode client#108

Merged
a-ok123 merged 12 commits intomasterfrom
test-client
Aug 5, 2025
Merged

Supernode client#108
a-ok123 merged 12 commits intomasterfrom
test-client

Conversation

@akobrin1
Copy link
Contributor

No description provided.

@akobrin1 akobrin1 requested review from a-ok123 and Copilot July 31, 2025 04:15

This comment was marked as outdated.

@a-ok123
Copy link
Contributor

a-ok123 commented Jul 31, 2025

@akobrin1 please make grpc_enpoint and address as command line positional arguments. then with the single config, it can be used to test multiple supernodes

akobrin1 added 3 commits July 31, 2025 23:38
… dynamic service/method introspection.

Supports config overrides via command-line flags and environment variables. Reflection-based list command now supports both service enumeration and detailed method listing.
… dynamic service/method introspection.

Supports config overrides via command-line flags and environment variables. Reflection-based list command now supports both service enumeration and detailed method listing.
@akobrin1 akobrin1 requested a review from Copilot August 1, 2025 03:43

This comment was marked as outdated.

@akobrin1 akobrin1 requested a review from Copilot August 1, 2025 20:06
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 introduces a new command-line client (sncli) for interacting with Lumera Supernodes over secure gRPC connections. The client provides essential functionality for health checks, service discovery, and status monitoring of Supernode instances.

Key changes include:

  • New CLI application with configuration management and secure gRPC connectivity
  • Updated dependency versions for the sonic JSON library
  • Build system integration for the new CLI tool

Reviewed Changes

Copilot reviewed 11 out of 14 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
go.mod Updates sonic dependency versions and reformats replace directives
cmd/sncli/main.go Entry point for the new CLI application
cmd/sncli/go.mod Module definition and dependencies for the CLI
cmd/sncli/config.toml Default configuration template
cmd/sncli/cli/types.go Configuration and option structures
cmd/sncli/cli/sn_cmds.go Supernode-specific command implementations
cmd/sncli/cli/list_grpc.go gRPC service discovery functionality
cmd/sncli/cli/dispatch.go Command routing and help system
cmd/sncli/cli/cli.go Core CLI initialization and configuration handling
cmd/sncli/README.md Documentation for the CLI tool
Makefile Build target for the new CLI application
Comments suppressed due to low confidence (2)

go.mod:3

  • Go version 1.24.1 does not exist. The latest Go version as of my knowledge cutoff is 1.23. This should be corrected to a valid Go version.
go 1.24.1

cmd/sncli/go.mod:3

  • Go version 1.24.1 does not exist. The latest Go version as of my knowledge cutoff is 1.23. This should be corrected to a valid Go version.
go 1.24.1

akobrin1 and others added 4 commits August 1, 2025 16:39
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@a-ok123 a-ok123 merged commit fd707b6 into master Aug 5, 2025
7 checks passed
@mateeullahmalik mateeullahmalik deleted the test-client branch August 12, 2025 11:25
@mateeullahmalik mateeullahmalik restored the test-client branch August 12, 2025 11:25
@mateeullahmalik mateeullahmalik deleted the test-client branch August 12, 2025 11:26
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