Skip to content

test(cli): cover root command registration#50

Merged
taigrr merged 2 commits into
masterfrom
cd/otel-sdk-update-and-tests
Apr 25, 2026
Merged

test(cli): cover root command registration#50
taigrr merged 2 commits into
masterfrom
cd/otel-sdk-update-and-tests

Conversation

@taigrr
Copy link
Copy Markdown
Member

@taigrr taigrr commented Apr 21, 2026

Summary

  • extract root command construction into newRootCmd so the CLI wiring is testable
  • add coverage for root persistent flags and registered top-level and nested subcommands
  • keep the CLI entrypoint behavior unchanged while catching missing command wiring regressions

Testing

  • go test ./...
  • staticcheck ./...

taigrr and others added 2 commits April 21, 2026 06:33
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.40.0 to 1.43.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.40.0...v1.43.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-version: 1.43.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@taigrr taigrr merged commit 47813a9 into master Apr 25, 2026
15 checks passed
@taigrr taigrr deleted the cd/otel-sdk-update-and-tests branch April 25, 2026 19:09
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.

1 participant