Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Add support for VS Code and JetBrains Gateway via SSH#956

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kylecarbs merged 18 commits intomainfromides
Apr 12, 2022

Conversation

kylecarbs
Copy link
Member

This fixes various bugs that made this not work:

  • Incorrect max message size inpeer
  • Incorrect reader buffer size inpeer
  • Lack of SFTP support inagent
  • Lack of direct-tcpip support inagent
  • Misuse of command from session. It should always use the shell
  • Blocking on SSH session, only allowing one at a time

Fixes#833 too.

This enables a "kubernetes_pod" to attach multiple agents thatcould be for multiple services. Each agent is required to havea unique name, so SSH syntax is:`coder ssh <workspace>.<agent>`A resource can have zero agents too, they aren't required.
This enables a "kubernetes_pod" to attach multiple agents thatcould be for multiple services. Each agent is required to havea unique name, so SSH syntax is:`coder ssh <workspace>.<agent>`A resource can have zero agents too, they aren't required.
This command was `true` by default, which causesa confusing user experience.
@codecov
Copy link

codecovbot commentedApr 11, 2022
edited
Loading

Codecov Report

Merging#956 (81f3849) intomain (fb9dc4f) willincrease coverage by0.07%.
The diff coverage is73.33%.

@@            Coverage Diff             @@##             main     #956      +/-   ##==========================================+ Coverage   66.55%   66.63%   +0.07%==========================================  Files         241      241                Lines       14582    14577       -5       Branches      115      115              ==========================================+ Hits         9705     9713       +8+ Misses       3887     3881       -6+ Partials      990      983       -7
FlagCoverage Δ
unittest-go-macos-latest53.52% <73.33%> (-0.18%)⬇️
unittest-go-postgres-66.39% <73.33%> (-0.03%)⬇️
unittest-go-ubuntu-latest56.29% <73.33%> (-0.02%)⬇️
unittest-go-windows-202253.03% <73.33%> (+0.04%)⬆️
unittest-js61.56% <ø> (ø)
Impacted FilesCoverage Δ
agent/agent.go64.59% <70.37%> (-3.47%)⬇️
peer/channel.go83.23% <100.00%> (+0.19%)⬆️
peerbroker/proxy.go57.55% <0.00%> (-4.07%)⬇️
coderd/workspaceagents.go60.00% <0.00%> (-1.78%)⬇️
provisioner/terraform/provision.go68.11% <0.00%> (-0.44%)⬇️
provisionerd/provisionerd.go80.29% <0.00%> (+0.29%)⬆️
coderd/provisionerdaemons.go63.51% <0.00%> (+0.50%)⬆️
peer/conn.go80.45% <0.00%> (+2.79%)⬆️
peerbroker/listen.go87.50% <0.00%> (+3.33%)⬆️
... and2 more

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updatefb9dc4f...81f3849. Read thecomment docs.

This fixes various bugs that made this not work:- Incorrect max message size in `peer`- Incorrect reader buffer size in `peer`- Lack of SFTP support in `agent`- Lack of direct-tcpip support in `agent`- Misuse of command from session. It should always use the shell- Blocking on SSH session, only allowing one at a timeFixes#833 too.
Copy link
Contributor

@f0sself0ssel left a comment

Choose a reason for hiding this comment

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

nit on go.mod is all I'd change, looks good otherwise

@kylecarbskylecarbsforce-pushed theclihelp branch 4 times, most recently from421dd0e to683f87eCompareApril 11, 2022 23:44
Base automatically changed fromclihelp tomainApril 11, 2022 23:54
@kylecarbskylecarbs requested a review froma team as acode ownerApril 11, 2022 23:54
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

@f0sself0sself0ssel approved these changes

Assignees

@kylecarbskylecarbs

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@kylecarbs@johnstcn@f0ssel

[8]ページ先頭

©2009-2025 Movatter.jp