From 6c1ec1cc83c919664cbf97169ef9095e6ce89839 Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 19 Jun 2026 21:39:40 -0400 Subject: [PATCH 1/2] ci: report tests + coverage to self-hosted UniTrack Publish surefire + jacoco to UniTrack alongside Codecov (soft-fail). Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/maven.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 7620cde..30556b9 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -40,6 +40,16 @@ jobs: files: | **/surefire-reports/TEST-*.xml + - name: Report tests + coverage to UniTrack + if: always() + uses: alexmond/unitrack/action@v0 + with: + url: ${{ vars.UNITRACK_URL }} + token: ${{ secrets.UNITRACK_TOKEN }} + junit: '**/surefire-reports/TEST-*.xml' + jacoco: '**/jacoco.xml' + soft-fail: "true" + - name: Submit Dependency Snapshot uses: advanced-security/maven-dependency-submission-action@v5 From 5ddbd4ffe0200d08b2c003de1c8777fbe5afb822 Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 19 Jun 2026 21:43:45 -0400 Subject: [PATCH 2/2] ci: build on JDK 21 (jsupervisor-rest requires Java 21) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The workflow set up JDK 17 while the project targets Java 21, so jsupervisor-rest failed to compile ('release version 21 not supported') — the build has been red since the move to 21. Bump the toolchain to 21. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/maven.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 30556b9..f7368df 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' cache: maven - name: Build with Maven