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

[Server] Extract IDE config resolution logic to ide-service #15062

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

andreafalzetti
Copy link
Contributor

@andreafalzetti andreafalzetti commented Nov 30, 2022

Description

This PR allows to migrate resolution of IDE configuration for each workspace from server to ide-service. It is done by using configcat flag. By default is disabled, but the request to ide-service is done anyway that we could confirm reliability and functional correctness, before we migrate.

IDE service part is already deployed and tested: [1]

Co-Authored between: @akosyakov @iQQBot @felladrin @andreafalzetti

Related Issue(s)

Related to #9189

How to test

Check if the IDE opened is the right version
In the server check if the asser log never appears for the following cases:

Release Notes

NONE

Documentation

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-andreafalzetti-extract-ide-service-9189.19 because the annotations in the pull request description changed
(with .werft/ from main)

@andreafalzetti
Copy link
Contributor Author

andreafalzetti commented Dec 1, 2022

/werft run recreate-preview

👍 started the job as gitpod-build-andreafalzetti-extract-ide-service-9189.30
(with .werft/ from main)

@akosyakov akosyakov mentioned this pull request Dec 1, 2022
4 tasks
@iQQBot iQQBot force-pushed the andreafalzetti/extract-ide-service-9189 branch from 2d79d59 to 495961f Compare December 2, 2022 07:59
@akosyakov akosyakov force-pushed the andreafalzetti/extract-ide-service-9189 branch from cebaf02 to c04d484 Compare December 2, 2022 10:21
@akosyakov akosyakov force-pushed the andreafalzetti/extract-ide-service-9189 branch 5 times, most recently from 4effd6d to 39972bd Compare December 5, 2022 09:16
@andreafalzetti andreafalzetti force-pushed the andreafalzetti/extract-ide-service-9189 branch 2 times, most recently from 4b6a8c1 to a1b9f30 Compare December 5, 2022 10:03
Copy link
Contributor

@iQQBot iQQBot left a comment

Choose a reason for hiding this comment

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

Code LGTM

@andreafalzetti andreafalzetti force-pushed the andreafalzetti/extract-ide-service-9189 branch from a1b9f30 to d07641d Compare December 5, 2022 11:35
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 ✅

Co-authored-by: Pudong Zheng <[email protected]>
Co-authored-by: Victor Nogueira <[email protected]>
Co-authored-by: Andrea Falzetti <[email protected]>
@andreafalzetti andreafalzetti force-pushed the andreafalzetti/extract-ide-service-9189 branch from d07641d to 12c93c0 Compare December 6, 2022 09:59
@akosyakov akosyakov marked this pull request as ready for review December 6, 2022 09:59
@akosyakov akosyakov requested a review from a team December 6, 2022 10:00
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Dec 6, 2022
@andreafalzetti andreafalzetti changed the title extract ide service 9189 [Server] Extract IDE config resolution logic to ide-service Dec 6, 2022
Copy link
Member

@easyCZ easyCZ left a comment

Choose a reason for hiding this comment

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

Change looks okay. I don't have as much context on the IDE specific service but the rest looks sensible.

@roboquat roboquat merged commit 9ea5ff3 into main Dec 7, 2022
@roboquat roboquat deleted the andreafalzetti/extract-ide-service-9189 branch December 7, 2022 09:51
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed: IDE IDE change is running in production deployed Change is completely running in production labels Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: IDE IDE change is running in production deployed: webapp Meta team change is running in production deployed Change is completely 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.

6 participants