From a98f7c6b7a2f37f736e5c524de6e8776092d75bb Mon Sep 17 00:00:00 2001 From: Christopher Brady Date: Tue, 14 Jul 2026 09:14:44 -0600 Subject: [PATCH 1/2] style: apply spotless formatting to WasmRulesEngineClockTest Co-Authored-By: Claude Opus 4.8 (1M context) --- .../com/schematic/api/datastream/WasmRulesEngineClockTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/com/schematic/api/datastream/WasmRulesEngineClockTest.java b/src/test/java/com/schematic/api/datastream/WasmRulesEngineClockTest.java index 68bdc11..7959596 100644 --- a/src/test/java/com/schematic/api/datastream/WasmRulesEngineClockTest.java +++ b/src/test/java/com/schematic/api/datastream/WasmRulesEngineClockTest.java @@ -77,7 +77,6 @@ void billingMetricOverride_populatesResetAt() throws Exception { // setCurrentTimeMillis lets the engine compute the next reset boundary. assertTrue( - result.getFeatureUsageResetAt().isPresent(), - "reset-at should be computed from the injected host time"); + result.getFeatureUsageResetAt().isPresent(), "reset-at should be computed from the injected host time"); } } From b7f521e54c25ee2077fd728d22a4964a2be6536a Mon Sep 17 00:00:00 2001 From: Christopher Brady Date: Tue, 14 Jul 2026 09:18:33 -0600 Subject: [PATCH 2/2] ci: run spotlessCheck in the compile job Catches formatting violations on PRs instead of only at publish time, where spotlessJavaCheck runs transitively via sonatypeCentralUpload. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c13c064..58c14e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,9 @@ jobs: - name: Compile run: ./gradlew compileJava + - name: Check formatting + run: ./gradlew spotlessCheck + test: needs: [ compile ] runs-on: ubuntu-latest