authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-09-18 17:24:23-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-18 17:24:23-07:00
logbd0b9edac3cf8fe30f8242dd7943a9240810b2c9
tree3718663ef1d81303fef5de9760aa8ab09e71bfdb
parentde6a230db0bb71d3fa91d8de0ae7067b68253f82
signature Signed by PGP key B5690EEEBB952194

fix(release): read relay configuration without loading deployment providers (#12518)


1 files changed, 4 insertions(+), 2 deletions(-)

.github/workflows/release.yml+4-2
......@@ -312,14 +312,16 @@ jobs:
312312 - --filter=t3code-relay...
313313
314314 # The deployed stack's outputs, read from Alchemy's state store without
315 # planning or applying. Redacted values are persisted as
315 # planning or applying. Select the backend explicitly to avoid loading
316 # the stack's unrelated provider credentials; suppress informational logs
317 # so stdout stays valid JSON. Redacted values are persisted as
316318 # {"__redacted__": "<value>"}; the token is masked before it is written.
317319 - name: Read production relay tracing config
318320 shell: bash
319321 working-directory: infra/relay
320322 run: |
321323 set -euo pipefail
322 output="$(npx alchemy state read T3CodeRelay/prod/output --no-input)"
324 output="$(npx alchemy state read T3CodeRelay/prod/output --backend cloudflare --log-level error --no-input)"
323325 field() {
324326 jq -er --arg key "$1" '.[$key] | if type == "object" then .__redacted__ else . end | select(. != null and . != "")' <<<"$output" \
325327 || { echo "Relay stack output is missing $1" >&2; exit 1; }