Skip to content

Report resolver failures for both endpoints - #14

Merged
ismith merged 1 commit into
ismith/endpoint-preflight-checksfrom
ismith/config-check-resolver-diagnostics
Sep 9, 2026
Merged

ismith merged 1 commit into
ismith/endpoint-preflight-checksfrom
ismith/config-check-resolver-diagnostics

Conversation

@ismith

@ismith ismith commented Sep 9, 2026

Copy link
Copy Markdown

No description provided.

Copilot AI balanced review requested due to automatic review settings September 9, 2026 22:30
@ismith
ismith requested a review from a team as a code owner September 9, 2026 22:30
@ismith
ismith merged commit aecfbba into ismith/endpoint-preflight-checks Sep 9, 2026
9 checks passed
@ismith
ismith deleted the ismith/config-check-resolver-diagnostics branch September 9, 2026 22:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The new tests must be consolidated under the existing TestConfigCheck per repository test conventions.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review tier: Balanced
Findings: 1 Low severity

New issues introduced by this change (1)
Severity Finding
Low severity internal/​cmd/​config_check_test.go — These cases exercise the same config check behavior already covered by TestConfigCheck in…
What changed in this PR

Reports resolver initialization failures for both source and target endpoints.

Changes:

  • Emits failed preflight diagnostics for both endpoints.
  • Tests malformed configuration and invalid credential stores.
File Description
internal/​cmd/​config_check.go Reports both endpoint failures.
internal/​cmd/​config_check_test.go Adds resolver-failure tests.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

"github.com/stretchr/testify/require"
)

func TestConfigCheckResolverFailure(t *testing.T) {
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