You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7200e68
Browse filesBrowse the repository at this point in the historyBrowse files
feat(config): deliver gateway configuration over the supervisor session
Supervisors poll the gateway for configuration every 10 seconds. Add an
opt-in push path: with config_delivery_mode = "push", the gateway delivers
sandbox configuration and provider environments over the existing
ConnectSupervisor session, and supervisors apply and acknowledge them.
Poll stays the default, and older supervisors and gateways keep polling.
The gateway builds a streamed bootstrap that the supervisor applies before
starting the workload, then runs a per-session delivery task that
coalesces publications, takes FIFO build permits sized from the database
pool, retries failed components with backoff, and reconciles periodically.
Both components build from one shared input load, and the bootstrap
checks that they agree on provider revision, attachments, and effective
policy. In HA, replicas notify the session owner, which rebuilds from
shared state.
Builds also get cheaper in poll mode: interceptor provider-profile sources
are served from a snapshot refreshed every 10 seconds, and provider
environment builds read refresh states once and load providers
concurrently.
The supervisor applies polled and streamed configuration through one
runtime, now in its own module, and stops polling once a push session is
applying configuration. New metrics cover builds, deliveries, apply
results, bootstraps, and peer notifications.
Part of #1731.
Signed-off-by: Piotr Mlocek <[email protected]>
Copy file name to clipboardExpand all lines: .github/workflows/e2e-docker-test.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ on:
29
29
required: false
30
30
type: string
31
31
default: >-
32
-
[{"suite":"python","cmd":"mise run --no-deps --skip-deps e2e:python","apt_packages":"","python_proto":true,"mcp":false},{"suite":"oidc-python","cmd":"mise run --no-deps --skip-deps e2e:oidc-python:docker","apt_packages":"","python_proto":true,"mcp":false},{"suite":"oidc-pkce-docker","cmd":"mise run --no-deps --skip-deps e2e:oidc-pkce:docker","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"rust-docker","cmd":"mise run --no-deps --skip-deps e2e:rust","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"oci-image","cmd":"mise run --no-deps --skip-deps e2e:oci-image","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"mcp","cmd":"mise run --no-deps --skip-deps e2e:mcp","apt_packages":"","python_proto":false,"mcp":true}]
32
+
[{"suite":"python","cmd":"mise run --no-deps --skip-deps e2e:python","apt_packages":"","python_proto":true,"mcp":false},{"suite":"oidc-python","cmd":"mise run --no-deps --skip-deps e2e:oidc-python:docker","apt_packages":"","python_proto":true,"mcp":false},{"suite":"oidc-pkce-docker","cmd":"mise run --no-deps --skip-deps e2e:oidc-pkce:docker","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"rust-docker","cmd":"mise run --no-deps --skip-deps e2e:rust","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"rust-docker-push","cmd":"mise run --no-deps --skip-deps e2e:rust:push","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"oci-image","cmd":"mise run --no-deps --skip-deps e2e:oci-image","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"mcp","cmd":"mise run --no-deps --skip-deps e2e:mcp","apt_packages":"","python_proto":false,"mcp":true}]
Copy file name to clipboardExpand all lines: TESTING.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -224,6 +224,7 @@ Suites:
224
224
the selected deployment.
225
225
- Docker suite (`--features e2e-docker`) - includes Docker-only coverage such as Dockerfile image builds, Docker preflight checks, and managed Docker gateway start.
226
226
- Docker GPU suite (`--features e2e-docker-gpu`) - Docker suite plus GPU sandbox smoke coverage.
227
+
- Configuration push suite (`--features e2e-config-push`) - CLI conformance and the policy tests against a Docker gateway with `config_delivery_mode = "push"`. Run it with `mise run e2e:rust:push`.
227
228
- VM suite (`--features e2e-vm`) - runs e2e tests on a VM.
228
229
- Kubernetes credential-driver suite (`--features e2e-kubernetes-credential-drivers`) - targeted Kubernetes Secrets and Vault provider credential storage coverage.
0 commit comments