-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#11626 fix twist conch --auth=sshkey
#11810
Conversation
please review |
It would be nice to address the coverage gap here, but the types are sufficient in this case (I've tested this interactively, and ssh clients can indeed authenticate to conch again) |
@glyph is it ok to merge a change without a test? Regards |
@adiroiban I suppose it's up to you, as the reviewer, if you want to say "no, we must have test coverage" ;-). As a matter of policy we require tests. As a matter of principle I'd say "I just added type annotations, no behavior was changed" is an acceptable reason to that requirement. But of course, this change doesn't adhere to that principle; I do encoding where there wasn't any encoding before, to address the bug. My reasoning for this fairly unprincipled exception is:
but, you could make a similar case for any other too-long-regressed bug, so 🤷 I'll have to leave it up to a reviewer |
well I guess the fake version is okay if everything is typechecked everywhere, so I added a bunch more types |
OK, tests cover it. @adiroiban I think this might be more of a rubber stamp now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks for this great update.
Should be ready to merge.
Thanks for the prompting on the test! |
Scope and purpose
Fixes #11626
Contributor Checklist:
This process applies to all pull requests - no matter how small.
Have a look at our developer documentation before submitting your Pull Request.
Below is a non-exhaustive list (as a reminder):
please review
.Our bot will trigger the review process, by applying the pending review label
and requesting a review from the Twisted dev team.