Skip to content

Conversation

mustard-mh
Copy link
Contributor

@mustard-mh mustard-mh commented Mar 9, 2022

Description

Remove Theia extension related code

Related Issue(s)

Fixes #4630

How to test

Start A workspace to do the smoke test like release do #8609
I have did this all (although I think we don't need to do this many steps 😄)

  • Start a workspace.
  • Test following:
    • terminals are preserved and resized properly between window reloads
    • WebViews are working
    • extension host process: check language smartness and debugging
    • extension management (installing/uninstalling)
    • install the VIM extension to test web extensions
    • that user data are sync across workspaces as well as on workspace restart, especially for extensions
    • extensions from .gitpod.yml are not installed as sync
    • extensions installed as sync are actually sync in new workspaces
    • settings should not contain any mentions of MS telemetry
    • 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
    • workspace specific commands should work, i.e. F1 → type Gitpod prefix
    • that a PR view is preloaded on the PR url
    • test gp open and preview
    • test open in VS Code Desktop, check gp open and preview in task/user terminals
    • telemetry data is collected in Segment

Release Notes

NONE

Documentation

@@ -17,13 +17,6 @@ packages:
packaging: library
yarnLock: ${coreYarnLockBase}/yarn.lock
tsconfig: tsconfig.json
- name: theia-plugin-list
Copy link
Contributor Author

Choose a reason for hiding this comment

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

global searched theia-plugin-list -> no usage

@mustard-mh
Copy link
Contributor Author

mustard-mh commented Mar 9, 2022

/hold
I have split these into several commits for review

  • need squash commits

@mustard-mh mustard-mh marked this pull request as ready for review March 9, 2022 12:22
@mustard-mh mustard-mh requested a review from a team March 9, 2022 12:22
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Mar 9, 2022
@mustard-mh mustard-mh requested a review from a team March 9, 2022 12:23
@codecov
Copy link

codecov bot commented Mar 9, 2022

Codecov Report

Merging #8685 (841eb6d) into main (af79008) will decrease coverage by 1.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #8685      +/-   ##
==========================================
- Coverage   12.31%   11.17%   -1.14%     
==========================================
  Files          20       18       -2     
  Lines        1161      993     -168     
==========================================
- Hits          143      111      -32     
+ Misses       1014      880     -134     
+ Partials        4        2       -2     
Flag Coverage Δ
components-gitpod-cli-app 11.17% <ø> (ø)
components-local-app-app-darwin-amd64 ?
components-local-app-app-darwin-arm64 ?
components-local-app-app-linux-amd64 ?
components-local-app-app-linux-arm64 ?
components-local-app-app-windows-386 ?
components-local-app-app-windows-amd64 ?
components-local-app-app-windows-arm64 ?

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

Impacted Files Coverage Δ
components/local-app/pkg/auth/pkce.go
components/local-app/pkg/auth/auth.go

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@akosyakov
Copy link
Member

@mustard-mh Could you provide How to test section? We should smoke test that workspaces still start and extensions are there. Do you do any other testing?

@mustard-mh mustard-mh marked this pull request as draft March 10, 2022 10:14
@mustard-mh mustard-mh marked this pull request as ready for review March 10, 2022 11:32
@mustard-mh
Copy link
Contributor Author

mustard-mh commented Mar 10, 2022

How to test section updated ✅

felladrin
felladrin previously approved these changes Mar 10, 2022
Copy link
Contributor

@felladrin felladrin left a comment

Choose a reason for hiding this comment

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

Code reviewed and also tested with a production app that uses most of the features mentioned in the How To Test section. Everything's working great! ✅

I also verified each checklist item in the How To Test section.

@andreafalzetti
Copy link
Contributor

andreafalzetti commented Mar 11, 2022

Shall we also remove this file? components/gitpod-cli/generate-theia-protocol.go

Copy link
Member

@geropl geropl left a comment

Choose a reason for hiding this comment

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

LGTM

@mustard-mh
Copy link
Contributor Author

/unhold

@mustard-mh
Copy link
Contributor Author

mustard-mh commented Mar 11, 2022

/werft run no-preview

👍 started the job as gitpod-build-hw-fix-4630.7

@mustard-mh
Copy link
Contributor Author

/hold

@mustard-mh
Copy link
Contributor Author

Shall we also remove this file? components/gitpod-cli/generate-theia-protocol.go

@andreafalzetti maybe other PR to remove theia things

@mustard-mh
Copy link
Contributor Author

/unhold

@roboquat roboquat merged commit f608089 into main Mar 11, 2022
@roboquat roboquat deleted the hw/fix-4630 branch March 11, 2022 18:47
@roboquat roboquat added the deployed: webapp Meta team change is running in production label Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production release-note-none size/XXL team: IDE team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove Theia and move extension resolution to Code
6 participants