gitpod-io / gitpod-io/gitpod

Epic: Provide common infrastructure for interacting with cgroups

Open
#10,224 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

meta: never-stale team: workspace type: epic
Dominant language
TypeScript
Stars
13.8k
Forks
1.4k
Avg merge
17h 58m
Merged PRs (30d)
5

Description

Summary

There are more and more places were interacting with cgroups is required. Not only in workspace components but in IDE components as well.

Context

The current interaction with cgroups is not really reusable.

Value

Providing a common library would prevent us from having to implement the same functionality over and over again.

Acceptance Criteria
  • Create the cgroup library
  • Switch workspace components to the library
  • Extend IWS with an endpoint that provides resource information that is using this library
  • Supervisor uses this endpoint to retrieve resource information. That way the IDE team does not need to mess with linux and workspace implementation details.
Measurement

Workspace components use cgroup library everywhere and grpc endpoint for other components is available

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing cgroup interactions in workspace components, the IWS resource-information endpoint, and the supervisor code that retrieves resource information. Define the shared cgroup library and trace each affected integration before making changes. Done means workspace components use the library, the gRPC endpoint is available, and the supervisor consumes it without Linux or workspace implementation details.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, typescript
Domain
backend-api-design, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.