feat(deploy): manage upstreams in Compose and split client secrets (v0.1.1-dev.7) #111

Merged
john merged 1 commit from feat/managed-upstreams-split-secrets into main 2026-11-27 22:57:56 +00:00
Owner

Moves CORN_UPSTREAM_MCP_SERVERS (coder, pocketsmith, pinchtab) into Git-managed deploy/replicas/upstreams.json -> deploy/managed/compose.yaml with zero inline secrets, and bumps to v0.1.1-dev.7.

  • src/corn/config.py: OAuth upstreams without an inline client_secret read CORN_UPSTREAM_CLIENT_SECRET_<NAME> from CORN_SECRETS_FILES or environment.
  • scripts/managed_compose.py & deploy/managed/compose.yaml: renders non-secret CORN_UPSTREAM_MCP_SERVERS directly into Compose (deploy/replicas/upstreams.json), rejecting any inline client_secret.
  • tests/test_managed_deploy.py & tests/test_secret_files.py: validates secret-free compose.yaml upstreams and file-loaded CORN_UPSTREAM_CLIENT_SECRET_<NAME>.
Moves `CORN_UPSTREAM_MCP_SERVERS` (`coder`, `pocketsmith`, `pinchtab`) into Git-managed `deploy/replicas/upstreams.json` -> `deploy/managed/compose.yaml` with zero inline secrets, and bumps to `v0.1.1-dev.7`. - **`src/corn/config.py`:** OAuth upstreams without an inline `client_secret` read `CORN_UPSTREAM_CLIENT_SECRET_<NAME>` from `CORN_SECRETS_FILES` or environment. - **`scripts/managed_compose.py` & `deploy/managed/compose.yaml`:** renders non-secret `CORN_UPSTREAM_MCP_SERVERS` directly into Compose (`deploy/replicas/upstreams.json`), rejecting any inline `client_secret`. - **`tests/test_managed_deploy.py` & `tests/test_secret_files.py`:** validates secret-free `compose.yaml` upstreams and file-loaded `CORN_UPSTREAM_CLIENT_SECRET_<NAME>`.
feat(deploy): manage upstreams in Compose and split client secrets (v0.1.1-dev.7)
All checks were successful
Security / scan (pull_request) Successful in 22s
Security / security (pull_request) Successful in 0s
Review / change impact (pull_request_target) Successful in 2m41s
Corn CI / release-check-1 (pull_request) Successful in 14s
Corn CI / release-check (pull_request) Successful in 0s
Corn CI / host (pull_request) Successful in 18s
Corn CI / test (pull_request) Successful in 4m9s
Corn CI / release (pull_request) Has been skipped
ef40d0d5c4
john merged commit 18691be609 into main 2026-11-27 22:57:56 +00:00
john deleted branch feat/managed-upstreams-split-secrets 2026-11-27 22:57:56 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
john/corn!111
No description provided.