Skip to content

Conversation

@Joannis
Copy link
Member

@Joannis Joannis commented Apr 5, 2025

Fixes #99

@Joannis Joannis requested a review from Copilot April 5, 2025 13:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

Tests/CitadelTests/EndToEndTests.swift:172

  • [nitpick] The test could be improved by adding additional assertions to verify that the jump connection behaves as expected beyond just checking that the command output is non-empty.
let client2 = try await client.jump(to: settings)

}

public func jump(to settings: SSHClientSettings) async throws -> SSHClient {
let originatorAddress = try SocketAddress(ipAddress: "fe80::1", port: 22)
Copy link

Copilot AI Apr 5, 2025

Choose a reason for hiding this comment

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

The originatorAddress is hardcoded to a specific link-local IP address which might not be valid in all environments. Consider making this value configurable or derived based on the client's network context.

Copilot uses AI. Check for mistakes.
@Joannis Joannis mentioned this pull request Apr 5, 2025
@Joannis Joannis force-pushed the jo/add-jump-host-helpers branch from eae9e1d to a3025ec Compare April 5, 2025 17:41
@Joannis Joannis merged commit a4327c3 into jo/sendable-conformances Apr 5, 2025
1 check passed
@Joannis Joannis deleted the jo/add-jump-host-helpers branch April 5, 2025 17:44
@Joannis Joannis restored the jo/add-jump-host-helpers branch April 5, 2025 17:46
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