Repository navigation
refactor(orchestrator): export the status contract from api/v1alpha1 - #330
Merged
Merged
Conversation
The Ready condition type, every reason the controller sets on it and the agents-done termination message are exported constants, so a client reads them instead of copying string literals. Each reason says whether it clears on its own or needs a spec or cluster change. The values are unchanged, and the controller tests still assert the literals, so released clients keep working.
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Nov 8, 2026
## [0.33.0](v0.32.0...v0.33.0) (2026-11-08) ### ✨ Features * **gateway:** tune MCP health polling with spec.mcp.healthCheck ([#328](#328)) ([ff0867c](ff0867c)) * **orchestrator:** give spec.mcp.servers names and headers in the pod's mcp.yaml ([#324](#324)) ([56f4ff8](56f4ff8)), closes [#321](#321) * **orchestrator:** pass through binding Service annotations and labels ([#320](#320)) ([d543db8](d543db8)) ### ♻️ Improvements * **orchestrator:** export the status contract from api/v1alpha1 ([#330](#330)) ([4b5d854](4b5d854)) ### 🐛 Bug Fixes * **examples:** serve the example MCP servers over stateless MCP 2026-07-28 ([#325](#325)) ([6d34978](6d34978)), closes [#323](#323) * **samples:** make the Gateway and MCP samples pass CRD validation ([#329](#329)) ([e2e5d2a](e2e5d2a)) ### 👷 CI * **deps:** bump the gomod group with 4 updates ([#319](#319)) ([67f1bde](67f1bde))
Contributor
|
🎉 This PR is included in version 0.33.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Orchestrator's status contract was a set of string literals in
internal/controller, so a client that reads it had to copy them. They are now exported fromapi/v1alpha1/orchestrator_types.go:OrchestratorConditionReady, theReadycondition type.ReasonDeploymentAvailable,ReasonDeploymentNotAvailable,ReasonSandboxReady,ReasonSandboxNotReady,ReasonSandboxSuspended,ReasonInvalidSpec,ReasonSandboxCRDMissingandReasonGatewayNotFound. The issue named three of them, and the workload state sets the other five.AgentsDoneMessage, the termination message a pod daemon leaves once every agent is done.Each reason's doc comment says whether it clears on its own or needs a change to the spec or the cluster, which is how a client decides to keep waiting or fail fast.
The controllers use only the exported names. The one
"Ready"left inorchestrator_sandbox.gois the condition type on agent-sandbox's own Sandbox resource, not the Orchestrator's.Closes #322
Compatibility
The values are unchanged, so released CLIs keep working. The controller tests still assert the literal strings, so a changed value fails them.
Verification
task testpasses.Cross-repo impact