Repository navigation
feat(vanir): cut over vanir-signatures to Cloud Run sandbox and disable local execution - #6504
Conversation
…le local execution
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6504 +/- ##
==========================================
- Coverage 58.51% 58.49% -0.03%
==========================================
Files 229 228 -1
Lines 24681 24570 -111
==========================================
- Hits 14442 14371 -71
+ Misses 10236 10196 -40
Partials 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
cuixq
left a comment
There was a problem hiding this comment.
LGTM - just one question about the hard coded project number in Cloud Run URL.
| value: "172.24.1.3" | ||
| # Deterministic Cloud Run URL: https://<service>-<project-number>.<region>.run.app | ||
| - name: VANIR_SANDBOX_URL | ||
| value: "https://vanir-sandbox-175272184261.us-west2.run.app" |
There was a problem hiding this comment.
could we make project-number a variable instead of hard-coded here?
There was a problem hiding this comment.
hmm I think it's a bit annoying to actually add to the format it into the variable. I'll have a look.
There was a problem hiding this comment.
asked the AI to implement something, but I don't like the replacement stuff, so sticking with the hard coded id for now.
Overview
(AI-assisted PR)
PR 2 of 2 (follow-up to #6403) to switch
vanir-signaturesto the Cloud Run Gen2vanir-sandboxservice and remove local unsandboxed Python execution.Details
go/cmd/vanir_signatures,go/internal/vanir):VANIR_SANDBOX_URL/-sandbox-urland removePythonGeneratorfallback-batch-size=1and-max-workers=15directlyRunner(distroless-safe)go/Dockerfile,deployment/build-and-stage.yaml):vanir-signaturestarget togcr.io/distroless/static-debian12(no Python orgitin the orchestrator image)--build-context poetryfrombuild-vanir-signaturesdeployment/clouddeploy/gke-workers/):highendnodeSelector/tolerations and downsize resources to1 CPU / 2Gi(2 CPU / 4Gilimit)VANIR_SANDBOX_URLto the deterministic Cloud Run URLs foross-vdb-testandoss-vdbAGENTS.mdagy