Skip to content

Migrate FenceStep and the toggleOffOn to support ConfigurationCacheHackList #3937

Migrate FenceStep and the toggleOffOn to support ConfigurationCacheHackList

Migrate FenceStep and the toggleOffOn to support ConfigurationCacheHackList #3937

Triggered via pull request January 3, 2025 01:43
Status Success
Total duration 6m 55s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
CombinedJavaFormatStepTest.checkIssue1679(): testlib/src/test/java/com/diffplug/spotless/combined/CombinedJavaFormatStepTest.java#L46
org.opentest4j.AssertionFailedError: expected: com.diffplug.spotless.Formatter@8cccbf54 but was: com.diffplug.spotless.Formatter@6a1b24a0
FenceStepTest.broken(): testlib/src/test/java/com/diffplug/spotless/generic/FenceStepTest.java#L92
org.opentest4j.AssertionFailedError: Snapshot mismatch at L1:C2 -L1-6 fence(fenceRemoved) An intermediate step removed a match of spotless:off spotless:on +LINE_UNDEFINED fence(java.lang.IllegalArgumentException) This step requires the underlying file. If this is a test, use StepHarnessWithFile (...)
CombinedJavaFormatStepTest.checkIssue1679(): testlib/src/test/java/com/diffplug/spotless/combined/CombinedJavaFormatStepTest.java#L46
org.opentest4j.AssertionFailedError: expected: com.diffplug.spotless.Formatter@8cccbf54 but was: com.diffplug.spotless.Formatter@6a1b24a0
FenceStepTest.broken(): testlib/src/test/java/com/diffplug/spotless/generic/FenceStepTest.java#L92
org.opentest4j.AssertionFailedError: Snapshot mismatch at L1:C2 -L1-6 fence(fenceRemoved) An intermediate step removed a match of spotless:off spotless:on +LINE_UNDEFINED fence(java.lang.IllegalArgumentException) This step requires the underlying file. If this is a test, use StepHarnessWithFile (...)
CombinedJavaFormatStepTest.checkIssue1679(): testlib/src/test/java/com/diffplug/spotless/combined/CombinedJavaFormatStepTest.java#L46
org.opentest4j.AssertionFailedError: expected: com.diffplug.spotless.Formatter@8cccbf54 but was: com.diffplug.spotless.Formatter@6a1b24a0
FenceStepTest.broken(): testlib/src/test/java/com/diffplug/spotless/generic/FenceStepTest.java#L92
org.opentest4j.AssertionFailedError: Snapshot mismatch at L1:C2 -L1-6 fence(fenceRemoved) An intermediate step removed a match of spotless:off spotless:on +LINE_UNDEFINED fence(java.lang.IllegalArgumentException) This step requires the underlying file. If this is a test, use StepHarnessWithFile (...)
CombinedJavaFormatStepTest.checkIssue1679(): testlib/src/test/java/com/diffplug/spotless/combined/CombinedJavaFormatStepTest.java#L46
org.opentest4j.AssertionFailedError: expected: com.diffplug.spotless.Formatter@8cccbf54 but was: com.diffplug.spotless.Formatter@6a1b24a0
FenceStepTest.broken(): testlib/src/test/java/com/diffplug/spotless/generic/FenceStepTest.java#L92
org.opentest4j.AssertionFailedError: Snapshot mismatch at L1:C2 -L1-6 fence(fenceRemoved) An intermediate step removed a match of spotless:off spotless:on +LINE_UNDEFINED fence(java.lang.IllegalArgumentException) This step requires the underlying file. If this is a test, use StepHarnessWithFile (...)
CombinedJavaFormatStepTest.checkIssue1679(): testlib\build\classes\java\test\com\diffplug\spotless\combined\CombinedJavaFormatStepTest.class#L46
org.opentest4j.AssertionFailedError: expected: com.diffplug.spotless.Formatter@8cccbf54 but was: com.diffplug.spotless.Formatter@6a1b24a0
FenceStepTest.broken(): testlib\build\classes\java\test\com\diffplug\spotless\generic\FenceStepTest.class#L92
org.opentest4j.AssertionFailedError: Snapshot mismatch at L1:C2 -L1-6 fence(fenceRemoved) An intermediate step removed a match of spotless:off spotless:on +LINE_UNDEFINED fence(java.lang.IllegalArgumentException) This step requires the underlying file. If this is a test, use StepHarnessWithFile (...)
Analyze (javascript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze (javascript)
1 issue was detected with this workflow: git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results.
Analyze (javascript)
Unable to validate code scanning workflow: CheckoutWrongHead
Analyze (java)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze (java)
1 issue was detected with this workflow: git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results.
Analyze (java)
Unable to validate code scanning workflow: CheckoutWrongHead