Skip to content

feat!: show actionable connectivity health fixes#277

Closed
federicobozzini wants to merge 1 commit into
mainfrom
connectivity-fixes
Closed

feat!: show actionable connectivity health fixes#277
federicobozzini wants to merge 1 commit into
mainfrom
connectivity-fixes

Conversation

@federicobozzini
Copy link
Copy Markdown
Contributor

Changes

  • expose actionally connectivity health fixes as already done for the dependencies

For example:

    "connectivity": {
      "name": "Connectivity",
      "status": "error",
      "value": "ssh authentication failed",
      "fix": {
        "description": "Configure SSH keys on remote target",
        "command": "topo setup-keys --target ssh://pi5-rod"
      }
    }

Signed-off-by: Federico Bozzini <federico.bozzini@arm.com>
@federicobozzini federicobozzini requested a review from a team as a code owner May 29, 2026 15:57
Comment thread internal/health/health.go
return res
}

func healthCheckWithStatusFromError(check HealthCheck, err error, fix *Fix) HealthCheck {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm not crazy about this name but it's the best I could come up with 🤷

Copy link
Copy Markdown
Contributor

@muchzill4 muchzill4 left a comment

Choose a reason for hiding this comment

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

What makes this a breaking change?

assert.JSONEq(t, `[]`, string(result["dependencies"]))
})

t.Run("includes connectivity fix", func(t *testing.T) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

  1. What additional coverage does this test add over what we have already?
  2. If there's something we want to test, testing it via json representation of the structs is an odd. Are we trying to cover how the data is converted to json here? Am I missing something?

@muchzill4 muchzill4 closed this Jun 1, 2026
@muchzill4
Copy link
Copy Markdown
Contributor

This does not add any new functionality nor is a breaking change. 🤷

@muchzill4 muchzill4 deleted the connectivity-fixes branch June 1, 2026 12:16
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