Repository navigation
feat: write the gateway configuration into each new gateway container - #13497
Merged
Merged
Conversation
Docker and Podman gateways kept gateway.toml in retained storage, so any change to it required a fresh deployment UID. The file now belongs to the container: Docker uploads it when it creates the gateway container, which it replaces when the content changes, and the Podman provider writes it before each start. Storage holds only data and credentials and no longer compares the file (#13473).
cv
enabled auto-merge (squash)
October 19, 2026 20:01
Contributor
This was referenced Oct 19, 2026
cv
added a commit
that referenced
this pull request
Oct 19, 2026
…13502) ## Failure `docs/design/scope.md` still listed "Managed gateways write OpenShell's configuration file field by field (#13473)" as an exception awaiting a decision. #13473 is closed: #13492 and #13497 decided it. ## Decision Record the outcome with the managed-gateway decision: NemoClaw writes only the keys it owns and passes the rest through from `spec.gateway.config` in OpenShell's format. That leaves `runtimes/qwen38` (#13472) as the only exception awaiting a decision. ## Validation `fern check` and `git diff --check` passed. Docs only.
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.
Failure
Managed Docker and Podman gateways kept
gateway.tomlin retained storage, written once when the deployment was created. Storage compared it on every refresh, so any change tospec.gateway.configfrom #13492 failed with "gateway storage configuration differs" and needed a fresh deployment UID. Completes #13473.Decision
The file now belongs to the gateway container, and storage holds only data and credentials.
docker_containeruploads it when it creates the gateway container. The Docker provider replaces a container when its uploads change.gateway_configas an attribute, so a change replaces it.gateway_configattribute, so a configuration change never replaces storage. Podman observation stops comparing the file too.Validation
cargo ci(including the bundle and lifecycle steps),cargo ci live-docker(11 tests), andcargo ci live-kind(7 tests) passed after rebasing onto fix: replace sandboxes that exited #13493.openshell.gateway.log_levelplanned onlydelete → createof the gateway container;Readyand the following plan was empty;After merge, close #13473 by hand.