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

[supervisor] Update to grpc-gateway v2 #2262

Merged
merged 4 commits into from
Nov 24, 2020
Merged

Conversation

csweichel
Copy link
Contributor

grpc-gateway recently released v2 (see grpc-ecosystem/grpc-gateway#1223).

Because we hadn't pinned the grpc-gateway-gen version, we ended up pulling v2 when re-generating the supervisor API.
This PR embraces the change and migrates supervisor to grpc-gateway v2.

It also fixes the REST API path for tasks.

How to test

  1. Start a workspace
  2. Ensure the supervisor REST API still behaves sensibly, e.g.
  • /v1/status/ports/observe/true
  • /v1/status/tasks/observe/true

Copy link
Member

@akosyakov akosyakov left a comment

Choose a reason for hiding this comment

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

I tested with gitpod-io/website that ports and tasks notifications are propagated.

@csweichel csweichel merged commit 79c8ad5 into master Nov 24, 2020
@csweichel csweichel deleted the cw/update-supervisor-api branch November 24, 2020 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants