Repository navigation
Fix XTC Gradle configuration, task outputs, and build caching - #651
Merged
Merged
Conversation
40 tasks
ggleyzer
approved these changes
Sep 26, 2026
lagergren
force-pushed
the
lagergren/xtc-late-source-roots
branch
2 times, most recently
from
September 26, 2026 22:05
056369b to
4f3afc6
Compare
Addresses P07 in #652. Splits the independently verified launcher-convention fix from faeacc119 for review.
Addresses P08 in #652. Retains the failing-before/passing-after CLI-selection regression from faeacc119.
Addresses P09 in #652. Retains the isolated task-configuration regression from faeacc119.
Addresses P10 in #652. The regression reproduced verify being replaced by run; both adapter outputs now preserve the selected method and arguments.
Addresses P12 in #652. Tests cover absent, empty, and snapshot versions in direct and forked request construction.
Addresses P13 in #652. Also preserves distinct identities for unconfigured DSL objects. Both regressions failed before the fix.
Addresses P17 in #652. A task-level failure regression verifies that the underlying exception remains available.
Addresses P16 in #652. Validate versioned launcher filenames against their own manifest and exclude versioned JIT bridge blobs from the execution classpath. Both regressions failed before the fix.
Addresses P14 in #652. Preserve lazy extension defaults while allowing isolated property mutation and explicit empty overrides. Four regressions cover precedence and late defaults.
Addresses P11 in #652. TestKit reproduced stale UP-TO-DATE results after changing the selected module. The regression covers DSL and CLI module, method and argument changes, followed by configuration-cache reuse.
Completes P10 in #652 for method and argument overrides without --module. Distinguish absent arguments from an explicit empty list and preserve the original DSL configuration. Twelve focused tests pass, including configuration-cache input changes.
Addresses P15 in #652. Follow source-set additions in task registration and existing launchers, and include custom source-set dependencies in compilation. Unit and TestKit regressions cover task execution and configuration-cache reuse.
Keep module discovery in XtcCompileTask and the isolated runtime adapters. Remove the unused duplicate source helpers and the source-set method that always throws. Configuration-cache behavior is checked by actual Gradle execution instead of phase heuristics based on system properties or logger access.
lagergren
added a commit
that referenced
this pull request
Nov 9, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 9, 2026
The IntelliJ tour's run 11 (run-tour-4354703632780342353) failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from run 8b's same run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache, as the run of 09:12 did, and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: isWatched() says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 11, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 11, 2026
The IntelliJ tour's run 11 (run-tour-4354703632780342353) failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from run 8b's same run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache, as the run of 09:12 did, and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: isWatched() says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 16, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 22, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 22, 2026
The IntelliJ tour's run 11 (run-tour-4354703632780342353) failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from run 8b's same run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache, as the run of 09:12 did, and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: isWatched() says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
The IntelliJ tour's run 11 (run-tour-4354703632780342353) failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from run 8b's same run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache, as the run of 09:12 did, and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: isWatched() says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
…ion's
A run or test task that names modules (moduleName, moduleNames, module { }) runs those instead of xtcRun's or
xtcTest's, and one that names none runs the extension's, as #651 made them, while a task's jvmArgs add to its
extension's. The README said neither; it now says so beside the runtime configuration, with what adds and what
replaces within the extension or a task.
Validated: ./gradlew spotlessCheck passes; documentation only.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
…ion's
A run or test task that names modules (moduleName, moduleNames, module { }) runs those instead of xtcRun's or
xtcTest's, and one that names none runs the extension's, as #651 made them, while a task's jvmArgs add to its
extension's. The README said neither; it now says so beside the runtime configuration, with what adds and what
replaces within the extension or a task.
Validated: ./gradlew spotlessCheck passes; documentation only.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
…ion's
A run or test task that names modules (moduleName, moduleNames, module { }) runs those instead of xtcRun's or
xtcTest's, and one that names none runs the extension's, as #651 made them, while a task's jvmArgs add to its
extension's. The README said neither; it now says so beside the runtime configuration, with what adds and what
replaces within the extension or a task.
Validated: ./gradlew spotlessCheck passes; documentation only.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
The IntelliJ tour's run 11 (run-tour-4354703632780342353) failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from run 8b's same run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache, as the run of 09:12 did, and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: isWatched() says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
The IntelliJ tour's run 11 (run-tour-4354703632780342353) failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from run 8b's same run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache, as the run of 09:12 did, and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: isWatched() says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 26, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 26, 2026
The IntelliJ tour's run 11 (run-tour-4354703632780342353) failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from run 8b's same run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache, as the run of 09:12 did, and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: isWatched() says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 26, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 26, 2026
The IntelliJ tour's run 11 (run-tour-4354703632780342353) failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from run 8b's same run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache, as the run of 09:12 did, and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: isWatched() says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 27, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 27, 2026
The IntelliJ tour's run 11 (run-tour-4354703632780342353) failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from run 8b's same run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache, as the run of 09:12 did, and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: isWatched() says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 28, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 28, 2026
The IntelliJ tour's run 11 (run-tour-4354703632780342353) failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from run 8b's same run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache, as the run of 09:12 did, and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: isWatched() says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 29, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 29, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 30, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Nov 30, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
lagergren
added a commit
that referenced
this pull request
Dec 1, 2026
A run of the IntelliJ tour failed "Tests with Gradle": the Run window never showed, DeckTest with Gradle had no results, and so "embedded and Gradle runs give each test the same result" had nothing on Gradle's side. The plugin ran `./gradlew -q testXtc --module=DeckTest --test-report=json`, which ended in about 2.5 s with no events; the check of testXtc from the Gradle window shows why, as its output reads "> Task :testXtc FROM-CACHE". testXtc is a @CacheableTask, and xunit's report, which --test-report=json adds, is the tests' output that the IDE's test console reads as they run, which no cached or up-to-date result prints. A run whose inputs had not changed since an earlier one, in the container's Gradle cache from an earlier run, gave the IDE nothing. VS Code's Gradle test runs, which pass the same options, have the same gap. Not a regression of the day: --test-report came with 2f18c13 (#757, "Let testXtc run chosen tests, and report them for a tool"), on a task that 5d88b64 (#651) had made cacheable; a run passes on a cold cache and fails on a warm one. testXtc with a test report is now never up to date and never cached, as a debugged run already was: a static helper, watched(task), says whether a debugger or a tool watches the run, and the task's up-to-date check and a second doNotCacheIf ask it. It is no getter, which Gradle would take for a property and fail, in the task's run and in validatePlugins, for its missing input or output annotation. A plain testXtc stays up to date and cacheable. Test: XtcRunConfigurationTest.reportedAndDebuggedTestRunsAlwaysRun: a plain testXtc is up to date and cacheable; with --test-report=json it is neither; a debugged one is not up to date. It fails without the change, on the reported run being up to date. Run with --rerun: the class's 13 tests, 0 skipped, 0 failures. :plugin:validatePlugins, which `check` runs, passes; with the check as a getter it fails on that property, which XtcRunConfigurationTest, building the task with ProjectBuilder, cannot see. Limits: the container's published plugin carries this only once the playbook's build publishes it, as each container run does from its export.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is about a year's worth of things I think have been broken with Gradle but working under weird conditions. Fixed them all, including earlier fixes with Plugin not being completely lazy and respecting source sets. Now updated including more fixes on that.
Description
Gradle tasks in the XTC plugin and its repository consumers can miss late configuration, reuse stale results, overwrite another task's outputs, or perform publication before their validation runs. For example, adding a nested source root could leave compilation incorrectly up to date, and Java resource processing could overwrite transformed XTC resources.
This PR fixes the related plugin and build-logic findings tracked in #652. It contains the original three source/provider fixes, 46 separately reviewable audit commits, and one test-fixture review follow-up: 50 commits, 64 files, +2,397 / −1,445 lines. The issue provides every commit, its size, and its verification evidence.
Categories and why they belong together
The repository build scripts are consumers of the same plugin and shared conventions. They exposed the same provider, producer, output-ownership, and cache-invalidation mistakes. Keeping the fixes together lets the combined plugin/XDK/language-tool packaging checks verify those contracts across the composite builds. Separate commits preserve review boundaries.
Scope and intentional build behavior changes
The complete diff is limited to
plugin/,build-logic/, Gradle build scripts, a native-download checksum manifest, and build documentation. It contains no compiler/interpreter/JIT implementation changes, Ecstasy source changes, language-server/editor implementation changes, dependency version or lockfile updates, or CI workflow changes. The experimental constant-pool/runtime branch and its uncommitted work are excluded. Existing optional-build flags and local-versus-CI formatting policy are preserved.Build behavior deliberately changes where the old contract was wrong:
lang/vscode-extension/build/distributions/; packaging leaves the tracked source manifest untouched. The obsolete stamp/restore tasks are removed.-Pjetbrains.publish.suffix=<unique-build-id>; CI already supplies it. LSP metadata supports-PsourceDateEpoch=<seconds>.-SNAPSHOTversion, without requiring remote credentials; Maven-local publication stays independent.P22 remains a documented compatibility boundary: Gradle 9.7.1's nested source-tree handling requires
DefaultSourceDirectorySet. A public-interface replacement broke four regressions, including configuration-cache behavior, so this PR retains the small adapter and adds coverage.Type of change
Related issue
Implements the actionable fixes in #652, with P22 retained as the documented limitation. The issue remains open for review and merge tracking.
How Has This Been Tested?
On Linux x86-64 with the repository's Gradle 9.7.1 wrapper and Java 25 toolchain:
libs.versions.toml. All 13 focused cases passed twice with zero failures/errors/skips, including configuration-cache reuse, andspotlessCheckpassed.Local test build cost
Measured on the same Linux x86-64 machine (Threadripper 2950X), Gradle 9.7.1, comparing
master
d30b5c798with PR head056369b6a. Compiled outputs and downloaded dependencieswere already available; "fresh" below means an empty, separate TestKit directory for each
revision, not a clean repository or an empty dependency cache.
These are individual local measurements, not cross-machine performance guarantees. Gradle
profiles isolate actual test-task time at 23.3 → 27.7 seconds for fresh TestKit caches and
11.4 → 14.0 seconds for populated caches. All measured tests passed with zero skips.
The complete 97-test plugin/build-logic command took 21.9 seconds with existing TestKit caches,
including outer build configuration. An unchanged repeat of
./gradlew :plugin:test :common-plugins:test --no-build-cache --profile --console=plaintook 1.1 seconds with configuration-cache reuse and both test tasks UP-TO-DATE.
The root
build --dry-rungraph includes:plugin:test, but excludes:common-plugins:testand the standalone:javatools:versionOutputTest.The 44 new build-logic tests therefore add no execution time to the ordinary root build;
their JUnit test-method time was 2.2 seconds when explicitly requested. No compiler bootstrap
or XDK execution is performed inside the new plugin fixtures.
For reproducibility, the comparison forced
:plugin:test --rerun --no-build-cache --profile.A temporary init script set the test JVM's documented
org.gradle.testkit.dirpropertyto a different fresh directory for each revision; the same command was then repeated with that
directory populated. The benchmark setup changes no repository files or default test selection.
Checklist