Skip to content

[v14] Adjust diagnostic messages of connection test for Connect My Computer#35649

Merged
ravicious merged 2 commits intobranch/v14from
r7s/v14/backport-35308-cmc-conntest
Dec 12, 2023
Merged

[v14] Adjust diagnostic messages of connection test for Connect My Computer#35649
ravicious merged 2 commits intobranch/v14from
r7s/v14/backport-35308-cmc-conntest

Conversation

@ravicious
Copy link
Copy Markdown
Member

Backport #35308.

Backport was not clean because git complained about LegacyConnectionTest that this PR removes, idk why, it wasn't updated on v14 since it was originally added. It also had the same conflict as #35194 where some storageService changes related to new v15 features weren't backported to v14.

Changelog: Added a connection test when enrolling a new Connect My Computer resource in Web UI

* Use JSDocs in services/agents/types.ts

* TextIcon: Align icon to top rather than center

When showing multiple TextIcons one after another, like when showing
connection diagnostic traces, it makes it easier to see where one
trace starts and another ends. Especially if one of the traces spans
multiple lines.

* Preserve line breaks from trace messages in UI

* Add ResourceTile to TestConnectionRequest

* Adjust diagnostic messages for Connect

* Remove LegacyTestConnection

* Offer better diag msg depending on SSH principal selection mode

* Suggest systemctl/launchctl depending on platform

* Rename ResourceTile to SSHNodeSetupMethod

* Add tests for launchctl vs systemctl

* Fix test after removal of "Linux" from "valid Linux login"

* Add tests for SSHConnectionTester

* Document valid values for SSHNodeSetupMethod

* Remove test for principal with no OS permissions to run as

In CI, it looks like we can absolutely spawn a new session as root, so
the test is meaningless there.

Instead, I'm going to add authhandlers tests and this test to the Connect
My Computer test plan.
@ravicious ravicious added this pull request to the merge queue Dec 12, 2023
Merged via the queue into branch/v14 with commit 4ef7941 Dec 12, 2023
@ravicious ravicious deleted the r7s/v14/backport-35308-cmc-conntest branch December 12, 2023 17:34
@camscale camscale mentioned this pull request Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants