docs(env): document all Cloud Run env vars in .env.example - #184
Open
spashii wants to merge 1 commit into
Open
Conversation
Reconciled .env.example against the deployed Cloud Run service (23 vars: 11 plain + 12 Secret Manager-backed). Missing entries added: - GITHUB_WEBHOOK_SECRET — with a warning that the prod value is TF-generated (infra/functions.tf) and that upload-secrets.sh pushes any non-empty local value as a new secret version - GIT_AUTHOR_* / GIT_COMMITTER_* — bot git identity block, set on Cloud Run by the deploy workflow from infra/config.yaml - GOOGLE_GENAI_USE_VERTEXAI — set in both local and prod env but never documented Also refreshed the GOOGLE_CLOUD_LOCATION comment: both Gemini tiers pin "global" since #183, the old "workers on eu" note was stale. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
What
Reconciled
.env.exampleagainst the deployed Cloud Run servicesam(23 env vars: 11 plain + 12 Secret Manager-backed) and added the entries that were missing:GITHUB_WEBHOOK_SECRET— documented in the GitHub section, with a warning that the prod value is TF-generated (infra/functions.tfrandom_password) so nobody should invent one locally, and thatupload-secrets.shpushes any non-empty local value as a new secret version (the key is ininfra/config.yaml's mapping).GIT_AUTHOR_NAME/GIT_AUTHOR_EMAIL/GIT_COMMITTER_NAME/GIT_COMMITTER_EMAIL— new "Bot git identity" block; the deploy workflow sets these on Cloud Run frominfra/config.yaml, and the email must stay a verified address on the bot's GitHub account.GOOGLE_GENAI_USE_VERTEXAI— set in both local and prod env but was never in the example.Also
Refreshed the
GOOGLE_CLOUD_LOCATIONcomment: it still said workers pineufor residency, but both Gemini tiers pinglobalsince #183 (EU capacity 429s, 2026-07-28).Verification
Scripted check: every env var name on the Cloud Run service now has a matching
^VAR=line in.env.example; local.envvalues were verified against Cloud Run plain values and Secret Manager latest versions (by sha256) during the same reconcile pass.🤖 Generated with Claude Code