Skip to content

[server] remove obsolete and unused getSuggestedContextURLs #19074

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

Merged
merged 2 commits into from
Nov 16, 2023

Conversation

AlexTugarev
Copy link
Member

@AlexTugarev AlexTugarev commented Nov 15, 2023

Description

The json-rpc method getSuggestedContextURLs is unused for quite a while now.

Summary generated by Copilot

🤖 Generated by Copilot at 866c80d

This pull request removes the deprecated getSuggestedContextURLs method and its related code from the Gitpod service interface, the public API server, the dashboard, and the tests. This method was replaced by the getAccessibleProjects method, which provides a better user experience for selecting repositories to start workspaces from.

Related Issue(s)

Fixes #

How to test

Documentation

Preview status

Gitpod was successfully deployed to your preview environment.

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

Copy link
Member

@filiptronicek filiptronicek left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning up 🙏.
We are using the method in the desktop app, but think it's safe to ignore now.
cc @selfcontained

@AlexTugarev
Copy link
Member Author

We are using the method in the desktop app, but think it's safe to ignore now.

@filiptronicek, thanks for pointing this out. I think in the gRPC-based API there will be equivalent methods available, as they are already used by the Dashboard. 🙏🏻

@AlexTugarev
Copy link
Member Author

/unhold

@roboquat roboquat merged commit 0907ff5 into main Nov 16, 2023
@roboquat roboquat deleted the at/getSuggestedContextURLs branch November 16, 2023 11:17
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.

3 participants