feat(infra): deploy isolated Secret Server roles on GCP #3156
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.63) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 271 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.335
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.063
Real PR Conversation Timeline
1 comments
"Review active on #3156"
general
weight: 0.35
DefeatMan
TL;DR
Deploy private Secret Server write and fetch services on GCP with persistent encryption keys and automatic endpoint delivery to the API and Runners.
How it works
Each stage creates
boxlite_secretson the existing Cloud SQL instance and reuses theboxlitelogin. Both services receive the same pinned Secret Manager key version throughSECRET_MASTER_KEY_BASE64, including in production. DesignEach caller receives the serving URL that Cloud Run reports for its configured token audience. Deployment fails if Cloud Run omits that address.
For example, an existing Runner missing
SECRET_SERVER_URLreceives the fetch URL through GCE OS Config and restarts. Reapplying the same address leaves the Runner running.Dev uses an upstream workflow branch at the PR head. Staging accepts a stable tag, and production uses a published stable release containing the image. Deployment and readiness checks
Verification
Design review
The audit passed with limited independent verification of references, dependency versions and rollout assumptions.
Reviewers suggested checking the token headers on a protected request and rehearsing rollback against the migrated schema and pinned key. The Runner fixture covers missing, stale and unchanged URLs.