Some nits and pieces#338
Conversation
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com> Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com> Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com> Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com> Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com> Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
WalkthroughEdits span logging in the kubectl plugin, removal of a dev Dex config file, consolidation/cleanup of Go module replace directives, pruning of Go version checks in a verify script, and a small e2e test change that exports a helper and replaces a panic with an assertion. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (5)
cli/pkg/kubectl/bind-apiservice/plugin/konnector.go(1 hunks)contrib/kcp/dex-config-dev.yaml(0 hunks)contrib/kcp/go.mod(1 hunks)hack/verify-go-versions.sh(0 hunks)test/e2e/framework/backend.go(3 hunks)
💤 Files with no reviewable changes (2)
- hack/verify-go-versions.sh
- contrib/kcp/dex-config-dev.yaml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
- GitHub Check: Generate and push docs
- GitHub Check: verify
- GitHub Check: lint
- GitHub Check: go-test-e2e
- GitHub Check: go-test
🔇 Additional comments (3)
cli/pkg/kubectl/bind-apiservice/plugin/konnector.go (1)
122-122: LGTM! Improved logging clarity.Logging
config.Hostinstead of the REST client object provides a clearer, more readable host identifier in the wait-loop messages.test/e2e/framework/backend.go (1)
45-45: LGTM! Better test diagnostics.Replacing the panic with
require.NotEmptyprovides clearer failure messages and is the idiomatic approach for test assertions.contrib/kcp/go.mod (1)
5-9: LGTM! Improved readability.Consolidating the kube-bind replace directives into a single block improves consistency and readability without changing module resolution behavior.
| grep "go-version:" .github/workflows/*.yaml | { ! grep -v "go-version: v${VERSION}"; } || { echo "Wrong go version in .github/workflows/*.yaml, expected ${VERSION}"; exit 1; } | ||
| grep "golang:" .ko.yaml | { ! grep -v "golang:${VERSION}"; } || { echo "Wrong go version in .ko.yaml, expected ${VERSION}"; exit 1; } | ||
| # Note CONTRIBUTING.md isn't copied in the Dockerfile | ||
| if [ -z "${IGNORE_GO_VERSION}" ]; then |
Summary
Some little nits and pieces that arose from #333
What Type of PR Is This?
/kind cleanup
Related Issue(s)
Fixes #
Release Notes
Summary by CodeRabbit