The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
ci: move every first-party action off the Node 20 runtime (#328)
FrameAutomata31c8d43f5642
diff --git a/.github/workflows/backend-vulncheck.yml b/.github/workflows/backend-vulncheck.ymlindex f3a45575..625811dc 100644--- a/.github/workflows/backend-vulncheck.yml+++ b/.github/workflows/backend-vulncheck.yml@@ -67,18 +67,18 @@ jobs:working-directory: backendsteps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7- # setup-go@v5 reads the `go` line of go.mod; Go's own GOTOOLCHAIN=auto- # then downloads the `toolchain` version, so the scan runs on the same- # release release-traceway.yml builds the runner with. The Docker images are not covered by that: the official golang- # bases set GOTOOLCHAIN=local, so they build with whatever the floating- # golang:1.26-* tag ships, which is >= what is scanned here. One setup-go- # cache shared by the three rows is fine here, unlike backend.yml: with- # no -race and no test builds the module cache is what matters, and it- # is identical across rows.+ # setup-go@v7 installs the `toolchain` version of go.mod directly, so the+ # scan runs on the same release release-traceway.yml builds the runner+ # with. The Docker images are not covered by that: their golang bases pin+ # GOTOOLCHAIN=local, so they ignore the `toolchain` line and build with+ # whatever the floating golang:1.26-* tag ships, which is >= what is+ # scanned here. One setup-go cache shared by the three rows is fine here,+ # unlike backend.yml: with no -race and no test builds the module cache+ # is what matters, and it is identical across rows.- name: Setup Go- uses: actions/setup-go@v5+ uses: actions/setup-go@v7with:go-version-file: backend/go.modcache-dependency-path: backend/go.sumdiff --git a/.github/workflows/backend.yml b/.github/workflows/backend.ymlindex 0df24706..08e06f42 100644--- a/.github/workflows/backend.yml+++ b/.github/workflows/backend.yml@@ -36,10 +36,11 @@ jobs:working-directory: backendsteps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7- name: Setup Go- uses: actions/setup-go@v5+ id: setup-go+ uses: actions/setup-go@v7with:go-version-file: backend/go.mod# Cached per build-tag set below instead: setup-go keys only on@@ -48,16 +49,20 @@ jobs:# leaving the duckdb job to re-fetch ~131MB of libduckdb every run.cache: false+ # The Go version is part of the key because both cached trees depend on+ # it: go-build entries are compiler-keyed, and a Go bump otherwise leaves+ # the superseded toolchain module sitting in ~/go/pkg/mod, which the+ # run_id rotation below then copies forward on every run.- name: Cache Go modules and build- uses: actions/cache@v4+ uses: actions/cache@v6with:path: |~/.cache/go-build~/go/pkg/mod- key: go-${{ runner.os }}-sqlite-${{ hashFiles('backend/go.sum') }}-${{ github.run_id }}+ key: go-${{ runner.os }}-${{ steps.setup-go.outputs.go-version }}-sqlite-${{ hashFiles('backend/go.sum') }}-${{ github.run_id }}restore-keys: |- go-${{ runner.os }}-sqlite-${{ hashFiles('backend/go.sum') }}-- go-${{ runner.os }}-sqlite-+ go-${{ runner.os }}-${{ steps.setup-go.outputs.go-version }}-sqlite-${{ hashFiles('backend/go.sum') }}-+ go-${{ runner.os }}-${{ steps.setup-go.outputs.go-version }}-sqlite-# CGO_ENABLED=0 mirrors Dockerfile.sqlite, so CI links what ships.- name: Build@@ -116,24 +121,25 @@ jobs:CGO_ENABLED: "1"steps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7- name: Setup Go- uses: actions/setup-go@v5+ id: setup-go+ uses: actions/setup-go@v7with:go-version-file: backend/go.modcache: false- name: Cache Go modules and build- uses: actions/cache@v4+ uses: actions/cache@v6with:path: |~/.cache/go-build~/go/pkg/mod- key: go-${{ runner.os }}-duckdb-${{ hashFiles('backend/go.sum') }}-${{ github.run_id }}+ key: go-${{ runner.os }}-${{ steps.setup-go.outputs.go-version }}-duckdb-${{ hashFiles('backend/go.sum') }}-${{ github.run_id }}restore-keys: |- go-${{ runner.os }}-duckdb-${{ hashFiles('backend/go.sum') }}-- go-${{ runner.os }}-duckdb-+ go-${{ runner.os }}-${{ steps.setup-go.outputs.go-version }}-duckdb-${{ hashFiles('backend/go.sum') }}-+ go-${{ runner.os }}-${{ steps.setup-go.outputs.go-version }}-duckdb-# Retained even though the ./... test scope below compiles every package# too: this fails fast with a plain build error before any test binary is@@ -205,24 +211,25 @@ jobs:steps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7- name: Setup Go- uses: actions/setup-go@v5+ id: setup-go+ uses: actions/setup-go@v7with:go-version-file: backend/go.modcache: false- name: Cache Go modules and build- uses: actions/cache@v4+ uses: actions/cache@v6with:path: |~/.cache/go-build~/go/pkg/mod- key: go-${{ runner.os }}-pgch-${{ hashFiles('backend/go.sum') }}-${{ github.run_id }}+ key: go-${{ runner.os }}-${{ steps.setup-go.outputs.go-version }}-pgch-${{ hashFiles('backend/go.sum') }}-${{ github.run_id }}restore-keys: |- go-${{ runner.os }}-pgch-${{ hashFiles('backend/go.sum') }}-- go-${{ runner.os }}-pgch-+ go-${{ runner.os }}-${{ steps.setup-go.outputs.go-version }}-pgch-${{ hashFiles('backend/go.sum') }}-+ go-${{ runner.os }}-${{ steps.setup-go.outputs.go-version }}-pgch-# CGO_ENABLED=0 mirrors Dockerfile and Dockerfile.minimal.- name: Builddiff --git a/.github/workflows/benchmark-hardware.yml b/.github/workflows/benchmark-hardware.ymlindex 7ee1ef6f..69a49778 100644--- a/.github/workflows/benchmark-hardware.yml+++ b/.github/workflows/benchmark-hardware.yml@@ -132,7 +132,7 @@ jobs:CLICKHOUSE_DATABASE: ${{ secrets.BENCH_CH_DATABASE }}BENCH_CH_HTTPS_PORT: ${{ secrets.BENCH_CH_HTTPS_PORT }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7- name: Install hcloud CLIrun: |@@ -149,7 +149,7 @@ jobs:printf '%s\n' "${{ secrets.BENCHMARK_SSH_PRIVATE_KEY }}" > "$key"echo "BENCHMARK_SSH_KEY=$key" >> "$GITHUB_ENV"- - uses: actions/setup-go@v5+ - uses: actions/setup-go@v7with:go-version: '1.25'@@ -166,7 +166,7 @@ jobs:fi./benchmarks/scripts/run-matrix-entry.sh "${{ matrix.tier }}" "${{ matrix.mode }}" "${{ matrix.signal }}" "${{ github.event.inputs.duration }}" benchmarks/_artifact "" "${async_arg}"- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7if: always()with:name: result-${{ matrix.tier }}-${{ matrix.mode }}-${{ matrix.signal }}${{ github.event.inputs.async_insert == 'true' && '-async' || '' }}@@ -178,13 +178,13 @@ jobs:if: always()runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7with:# Need history so the bot commit doesn't trample anything.fetch-depth: 0token: ${{ secrets.RELEASE_TOKEN }}- - uses: actions/download-artifact@v4+ - uses: actions/download-artifact@v8with:path: /tmp/results-rawdiff --git a/.github/workflows/benchmark-metricsdb.yml b/.github/workflows/benchmark-metricsdb.ymlindex 01f80bd3..78a6f59c 100644--- a/.github/workflows/benchmark-metricsdb.yml+++ b/.github/workflows/benchmark-metricsdb.yml@@ -74,7 +74,7 @@ jobs:runs-on: ubuntu-24.04timeout-minutes: 30steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7- uses: dtolnay/rust-toolchain@stable- uses: Swatinem/rust-cache@v2with:@@ -98,7 +98,7 @@ jobs:cp scripts/remote-*.sh _artifact/LD_LIBRARY_PATH=_artifact _artifact/metricsdb-bench --versionls -la _artifact- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7with:name: metricsdb-benchpath: benchmarks/metricsdb/_artifact/@@ -152,9 +152,9 @@ jobs:ARTIFACT_DIR: ${{ github.workspace }}/benchmarks/metricsdb/_artifactOUT_DIR: ${{ github.workspace }}/benchmarks/metricsdb/_resultssteps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7- - uses: actions/download-artifact@v4+ - uses: actions/download-artifact@v8with:name: metricsdb-benchpath: benchmarks/metricsdb/_artifact/@@ -183,7 +183,7 @@ jobs:timeout-minutes: 330run: ./benchmarks/metricsdb/scripts/entry.sh ${{ matrix.db }}- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7if: always()with:name: metricsdb-result-${{ github.event.inputs.tier }}-${{ matrix.db }}@@ -203,9 +203,9 @@ jobs:runs-on: ubuntu-latesttimeout-minutes: 15steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7- - uses: actions/download-artifact@v4+ - uses: actions/download-artifact@v8with:pattern: metricsdb-result-*merge-multiple: true@@ -223,7 +223,7 @@ jobs:got=$(find "${results}" -maxdepth 1 -name '*.json' | wc -l | tr -d ' ')echo "cells with a result file: ${got}/${{ needs.setup.outputs.expected }}"- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7with:name: metricsdb-summarypath: |diff --git a/.github/workflows/benchmark-processor.yml b/.github/workflows/benchmark-processor.ymlindex bc2e9d3f..8b787990 100644--- a/.github/workflows/benchmark-processor.yml+++ b/.github/workflows/benchmark-processor.yml@@ -77,13 +77,13 @@ jobs:build:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4- - uses: actions/setup-go@v5+ - uses: actions/checkout@v7+ - uses: actions/setup-go@v7with:go-version-file: backend/go.modcache-dependency-path: backend/go.sum- uses: dtolnay/rust-toolchain@stable- - uses: actions/setup-node@v4+ - uses: actions/setup-node@v7with:node-version: 22- name: Build oxc shim@@ -127,7 +127,7 @@ jobs:cp config-honeycomb.yaml config-honeycomb-ios.yaml config-honeycomb-android.yaml artifacts/[ -f ../../testing/symbolication/node-app/dist/app.mjs ] && cp ../../testing/symbolication/node-app/dist/app.mjs ../../testing/symbolication/node-app/dist/app.mjs.map artifacts/ || truefi- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7with:name: bench-artifactspath: benchmarks/processor/artifacts/@@ -158,8 +158,8 @@ jobs:matrix:impl: ${{ fromJson(needs.setup.outputs.impls) }}steps:- - uses: actions/checkout@v4- - uses: actions/download-artifact@v4+ - uses: actions/checkout@v7+ - uses: actions/download-artifact@v8with:name: bench-artifactspath: benchmarks/processor/artifacts/@@ -193,7 +193,7 @@ jobs:hcloud server delete "bench-sut-${{ github.run_id }}-${{ matrix.impl }}" 2>/dev/null || truehcloud server delete "bench-ldg-${{ github.run_id }}-${{ matrix.impl }}" 2>/dev/null || truehcloud ssh-key delete "bench-key-${{ github.run_id }}-${{ matrix.impl }}" 2>/dev/null || true- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7if: always()with:name: results-${{ matrix.impl }}@@ -204,8 +204,8 @@ jobs:if: always()runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4- - uses: actions/download-artifact@v4+ - uses: actions/checkout@v7+ - uses: actions/download-artifact@v8with:pattern: results-*merge-multiple: true@@ -213,7 +213,7 @@ jobs:- name: Summarizeworking-directory: benchmarks/processorrun: bash summarize.sh ./results | tee -a "$GITHUB_STEP_SUMMARY"- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7with:name: summarypath: benchmarks/processor/results/diff --git a/.github/workflows/benchmark-symbolicator-cache.yml b/.github/workflows/benchmark-symbolicator-cache.ymlindex 8c299761..ea045d9d 100644--- a/.github/workflows/benchmark-symbolicator-cache.yml+++ b/.github/workflows/benchmark-symbolicator-cache.yml@@ -47,7 +47,7 @@ jobs:env:HCLOUD_TOKEN: ${{ secrets.HCLOUD_TOKEN }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7- name: Install hcloud CLIrun: |@@ -61,7 +61,7 @@ jobs:printf '%s\n' "${{ secrets.BENCHMARK_SSH_PRIVATE_KEY }}" > "$key"echo "BENCHMARK_SSH_KEY=$key" >> "$GITHUB_ENV"- - uses: actions/setup-go@v5+ - uses: actions/setup-go@v7with:go-version-file: backend/go.modcache-dependency-path: backend/go.sum@@ -86,7 +86,7 @@ jobs:cat benchmarks/results-cachebench/summary.md >> "$GITHUB_STEP_SUMMARY"fi- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7if: always()with:name: cachebench-${{ github.event.inputs.tier }}diff --git a/.github/workflows/benchmark-symbolicator.yml b/.github/workflows/benchmark-symbolicator.ymlindex 4280d074..cf0855b5 100644--- a/.github/workflows/benchmark-symbolicator.yml+++ b/.github/workflows/benchmark-symbolicator.yml@@ -20,10 +20,10 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7- name: Setup Go- uses: actions/setup-go@v5+ uses: actions/setup-go@v7with:go-version-file: backend/go.modcache-dependency-path: backend/go.sum@@ -32,7 +32,7 @@ jobs:uses: dtolnay/rust-toolchain@stable- name: Cache oxc shim build- uses: actions/cache@v4+ uses: actions/cache@v6with:path: |~/.cargo/registry@@ -58,7 +58,7 @@ jobs:} >> "$GITHUB_STEP_SUMMARY"- name: Upload results- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@v7with:name: symbolicator-benchpath: symbolicator-bench.txtdiff --git a/.github/workflows/cli-contract.yml b/.github/workflows/cli-contract.ymlindex 9ff1b67b..8e129118 100644--- a/.github/workflows/cli-contract.yml+++ b/.github/workflows/cli-contract.yml@@ -31,10 +31,10 @@ jobs:working-directory: cli/test/contractsteps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7- name: Setup Go- uses: actions/setup-go@v5+ uses: actions/setup-go@v7with:go-version-file: cli/test/contract/go.modcache-dependency-path: cli/test/contract/go.sumdiff --git a/.github/workflows/cli-lint.yml b/.github/workflows/cli-lint.ymlindex 8222f24b..482e2a5e 100644--- a/.github/workflows/cli-lint.yml+++ b/.github/workflows/cli-lint.yml@@ -46,10 +46,10 @@ jobs:timeout-minutes: 10steps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7- name: Setup Go- uses: actions/setup-go@v5+ uses: actions/setup-go@v7with:go-version-file: cli/go.modcache-dependency-path: cli/go.sum@@ -73,10 +73,10 @@ jobs:working-directory: clisteps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7- name: Setup Go- uses: actions/setup-go@v5+ uses: actions/setup-go@v7with:go-version-file: cli/go.modcache-dependency-path: cli/go.sumdiff --git a/.github/workflows/cli.yml b/.github/workflows/cli.ymlindex a515c5e1..113ccd3d 100644--- a/.github/workflows/cli.yml+++ b/.github/workflows/cli.yml@@ -29,10 +29,10 @@ jobs:working-directory: clisteps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7- name: Setup Go- uses: actions/setup-go@v5+ uses: actions/setup-go@v7with:go-version-file: cli/go.modcache-dependency-path: cli/go.sumdiff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.ymlindex e01c4489..f47d39b8 100644--- a/.github/workflows/release-cli.yml+++ b/.github/workflows/release-cli.yml@@ -36,7 +36,7 @@ jobs:fi- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7with:fetch-depth: 0@@ -49,7 +49,7 @@ jobs:fi- name: Setup Go- uses: actions/setup-go@v5+ uses: actions/setup-go@v7with:go-version-file: cli/go.modcache-dependency-path: cli/go.sumdiff --git a/.github/workflows/release-docs.yml b/.github/workflows/release-docs.ymlindex 6cd0cf76..81efc149 100644--- a/.github/workflows/release-docs.yml+++ b/.github/workflows/release-docs.yml@@ -13,10 +13,10 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7- name: Setup Node- uses: actions/setup-node@v4+ uses: actions/setup-node@v7with:node-version: "latest"cache: "npm"diff --git a/.github/workflows/release-helm.yml b/.github/workflows/release-helm.ymlindex a5f54ae6..23812a8f 100644--- a/.github/workflows/release-helm.yml+++ b/.github/workflows/release-helm.yml@@ -19,7 +19,7 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7- name: Determine versionid: versiondiff --git a/.github/workflows/release-traceway.yml b/.github/workflows/release-traceway.ymlindex d586175b..c95e4183 100644--- a/.github/workflows/release-traceway.yml+++ b/.github/workflows/release-traceway.yml@@ -46,7 +46,7 @@ jobs:fi- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7with:fetch-depth: 0token: ${{ secrets.RELEASE_TOKEN }}@@ -60,7 +60,7 @@ jobs:fi- name: Setup Node- uses: actions/setup-node@v4+ uses: actions/setup-node@v7with:# frontend/package.json only declares a floor (>=22); keep the# release build on the same major the Dockerfiles use.@@ -164,7 +164,7 @@ jobs:--notes "$NOTES"- name: Set up Go for runner binaries- uses: actions/setup-go@v5+ uses: actions/setup-go@v7with:go-version-file: backend/go.mod@@ -198,7 +198,7 @@ jobs:needs: releasesteps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7- name: Set up QEMUuses: docker/setup-qemu-action@v3diff --git a/.github/workflows/release-website.yml b/.github/workflows/release-website.ymlindex 6c2c1bda..22c58fc1 100644--- a/.github/workflows/release-website.yml+++ b/.github/workflows/release-website.yml@@ -13,10 +13,10 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v7- name: Setup Node- uses: actions/setup-node@v4+ uses: actions/setup-node@v7with:node-version: "latest"cache: "npm"diff --git a/.github/workflows/traceway-autofix.yml b/.github/workflows/traceway-autofix.ymlindex 5ddd9896..e33cc05d 100644--- a/.github/workflows/traceway-autofix.yml+++ b/.github/workflows/traceway-autofix.yml@@ -17,7 +17,7 @@ jobs:issues: writeid-token: writesteps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7with:fetch-depth: 0persist-credentials: false@@ -34,7 +34,7 @@ jobs:-H "anthropic-version: 2023-06-01" -o /dev/null \|| { echo "ANTHROPIC_API_KEY was rejected"; exit 1; }- - uses: actions/setup-go@v5+ - uses: actions/setup-go@v7with:go-version-file: backend/go.modcache-dependency-path: backend/go.sum@@ -129,7 +129,7 @@ jobs:git diff HEAD > "$RUNNER_TEMP/artifact/fix.patch" || truegit status --porcelain > "$RUNNER_TEMP/artifact/changed-files.txt" || true- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7if: always()with:name: traceway-fix-issue-${{ github.event.issue.number }}diff --git a/docs/pages/client/js-sdk/sourcemap-upload.mdx b/docs/pages/client/js-sdk/sourcemap-upload.mdxindex 7380e60e..ab5805f2 100644--- a/docs/pages/client/js-sdk/sourcemap-upload.mdx+++ b/docs/pages/client/js-sdk/sourcemap-upload.mdx@@ -87,8 +87,8 @@ jobs:deploy:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4- - uses: actions/setup-node@v4+ - uses: actions/checkout@v7+ - uses: actions/setup-node@v7with:node-version: 20