From 50d7b1d87e974b38cf79fe16ecc8d8a4a1353e5a Mon Sep 17 00:00:00 2001 From: Christopher Bartz Date: Thu, 1 Oct 2026 12:58:04 +0000 Subject: [PATCH 1/4] fix(tics): unset runner job hooks for L0 tests --- .github/workflows/tics.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tics.yaml b/.github/workflows/tics.yaml index 38f60849c70..0bc8a9d80cb 100644 --- a/.github/workflows/tics.yaml +++ b/.github/workflows/tics.yaml @@ -35,6 +35,8 @@ jobs: - name: Run L0 tests with coverage working-directory: src run: | + # The self-hosted runner's job hooks leak into JobExtension L0 tests and add a step + unset ACTIONS_RUNNER_HOOK_JOB_STARTED ACTIONS_RUNNER_HOOK_JOB_COMPLETED dotnet tool update --global dotnet-coverage dotnet-coverage collect --output-format cobertura \ --output "${GITHUB_WORKSPACE}/.coverage/cobertura.xml" "./dev.sh test" From 036c3f1b905699f4d9c415250c76f8542fd12d39 Mon Sep 17 00:00:00 2001 From: Christopher Bartz Date: Thu, 1 Oct 2026 13:52:22 +0000 Subject: [PATCH 2/4] ci(tics): TEMP allow dispatch from this branch for verification --- .github/workflows/tics.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tics.yaml b/.github/workflows/tics.yaml index 0bc8a9d80cb..5fc30d15962 100644 --- a/.github/workflows/tics.yaml +++ b/.github/workflows/tics.yaml @@ -11,7 +11,7 @@ permissions: jobs: tics: name: TICS - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/fix/tics-unset-runner-hooks' runs-on: self-hosted-linux-amd64-noble-large-tiobe timeout-minutes: 120 steps: From b7faf4b15fba882a129e02e1eea261b01db4974f Mon Sep 17 00:00:00 2001 From: Christopher Bartz Date: Thu, 1 Oct 2026 14:42:20 +0000 Subject: [PATCH 3/4] fix(ci): remove test artifacts before TICS analysis --- .github/workflows/tics.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tics.yaml b/.github/workflows/tics.yaml index 5fc30d15962..7d97d2f6bf6 100644 --- a/.github/workflows/tics.yaml +++ b/.github/workflows/tics.yaml @@ -41,6 +41,11 @@ jobs: dotnet-coverage collect --output-format cobertura \ --output "${GITHUB_WORKSPACE}/.coverage/cobertura.xml" "./dev.sh test" + # Test runs write hundreds of gitignored logs that TICS would otherwise pick up as + # source files, tripping its sanity check on the number of new files. + - name: Remove test artifacts + run: rm -rf src/Test/TestLogs _downloads + - name: TICS GitHub Action uses: tiobe/tics-github-action@v3 with: From 25cc758dba86ecc9eba93da1d00bf45daa60c984 Mon Sep 17 00:00:00 2001 From: Christopher Bartz Date: Thu, 1 Oct 2026 15:57:00 +0000 Subject: [PATCH 4/4] Revert "ci(tics): TEMP allow dispatch from this branch for verification" This reverts commit 036c3f1b905699f4d9c415250c76f8542fd12d39. --- .github/workflows/tics.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tics.yaml b/.github/workflows/tics.yaml index 7d97d2f6bf6..6041e91c086 100644 --- a/.github/workflows/tics.yaml +++ b/.github/workflows/tics.yaml @@ -11,7 +11,7 @@ permissions: jobs: tics: name: TICS - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/fix/tics-unset-runner-hooks' + if: github.ref == 'refs/heads/main' runs-on: self-hosted-linux-amd64-noble-large-tiobe timeout-minutes: 120 steps: