mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
* Enable leader election in ws-manager-mk2 * Update go modules * Move workspace activity to CRD * Remove workspace activity * Cleanup * Update ws-manager-mk2 CRD * Cleanup * Restore lastActivity logic * TEST * Disable observability * Start the grpc server after leader election * Bount the source of subscribers to an informer * Cleanup * Avoid deepCopy * Remove goroutine to execute OnReconcile * Refactor last activity to be consistent acrtoss the controllers * Address feedback
Overview
The ws-manager-api component hosts the api component of ws-manager.
Making changes to the api
First, make sure those changes are really neccesary. We want to keep the interface as trim as possible.
To make changes, edit core.proto ideally in a backwards compatible manner. Then run ./generate.sh in this directory to re-generate the GO and TypeScript protocol implementations.