gitpod/components/ws-manager-api
Gero Posmyk-Leinemann 2686bc2f47
[server, bridge] Bump grpc-js and authzed clients (#19849)
* [yarn] Bump @grpc/grpc-js to 1.10.8 and @authzed/authzed-node to 0.15.0

* [server] SpiceDB: explicit re-try on UNAVAILABLE

We tried to configured this inside the SpiceDBClientProvider already, but somehow it still surfaced.

* [server, bridge] Configure "grpc.dns_min_time_between_resolutions_ms" to be 2s instead of 30s
2024-06-06 13:57:19 +08:00
..
2021-06-04 16:26:37 -04:00
2024-03-26 20:55:35 +01:00

Overview

The ws-manager-api component hosts the api component of ws-manager-mk2.

Making changes to the api

There are two types of changes, changes to:

  1. proto files, like core.proto
  2. API clients (we have Go and TypeScript clients)

Changing the proto file

Say you change core.proto. Please run generate.sh from ws-manager-api to re-generate the Go and TypeScript clients.

Changing API clients

Say you plan to remove a field from a struct in our Go client. After doing, then run:

  1. make manifests from components/ws-manager-mk2, and preserve the copyright headers, to update YAML specifications
  2. make generate from components/ws-manager-mk2, and preserve the copyright headers, to generate code