Skip to content
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

Upgrade to VS Code 1.58.2 #4807

Merged
merged 1 commit into from
Jul 23, 2021
Merged

Upgrade to VS Code 1.58.2 #4807

merged 1 commit into from
Jul 23, 2021

Conversation

akosyakov
Copy link
Member

@akosyakov akosyakov commented Jul 14, 2021

What it does

fix #4626 It upgrades VS Code to 1.58.2.

How to test

Test following aspects:

  • terminals are preserved and resized properly between window reloads
  • extension host process: check language smartness
  • extension management (installing/uninstalling)
    • install VIM extension to test web extensions
  • gp open and preview
  • that user data are sync across workspaces as well as on workspace restart, especially for extensions
    • test that extensions from .gitpod.yml are installed without sync
  • workspace specific commands should work, i.e. F1 → type Gitpod prefix
  • that a PR view is preloaded on the PR url
  • websockets and workers are properly proxied
    • diff editor should be operatable
    • trigger reconnection with window.WebSocket.disconnectWorkspace(), check that old websockets are closed and new opened of the same amount
  • settings should not contain any mentions of MS telemetry
  • smoke test on Chrome, FF, and Safari on Mac/iPad

@codecov
Copy link

codecov bot commented Jul 14, 2021

Codecov Report

Merging #4807 (46e851b) into main (4bb8d42) will increase coverage by 37.78%.
The diff coverage is n/a.

❗ Current head 46e851b differs from pull request most recent head 158fd50. Consider uploading reports for the commit 158fd50 to get more accurate results
Impacted file tree graph

@@            Coverage Diff            @@
##           main    #4807       +/-   ##
=========================================
+ Coverage      0   37.78%   +37.78%     
=========================================
  Files         0       50       +50     
  Lines         0     9741     +9741     
=========================================
+ Hits          0     3681     +3681     
- Misses        0     5768     +5768     
- Partials      0      292      +292     
Flag Coverage Δ
components-gitpod-cli-app 9.74% <ø> (?)
components-supervisor-app 36.04% <ø> (?)
components-ws-manager-app 36.77% <ø> (?)
components-ws-proxy-app 67.22% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
components/gitpod-cli/cmd/sync-await.go 10.52% <0.00%> (ø)
components/supervisor/pkg/terminal/service.go 29.09% <0.00%> (ø)
components/supervisor/pkg/supervisor/git.go 0.00% <0.00%> (ø)
components/ws-manager/pkg/manager/imagespec.go 0.00% <0.00%> (ø)
...s/ws-manager/pkg/manager/internal/grpcpool/pool.go 74.46% <0.00%> (ø)
components/gitpod-cli/cmd/url.go 36.36% <0.00%> (ø)
components/ws-proxy/pkg/proxy/auth.go 100.00% <0.00%> (ø)
components/supervisor/pkg/ports/tunnel.go 63.63% <0.00%> (ø)
components/ws-proxy/pkg/proxy/pass.go 76.85% <0.00%> (ø)
components/ws-manager/pkg/manager/probe.go 0.00% <0.00%> (ø)
... and 40 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4bb8d42...158fd50. Read the comment docs.

@akosyakov
Copy link
Member Author

Generally everything wokrs alright, but terminals need to be resized sometimes to show content. It is known a bug: microsoft/vscode#128342 and scheduled for the recovery release.

@akosyakov akosyakov marked this pull request as ready for review July 14, 2021 05:57
@akosyakov akosyakov requested review from a team, corneliusludmann, csweichel, aledbf and jankeromnes and removed request for a team and corneliusludmann July 14, 2021 05:57
@akosyakov akosyakov marked this pull request as draft July 16, 2021 01:47
@akosyakov
Copy link
Member Author

1.58.2 is out with terminal fixes, going to rebase again today

@akosyakov akosyakov changed the title Upgrade to VS Code 1.58.1 Upgrade to VS Code 1.58.2 Jul 16, 2021
@akosyakov akosyakov force-pushed the akosyakov/code-upgrade-to-4626 branch from 38b8383 to c77d5c1 Compare July 16, 2021 04:04
@roboquat roboquat added size/XL and removed size/L labels Jul 16, 2021
@akosyakov
Copy link
Member Author

/assign @corneliusludmann

@akosyakov
Copy link
Member Author

/hold

@akosyakov akosyakov marked this pull request as ready for review July 16, 2021 04:43
@akosyakov
Copy link
Member Author

It looks good now and contain latest recovery release. @corneliusludmann You can test it already. #4738 is almost ready too.

@akosyakov
Copy link
Member Author

/unhold

@corneliusludmann
Copy link
Contributor

corneliusludmann commented Jul 19, 2021

/werft run

👍 started the job as gitpod-build-akosyakov-code-upgrade-to-4626.3

@corneliusludmann
Copy link
Contributor

Anton: I took the liberty to rebase this branch on main to get a running preview env (see #4867).

@corneliusludmann
Copy link
Contributor

When I open a pull request, the PR view is not loaded. When try to open the PR view I see these logs:

[Info] /home/gitpod/.ssh/config: ENOENT: no such file or directory, open '/home/gitpod/.ssh/config'
[Info] Registering git provider
[Info] Looking for git repository
[Info] Found 1 repositories during activation
[Info] Git repository found, initializing review manager and pr tree view.
[Info] Review> Validate state in progress
[Info] Review> Validating state...
[Info] No remote with name 'upstream' found.
[Info] Found GitHub remote
[Info] Review> no matching pull request metadata found for current branch akosyakov/code-upgrade-to-4626
[Info] Review> no matching pull request metadata found on GitHub for current branch akosyakov/code-upgrade-to-4626

@corneliusludmann
Copy link
Contributor

Everything else looks good so far.

@akosyakov
Copy link
Member Author

Could you check please whether it is not
the same in production? It could be a regression in a new version of GHPR extension not in VS Code

@corneliusludmann
Copy link
Contributor

In production, it works.

@akosyakov
Copy link
Member Author

akosyakov commented Jul 23, 2021

/werft run

👍 started the job as gitpod-build-akosyakov-code-upgrade-to-4626.10

@akosyakov
Copy link
Member Author

@corneliusludmann it worked for me:
Screenshot 2021-07-23 at 11 02 46

Maybe there is a confusion: GHPR only works if you allowed it to access a token. There is the account menu in the left bottom corner. It should not have any notifications. If it has then you should click on it and grant access. After that you have to start a new workspace. We actually have an issue to make it more prominent: #4081

@corneliusludmann
Copy link
Contributor

Thanks for the hint, Anton. Now it works.

/lgtm

@roboquat roboquat added the lgtm label Jul 23, 2021
@roboquat
Copy link
Contributor

LGTM label has been added.

Git tree hash: 6319fb6caa46d649c674c515bba9e4612bdf7ae9

@roboquat roboquat merged commit 453cbeb into main Jul 23, 2021
@roboquat roboquat deleted the akosyakov/code-upgrade-to-4626 branch July 23, 2021 07:50
@roboquat
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akosyakov, corneliusludmann

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[code] upgrade to 1.58
3 participants