From 4863ec36173732e6e622f807af36565eb8105d28 Mon Sep 17 00:00:00 2001 From: Kevin Turcios Date: Thu, 9 Apr 2026 11:34:19 -0500 Subject: [PATCH 1/5] ci: remove matrix name override to fix skipped check display When matrix jobs are skipped, `${{ matrix.name }}` is never expanded, showing literal "matrix.name" in the checks UI. Removing the `name:` field lets GitHub use the job ID when skipped and auto-expand matrix values when running. --- .github/workflows/ci.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 82d688084..19303ac9b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -231,7 +231,6 @@ jobs: - name: init-optimization script: end_to_end_test_init_optimization.py expected_improvement: 10 - name: ${{ matrix.name }} environment: ${{ (github.event_name == 'workflow_dispatch' || (contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') && github.event.pull_request.user.login != 'misrasaurabh1' && github.event.pull_request.user.login != 'KRRT7')) && 'external-trusted-contributors' || '' }} runs-on: ubuntu-latest env: @@ -328,7 +327,6 @@ jobs: script: end_to_end_test_js_ts_class.py js_project_dir: code_to_optimize/js/code_to_optimize_ts expected_improvement: 30 - name: ${{ matrix.name }} environment: ${{ (github.event_name == 'workflow_dispatch' || (contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') && github.event.pull_request.user.login != 'misrasaurabh1' && github.event.pull_request.user.login != 'KRRT7')) && 'external-trusted-contributors' || '' }} runs-on: ubuntu-latest env: @@ -414,7 +412,6 @@ jobs: script: end_to_end_test_java_void_optimization.py expected_improvement: 70 remove_git: true - name: ${{ matrix.name }} environment: ${{ (github.event_name == 'workflow_dispatch' || (contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') && github.event.pull_request.user.login != 'misrasaurabh1' && github.event.pull_request.user.login != 'KRRT7')) && 'external-trusted-contributors' || '' }} runs-on: ubuntu-latest env: From 39eef53657833e86e6606b5cd16cd3a0e9154c17 Mon Sep 17 00:00:00 2001 From: Kevin Turcios Date: Thu, 9 Apr 2026 11:41:20 -0500 Subject: [PATCH 2/5] ci: remove unnecessary JDK/Maven setup from unit-tests Only 5 of 3,943 unit tests need Java, and they already have skip_if_maven_not_available() guards. Java execution is validated by the e2e-java job. Saves ~30-60s per matrix entry (7 entries). --- .github/workflows/ci.yaml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 19303ac9b..72aad9f0c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -118,19 +118,6 @@ jobs: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} - - name: Set up JDK 11 - uses: actions/setup-java@v4 - with: - java-version: '11' - distribution: 'temurin' - cache: maven - - - name: Build codeflash-runtime JAR - run: | - cd codeflash-java-runtime - mvn clean package -q -DskipTests - mvn install -q -DskipTests - - name: Install uv uses: astral-sh/setup-uv@v8.0.0 with: From 320d5f9b28ec2d09b0da7293578aef632ba9e8b8 Mon Sep 17 00:00:00 2001 From: Kevin Turcios Date: Thu, 9 Apr 2026 11:22:22 -0500 Subject: [PATCH 3/5] ci: verify gate pattern triggers on code changes Trivial whitespace change to codeflash/version.py to confirm determine-changes correctly detects code paths and all jobs run. Will be reverted after verification. --- codeflash/version.py | 1 + 1 file changed, 1 insertion(+) diff --git a/codeflash/version.py b/codeflash/version.py index 226fdf7ad..41db82074 100644 --- a/codeflash/version.py +++ b/codeflash/version.py @@ -1,2 +1,3 @@ # These version placeholders will be replaced by uv-dynamic-versioning during build. __version__ = "0.20.5" + From dc24bedb8606fd3d0e7af3dbf5078ed0fce4ea03 Mon Sep 17 00:00:00 2001 From: Kevin Turcios Date: Thu, 9 Apr 2026 11:45:36 -0500 Subject: [PATCH 4/5] fix: remove trailing newline in version.py --- codeflash/version.py | 1 - 1 file changed, 1 deletion(-) diff --git a/codeflash/version.py b/codeflash/version.py index 41db82074..226fdf7ad 100644 --- a/codeflash/version.py +++ b/codeflash/version.py @@ -1,3 +1,2 @@ # These version placeholders will be replaced by uv-dynamic-versioning during build. __version__ = "0.20.5" - From 7dd3cec3629429a912ab2ff42731797f67cd74ee Mon Sep 17 00:00:00 2001 From: Kevin Turcios Date: Thu, 9 Apr 2026 11:49:01 -0500 Subject: [PATCH 5/5] ci: trivial code change to trigger unit-tests --- codeflash/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codeflash/version.py b/codeflash/version.py index 226fdf7ad..e0f0d94e4 100644 --- a/codeflash/version.py +++ b/codeflash/version.py @@ -1,2 +1,2 @@ # These version placeholders will be replaced by uv-dynamic-versioning during build. -__version__ = "0.20.5" +__version__ = "0.20.5" # ci: verify unit-tests without JDK