Skip to content

Refactor coordinator.py by removing workaround for asyncssh#28

Merged
gensyn merged 1 commit into
mainfrom
removed-workaround-for-asyncssh
May 9, 2026
Merged

Refactor coordinator.py by removing workaround for asyncssh#28
gensyn merged 1 commit into
mainfrom
removed-workaround-for-asyncssh

Conversation

@gensyn
Copy link
Copy Markdown
Owner

@gensyn gensyn commented May 9, 2026

Removed unused import of sys and related error handling for fido2.client.windows.

Removed unused import of sys and related error handling for fido2.client.windows.
Copilot AI review requested due to automatic review settings May 9, 2026 05:43
Copy link
Copy Markdown

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.

Pull request overview

This PR refactors coordinator.py by removing a previously-added import-time workaround related to asyncssh’s optional Windows WebAuthn (fido2.client.windows) import behavior, and cleans up associated imports/logging placement.

Changes:

  • Removed sys import and the non-Windows fido2.client.windows pre-import workaround block.
  • Repositioned _LOGGER initialization after the import section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread coordinator.py
)
sys.modules["fido2.client.windows"] = None # type: ignore[assignment]

from asyncssh import HostKeyNotVerifiable, KeyImportError, PermissionDenied, connect, read_known_hosts
@gensyn gensyn merged commit d7ea5f3 into main May 9, 2026
9 checks passed
@gensyn gensyn deleted the removed-workaround-for-asyncssh branch May 9, 2026 06:35
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