From 89e590ce5da31591afbf68ac3c0233d193b17b43 Mon Sep 17 00:00:00 2001 From: tarik02 Date: Tue, 16 Jun 2026 21:15:50 +0300 Subject: [PATCH 1/3] fix release workflow relay tracing artifact dependency --- .github/workflows/release.yml | 42 ----------------------------------- FORK.md | 1 + 2 files changed, 1 insertion(+), 42 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6a17b920d5a..2d10012f87a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -371,20 +371,6 @@ jobs: cache: true run-install: true - - name: Download relay client tracing config - uses: actions/download-artifact@v8 - with: - name: relay-client-tracing-config - path: ${{ runner.temp }}/relay-client-tracing - - - name: Load relay client tracing config - shell: bash - run: | - config_path="$RUNNER_TEMP/relay-client-tracing/relay-client-tracing.env" - tracing_token="$(sed -n 's/^T3CODE_RELAY_CLIENT_OTLP_TRACES_TOKEN=//p' "$config_path")" - echo "::add-mask::$tracing_token" - cat "$config_path" >> "$GITHUB_ENV" - - name: Align package versions to release version run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}" @@ -668,20 +654,6 @@ jobs: - --filter=@t3tools/web... - --filter=@t3tools/scripts... - - name: Download relay client tracing config - uses: actions/download-artifact@v8 - with: - name: relay-client-tracing-config - path: ${{ runner.temp }}/relay-client-tracing - - - name: Load relay client tracing config - shell: bash - run: | - config_path="$RUNNER_TEMP/relay-client-tracing/relay-client-tracing.env" - tracing_token="$(sed -n 's/^T3CODE_RELAY_CLIENT_OTLP_TRACES_TOKEN=//p' "$config_path")" - echo "::add-mask::$tracing_token" - cat "$config_path" >> "$GITHUB_ENV" - - name: Align package versions to release version run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}" @@ -844,20 +816,6 @@ jobs: - --filter=@t3tools/scripts... - --filter=@t3tools/web... - - name: Download relay client tracing config - uses: actions/download-artifact@v8 - with: - name: relay-client-tracing-config - path: ${{ runner.temp }}/relay-client-tracing - - - name: Load relay client tracing config - shell: bash - run: | - config_path="$RUNNER_TEMP/relay-client-tracing/relay-client-tracing.env" - tracing_token="$(sed -n 's/^T3CODE_RELAY_CLIENT_OTLP_TRACES_TOKEN=//p' "$config_path")" - echo "::add-mask::$tracing_token" - cat "$config_path" >> "$GITHUB_ENV" - - name: Align package versions to release version run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}" diff --git a/FORK.md b/FORK.md index 71981dc1eb4..e65c80ecf16 100644 --- a/FORK.md +++ b/FORK.md @@ -7,6 +7,7 @@ This repository is a fork of `pingdotgg/t3code`. Keep this file focused on fork ### Release And CI - Fork workflows disable scheduled releases, relay jobs, hosted deploys, and fork-unsafe publish paths. +- Release build jobs skip relay client tracing config because the relay config job is disabled. - Release builds publish updater metadata against the fork repository. - Fork release versions are derived in the release workflow so package manifests stay close to upstream. - macOS release signing is separate from Apple notarization. From cdc5d4547d528e52ff0459a61d27161dbb3de23b Mon Sep 17 00:00:00 2001 From: tarik02 Date: Tue, 16 Jun 2026 22:53:38 +0300 Subject: [PATCH 2/3] update release workflow tracing test for fork relay disable --- infra/relay/scripts/deploy.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/infra/relay/scripts/deploy.test.ts b/infra/relay/scripts/deploy.test.ts index 992cb2d887b..849f7b585b8 100644 --- a/infra/relay/scripts/deploy.test.ts +++ b/infra/relay/scripts/deploy.test.ts @@ -156,7 +156,7 @@ describe("serializeRelayClientTracingEnvironment", () => { }); describe("release workflow tracing config propagation", () => { - it.effect("uses an artifact instead of a masked cross-job token output", () => + it.effect("keeps relay tracing config isolated to the disabled relay job", () => Effect.gen(function* () { const fileSystem = yield* FileSystem.FileSystem; const path = yield* Path.Path; @@ -167,9 +167,11 @@ describe("release workflow tracing config propagation", () => { expect(workflow).not.toContain("client_tracing_token:"); expect(workflow).not.toContain("needs.relay_public_config.outputs.client_tracing_token"); + expect(workflow).toContain("if: ${{ false }} # Disabled for the fork: no production relay config."); expect(workflow).toContain('--github-env-file "$RUNNER_TEMP/relay-client-tracing.env"'); expect(workflow).toContain("name: relay-client-tracing-config"); - expect(workflow).toContain('cat "$config_path" >> "$GITHUB_ENV"'); + expect(workflow).not.toContain('cat "$config_path" >> "$GITHUB_ENV"'); + expect(workflow).not.toContain("Download relay client tracing config"); }).pipe(Effect.provide(NodeServices.layer)), ); }); From 3f0361d8a48bb5985be7b0cc4cd4fc3eb5e4c77e Mon Sep 17 00:00:00 2001 From: tarik02 Date: Tue, 16 Jun 2026 22:59:59 +0300 Subject: [PATCH 3/3] format deploy workflow test Co-authored-by: Cursor --- infra/relay/scripts/deploy.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infra/relay/scripts/deploy.test.ts b/infra/relay/scripts/deploy.test.ts index 849f7b585b8..3e512e2818c 100644 --- a/infra/relay/scripts/deploy.test.ts +++ b/infra/relay/scripts/deploy.test.ts @@ -167,7 +167,9 @@ describe("release workflow tracing config propagation", () => { expect(workflow).not.toContain("client_tracing_token:"); expect(workflow).not.toContain("needs.relay_public_config.outputs.client_tracing_token"); - expect(workflow).toContain("if: ${{ false }} # Disabled for the fork: no production relay config."); + expect(workflow).toContain( + "if: ${{ false }} # Disabled for the fork: no production relay config.", + ); expect(workflow).toContain('--github-env-file "$RUNNER_TEMP/relay-client-tracing.env"'); expect(workflow).toContain("name: relay-client-tracing-config"); expect(workflow).not.toContain('cat "$config_path" >> "$GITHUB_ENV"');