Skip to content

api: open the sandboxClass enum for out-of-tree ateom-* backends#332

Open
Davanum Srinivas (dims) wants to merge 1 commit into
agent-substrate:mainfrom
dims:pluggable/open-sandboxclass-enum
Open

api: open the sandboxClass enum for out-of-tree ateom-* backends#332
Davanum Srinivas (dims) wants to merge 1 commit into
agent-substrate:mainfrom
dims:pluggable/open-sandboxclass-enum

Conversation

@dims

@dims Davanum Srinivas (dims) commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Replace the closed +kubebuilder:validation:Enum=gvisor;microvm on SandboxConfig/WorkerPool/ActorTemplate .spec.sandboxClass with a DNS-label Pattern + MaxLength=63. gvisor/microvm stay the built-in defaults, but a custom ateom-* backend can now define its own sandboxClass (and ship a matching SandboxConfig + WorkerPool) without forking substrate — admission no longer rejects the class. Regenerate CRDs; update the ActorTemplate validation test (custom foobar accepted, pattern-violating Bad_Class rejected).

  • Tests pass
  • Appropriate changes to documentation are included in the PR

…h B / B2)

Replace the closed +kubebuilder:validation:Enum=gvisor;microvm on
SandboxConfig/WorkerPool/ActorTemplate .spec.sandboxClass with a DNS-label
Pattern + MaxLength=63. gvisor/microvm stay the built-in defaults, but a custom
ateom-* backend can now define its own sandboxClass and ship a matching
SandboxConfig + WorkerPool without forking substrate (admission no longer
rejects the class). Regenerate CRDs; update the ActorTemplate validation test
(custom class "firecracker" accepted; pattern-violating "Bad_Class" rejected).
@dims Davanum Srinivas (dims) changed the title [WIP] api: open the sandboxClass enum for out-of-tree ateom-* backends (Path B / B2) [WIP] api: open the sandboxClass enum for out-of-tree ateom-* backends Jun 26, 2026
@dims Davanum Srinivas (dims) changed the title [WIP] api: open the sandboxClass enum for out-of-tree ateom-* backends api: open the sandboxClass enum for out-of-tree ateom-* backends Jun 26, 2026
@BenTheElder

Copy link
Copy Markdown
Collaborator

Intentionally didn't do this while they won't work / aren't supported ... cc Tim Hockin (@thockin)

@dims

Copy link
Copy Markdown
Collaborator Author

Benjamin Elder (@BenTheElder) i have a branch where i copied ateom-microvm, renamed everything to ateom-foobar and got it working, so we can't say "they won't work" ... we can definitely say "aren't supported" until we have tests :)

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