From af206b403749dfa6157856603b9f2135e973ec81 Mon Sep 17 00:00:00 2001 From: Adam Hamrick Date: Fri, 10 Apr 2026 14:19:56 -0400 Subject: [PATCH 1/2] Side-by-side comparison --- .github/workflows/ci-core.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-core.yml b/.github/workflows/ci-core.yml index d42911cc43b..dff7b9a263e 100644 --- a/.github/workflows/ci-core.yml +++ b/.github/workflows/ci-core.yml @@ -247,6 +247,14 @@ jobs: contents: read actions: read steps: + # DEBUG: Checking resources + - name: Monitor + uses: kalverra/octometrics-action@main + with: + job_name: Core Tests (${{ matrix.type.cmd }}) # Required input to match API job data with runner job data + skip_comment: "true" # Optional input that can skip posting comments to a PR, default false + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Optional, but highly recommended to prevent rate limiting - name: Enable S3 Cache for Self-Hosted Runners uses: runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0 with: @@ -336,7 +344,7 @@ jobs: RUN_QUARANTINED_TESTS: "true" # always run quarantined tests in CI JUNIT_FILE: ${{ github.workspace }}/junit.xml run: | - GODEBUG=goindex=0 ./tools/bin/${{ matrix.type.cmd }} ./... + GODEBUG=goindex=0,testcache=0 ./tools/bin/${{ matrix.type.cmd }} ./... # DEBUG: drop ,testcache=0 to re-enable test cache # See: https://github.com/golang/go/issues/69179 - name: Analyze and upload test results From 876768a5702953f076b53bb17b7a06a301380a98 Mon Sep 17 00:00:00 2001 From: Adam Hamrick Date: Fri, 10 Apr 2026 16:18:42 -0400 Subject: [PATCH 2/2] bust cache again --- .github/actions/setup-go/action.yml | 4 ++-- .github/workflows/ci-core.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/setup-go/action.yml b/.github/actions/setup-go/action.yml index 26ee44c37fd..bb6286219d1 100644 --- a/.github/actions/setup-go/action.yml +++ b/.github/actions/setup-go/action.yml @@ -71,7 +71,7 @@ runs: # If multiple jobs call actions/cache, then only one will get priority to create upon a cache miss. # We will only restore the cache by default (by calling actions/cache/restore) and let the # `go-mod-cache.yml` workflow handle the creation. - - uses: actions/cache/restore@v4 + - uses: actions/cache/restore@v5 if: ${{ inputs.restore-module-cache-only == 'true' }} name: Cache Go Modules (Restore) id: cache-modules-restore @@ -86,7 +86,7 @@ runs: # If this is called, then it will create the cache entry upon a cache miss. # The cache is created after a cache miss, and after job completes successfully. - - uses: actions/cache@v4 + - uses: actions/cache@v5 if: ${{ inputs.restore-module-cache-only != 'true' }} id: cache-modules name: Cache Go Modules diff --git a/.github/workflows/ci-core.yml b/.github/workflows/ci-core.yml index dff7b9a263e..91207293243 100644 --- a/.github/workflows/ci-core.yml +++ b/.github/workflows/ci-core.yml @@ -344,7 +344,7 @@ jobs: RUN_QUARANTINED_TESTS: "true" # always run quarantined tests in CI JUNIT_FILE: ${{ github.workspace }}/junit.xml run: | - GODEBUG=goindex=0,testcache=0 ./tools/bin/${{ matrix.type.cmd }} ./... # DEBUG: drop ,testcache=0 to re-enable test cache + GODEBUG=goindex=0,testcache=1 ./tools/bin/${{ matrix.type.cmd }} ./... # DEBUG: drop ,testcache=0 to re-enable test cache # See: https://github.com/golang/go/issues/69179 - name: Analyze and upload test results