-
Notifications
You must be signed in to change notification settings - Fork 582
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
Added remote-ssh extension to /extensions #282
base: main
Are you sure you want to change the base?
Conversation
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.
❌ Changes requested. Reviewed everything up to 4950de2 in 2 minutes and 58 seconds
More details
- Looked at
3050
lines of code in22
files - Skipped
4
files when reviewing. - Skipped posting
7
drafted comments based on config settings.
1. extensions/open-remote-ssh/src/common/files.ts:19
-
Draft comment:
This function duplicates existing functionality. Consider using the existinguntildify
function instead. -
function
untildify
(labels.ts) -
Reason this comment was not posted:
Decided after close inspection that this draft comment was likely wrong and/or not actionable: usefulness confidence = 30% vs. threshold = 50%
While there is similarity between the functions, they're not identical. The existing function requires passing in userHome while this new one is more specialized for the local case. The regex differences are minor but make them not exactly equivalent. This could be a new specialized version intentionally created for this extension's specific needs.
I might be overthinking the technical differences - maybe reusing the existing function would still be better even if it means passing in homeDir explicitly.
While reuse could be good, the comment doesn't provide strong evidence that using the existing function would be better here. The specialized version might be intentional for this extension's use case.
Delete this comment. While there is similar functionality elsewhere, the differences in implementation and usage patterns mean this isn't clearly a problem that needs fixing.
2. extensions/open-remote-ssh/src/common/disposable.ts:7
-
Draft comment:
This is a duplicate utility function. Consider reusing the existing implementation. -
function
disposeAll
(dispose.ts) -
Reason this comment was not posted:
Decided after close inspection that this draft comment was likely wrong and/or not actionable: usefulness confidence = 20% vs. threshold = 50%
While code duplication is generally not ideal, these are in different extensions which may need to be independent. The function is small and simple. Sharing code between extensions might add unnecessary coupling. The comment doesn't provide clear guidance on where/how to share this utility.
The comment identifies a real issue of code duplication. Having shared utilities could reduce maintenance burden.
However, the duplication may be intentional to keep extensions decoupled, and the function is simple enough that sharing it may not be worth the added complexity.
The comment should be deleted as it's not clearly actionable and the duplication may be an intentional design choice for extension independence.
3. extensions/open-remote-ssh/src/authResolver.ts:122
- Draft comment:
Type assertion uses 'SSHDestination' which is not defined; it seems it should be SSHDestination. - Reason this comment was not posted:
Comment looked like it was already resolved.
4. extensions/open-remote-ssh/src/authResolver.ts:307
- Draft comment:
Typo in log message: change 'forwading' to 'forwarding'. - Reason this comment was not posted:
Decided after close inspection that this draft comment was likely wrong and/or not actionable: usefulness confidence = 0% vs. threshold = 50%
While this is technically correct - there is a typo - it's in a log message that only developers would see during debugging. Log message typos don't impact functionality. The rules say not to make purely informative comments and to avoid unimportant changes.
The typo could make the log message slightly confusing to developers debugging SOCKS forwarding issues. Clear log messages are important for debugging.
While clear logs are good, this typo is minor and the meaning is still clear from context. The benefit of fixing it is very small compared to the overhead of a PR comment.
This comment should be deleted as it addresses a minor typo in a log message that doesn't impact functionality.
5. extensions/open-remote-ssh/src/ssh/sshDestination.ts:47
- Draft comment:
Consider logging the error in the catch block of parseEncoded for easier debugging. - Reason this comment was not posted:
Confidence changes required:33%
<= threshold50%
None
6. extensions/open-remote-ssh/src/serverSetup.ts:197
- Draft comment:
Consider validating the result of splitting each line in parseServerInstallOutput to handle unexpected formatting. - Reason this comment was not posted:
Confidence changes required:33%
<= threshold50%
None
7. extensions/open-remote-ssh/src/ssh/sshConfig.ts:79
- Draft comment:
Ensure that the 'glob' package version supports promises as used with await in parseSSHConfigFromFile. - Reason this comment was not posted:
Confidence changes required:33%
<= threshold50%
None
Workflow ID: wflow_KKLZGXev4RSkd5XY
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Description:
Reworked Open Remote-SSH to work for Void by:
Issue:
Resolves #209 by adding a functional Remote-SSH extension
Note:
Important
Added Remote-SSH extension for Void platform with updated configurations and build scripts.
/extensions
for Void platform.DEFAULT_DOWNLOAD_URL_TEMPLATE
to point to Void server release.package.json
with new dependencies and scripts for building the extension.extension-browser.webpack.config.js
andextension.webpack.config.js
for webpack configuration.gulpfile
for compiling and building.CHANGELOG.md
andREADME.md
for the new extension.This description was created by
for 4950de2. It will automatically update as commits are pushed.