Skip to content

feat: isolation, runtime and runtimes fields for pool scheduling - #1

Merged
STRRL merged 1 commit into
mainfrom
pool-fields
Oct 8, 2026
Merged

STRRL merged 1 commit into
mainfrom
pool-fields

Conversation

@STRRL

@STRRL STRRL commented Oct 8, 2026

Copy link
Copy Markdown
Member

Problem

The server cannot tell which hosts offer gVisor or VM isolation, nor ask the agent for a specific container runtime, so pool runners cannot be placed on the right hosts.

Solution

Additive proto fields for v0.2.0, with buf plugins pinned so generated code stays reproducible.

Major Changes

  • EnrollRequest.isolation = 8, HeartbeatRequest.isolation = 4, StartRunner.runtime = 7, BackendCapability.runtimes = 3
  • buf.gen.yaml pins protocolbuffers/go:v1.36.12 and connectrpc/go:v1.19.1

🤖 Generated with Claude Code

Additive fields in agent.proto for pool scheduling:
EnrollRequest.isolation = 8, HeartbeatRequest.isolation = 4,
StartRunner.runtime = 7, BackendCapability.runtimes = 3.

Pin the remote buf plugins to the versions the committed code was
generated with, because the unpinned connect plugin now emits
connectrpc.com/connect/v2 while go.mod stays on v1.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@STRRL
STRRL merged commit 7f854cb into main Oct 8, 2026
1 check passed
@STRRL
STRRL deleted the pool-fields branch October 8, 2026 01:57

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 64536787ae

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

int32 max_runners = 7;
// Isolation the host offers for runners: "container", "sandboxed_container"
// (Docker with the gVisor runsc runtime) or "vm".
string isolation = 8;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Represent all supported isolation modes

When a host provides multiple backends—for example Docker alongside Tart or Firecracker, which the repeated available_backends field permits—this scalar can advertise only one of container, sandboxed_container, or vm. The scheduler will consequently treat that host as ineligible for jobs requiring any unreported mode even though the corresponding backend is available. Represent isolation as a repeated capability or associate it with each BackendCapability, and mirror that representation in heartbeats.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T01:58:07.590871Z 6453678 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

1 participant