Skip to content

Drop ProjectVersionWarningTest's precompiled-script-plugin case, the plugin tests' one network download - #808

Merged
lagergren merged 1 commit into
masterfrom
lagergren/drop-kotlin-dsl-warning-case
Nov 26, 2026
Merged

lagergren merged 1 commit into
masterfrom
lagergren/drop-kotlin-dsl-warning-case

Conversation

@lagergren

Copy link
Copy Markdown
Contributor

Why

ProjectVersionWarningTest's third case reproduced xvm#767 end to end. Its buildSrc applied kotlin-dsl, which it downloaded from the Gradle plugin portal and Maven Central, about 110 MB, on every CI run. On 2026-11-25 that download failed CI three times (429 Too Many Requests, Could not GET) while the rest of the build passed.

#796 fixed xvm#767 by warning about a project without a version only once its build script has run. The project that Gradle creates for a precompiled script plugin's accessors never runs one. aVersionSetAfterThePluginIsAppliedGetsNoWarning already checks that deferral, without any download.

What

  • The case is removed, together with the plugin classpath helper and the runBuild option that only it used.
  • The class comment says why such a project is never checked.
  • No plugin test downloads anything now.

This replaces #806, which cached the download in CI's Gradle cache instead (about 110 MB).

Testing

  • RUN_INTEGRATION_TESTS=true ./gradlew :plugin:validatePlugins :plugin:test --rerun: 77 tests, 0 failures, 0 skipped.
  • ProjectVersionWarningTest's 2 cases run in 0.5 s, with no request to the plugin portal or Maven Central in the log.
  • ./gradlew spotlessCheck passes.

lagergren added a commit that referenced this pull request Nov 25, 2026
…the TestKit home that CI was to keep for it

The case reproduced xvm#767 end to end, downloading kotlin-dsl, about 110 MB, on every CI run, which failed CI three
times on 2026-11-25. 0e635b7 and 71f4d22 kept the download in a TestKit home that CI's Gradle cache would save
(xvm#806). Instead the case goes, as on master in xvm#808 (which replaces #806): #796's deferral, which fixed #767,
stays tested by aVersionSetAfterThePluginIsAppliedGetsNoWarning without any download. So the plugin's test JVMs no
longer get -Dxtc.testkit.dir, the test no longer sets a TestKit home, and setup-xvm-project's excludes are as before.

Validated: the test file is xvm#808's; RUN_INTEGRATION_TESTS=true ./gradlew :plugin:validatePlugins :plugin:test --rerun
on #808's branch, 77 tests, 0 failures, 0 skipped, no request to the plugin portal or Maven Central; spotlessCheck.
lagergren added a commit that referenced this pull request Nov 25, 2026
…the TestKit home that CI was to keep for it

The case reproduced xvm#767 end to end, downloading kotlin-dsl, about 110 MB, on every CI run, which failed CI three
times on 2026-11-25. 0e635b7 and 71f4d22 kept the download in a TestKit home that CI's Gradle cache would save
(xvm#806). Instead the case goes, as on master in xvm#808 (which replaces #806): #796's deferral, which fixed #767,
stays tested by aVersionSetAfterThePluginIsAppliedGetsNoWarning without any download. So the plugin's test JVMs no
longer get -Dxtc.testkit.dir, the test no longer sets a TestKit home, and setup-xvm-project's excludes are as before.

Validated: the test file is xvm#808's; RUN_INTEGRATION_TESTS=true ./gradlew :plugin:validatePlugins :plugin:test --rerun
on #808's branch, 77 tests, 0 failures, 0 skipped, no request to the plugin portal or Maven Central; spotlessCheck.
@lagergren
lagergren requested review from cpurdy and ggleyzer November 25, 2026 19:07
@lagergren
lagergren enabled auto-merge (squash) November 25, 2026 19:11
lagergren added a commit that referenced this pull request Nov 25, 2026
…the TestKit home that CI was to keep for it

The case reproduced xvm#767 end to end, downloading kotlin-dsl, about 110 MB, on every CI run, which failed CI three
times on 2026-11-25. 0e635b7 and 71f4d22 kept the download in a TestKit home that CI's Gradle cache would save
(xvm#806). Instead the case goes, as on master in xvm#808 (which replaces #806): #796's deferral, which fixed #767,
stays tested by aVersionSetAfterThePluginIsAppliedGetsNoWarning without any download. So the plugin's test JVMs no
longer get -Dxtc.testkit.dir, the test no longer sets a TestKit home, and setup-xvm-project's excludes are as before.

Validated: the test file is xvm#808's; RUN_INTEGRATION_TESTS=true ./gradlew :plugin:validatePlugins :plugin:test --rerun
on #808's branch, 77 tests, 0 failures, 0 skipped, no request to the plugin portal or Maven Central; spotlessCheck.
lagergren added a commit that referenced this pull request Nov 25, 2026
…the TestKit home that CI was to keep for it

The case reproduced xvm#767 end to end, downloading kotlin-dsl, about 110 MB, on every CI run, which failed CI three
times on 2026-11-25. 0e635b7 and 71f4d22 kept the download in a TestKit home that CI's Gradle cache would save
(xvm#806). Instead the case goes, as on master in xvm#808 (which replaces #806): #796's deferral, which fixed #767,
stays tested by aVersionSetAfterThePluginIsAppliedGetsNoWarning without any download. So the plugin's test JVMs no
longer get -Dxtc.testkit.dir, the test no longer sets a TestKit home, and setup-xvm-project's excludes are as before.

Validated: the test file is xvm#808's; RUN_INTEGRATION_TESTS=true ./gradlew :plugin:validatePlugins :plugin:test --rerun
on #808's branch, 77 tests, 0 failures, 0 skipped, no request to the plugin portal or Maven Central; spotlessCheck.
lagergren added a commit that referenced this pull request Nov 25, 2026
…commits 482-503, and #806's group as #808's

#693 was rebased onto master c92cb05 (#805 and #807), with the semantic model's gaps and the Diagnostics
follow-up added and #805's npm changes brought into the VS Code extension at the end. The plan follows:
- commits 1-481 keep their numbers and take their new hashes, their subjects checked one by one;
- 481-483 are one group, the plugin tests' one network download dropped, open on master as #808, which replaces the
  closed #806 (481 cached the download, 482 commented the cache's excludes, 483 took both out and dropped the case);
- 484-503 are placed by the plan's rules: the census and bindings (P5) and proofs (P6) of the semantic model, the
  UP86 bridge's gap and UP83's test wait (P7), the playbook traces' retention and tour step fixes (P12), the
  trace's events (P4), the lock fix (P11), and #805's npm changes (P8).
pr-roadmap.md names the new head and master, and #808.

Checked: the appendix lists exactly #693's 503 commits on c92cb05, in order, each with a PR; every commit is in
one group but the plan's stand-alone ones; no hash from before the rebase is left; every table row has its table's
column count.
…plugin tests' one download from the network

The case reproduced xvm#767 end to end: its buildSrc applied kotlin-dsl, which it downloaded from the Gradle plugin
portal and Maven Central, about 110 MB, into a TestKit home that every CI run starts without. On 2026-11-25 that
download failed CI three times (429 Too Many Requests, Could not GET) while the rest of the build passed.

#796 fixed xvm#767 by warning about a project without a version only once its build script has run, which the project
that Gradle creates for a precompiled script plugin's accessors never does. aVersionSetAfterThePluginIsAppliedGetsNoWarning
checks that deferral without any download, so the case goes, with the plugin classpath helper and the runBuild option
that only it used, and the class comment says why such a project is never checked. No plugin test downloads anything
now; caching the download instead (xvm#806) would have kept about 110 MB in CI's Gradle cache for it.

Validated: RUN_INTEGRATION_TESTS=true ./gradlew :plugin:validatePlugins :plugin:test --rerun, 77 tests, 0 failures,
0 skipped; ProjectVersionWarningTest's 2 cases in 0.5 s, no request to the plugin portal or Maven Central in the log;
spotlessCheck passes.
@lagergren
lagergren force-pushed the lagergren/drop-kotlin-dsl-warning-case branch from f52a93c to 8d5e42b Compare November 26, 2026 08:53
@lagergren
lagergren merged commit fb7ba82 into master Nov 26, 2026
5 checks passed
@lagergren
lagergren deleted the lagergren/drop-kotlin-dsl-warning-case branch November 26, 2026 09:00
lagergren added a commit that referenced this pull request Nov 26, 2026
…commits 482-503, and #806's group as #808's

#693 was rebased onto master c92cb05 (#805 and #807), with the semantic model's gaps and the Diagnostics
follow-up added and #805's npm changes brought into the VS Code extension at the end. The plan follows:
- commits 1-481 keep their numbers and take their new hashes, their subjects checked one by one;
- 481-483 are one group, the plugin tests' one network download dropped, open on master as #808, which replaces the
  closed #806 (481 cached the download, 482 commented the cache's excludes, 483 took both out and dropped the case);
- 484-503 are placed by the plan's rules: the census and bindings (P5) and proofs (P6) of the semantic model, the
  UP86 bridge's gap and UP83's test wait (P7), the playbook traces' retention and tour step fixes (P12), the
  trace's events (P4), the lock fix (P11), and #805's npm changes (P8).
pr-roadmap.md names the new head and master, and #808.

Checked: the appendix lists exactly #693's 503 commits on c92cb05, in order, each with a PR; every commit is in
one group but the plan's stand-alone ones; no hash from before the rebase is left; every table row has its table's
column count.
lagergren added a commit that referenced this pull request Nov 26, 2026
…ee commits out, 501 and 502 placed

#808 merged as fb7ba82 on 2026-11-26, after Gene's #809, and #693 was rebased onto it without its commits 481-483,
whose net change #808 is; the #802 review round came on top. squash-693.md now covers #693's 502 commits at
4a746eb:
- 481-483 are gone from the appendix, the mixed commits and P13's groups; 484-503 are 481-500, every hash is #693's
  new one, matched by position with the subjects checked.
- 501, lang's opt-in detekt and CPD, is a P13 group of its own; its version pins go to X5, its tasks to L10.
- 502, #802's review round, joins 459 in P1's #802 group, and is a mixed commit (it touches the XDK's libraries).
- P1, P13, X5, L10 and the totals are counted again; the header and the open-PR line say #808 is merged.
The roadmap's GitHub line says the same, and errs-693-rebase-2026-11-26.tsv maps every old commit to its new one: 501
replayed, 3 dropped, 1 added.

Validated: the appendix runs 1-502 in order with #693's hashes, all 636 number-hash references agree with it, and the
topics' counts sum to 502.
lagergren added a commit that referenced this pull request Nov 26, 2026
…commits 482-503, and #806's group as #808's

#693 was rebased onto master c92cb05 (#805 and #807), with the semantic model's gaps and the Diagnostics
follow-up added and #805's npm changes brought into the VS Code extension at the end. The plan follows:
- commits 1-481 keep their numbers and take their new hashes, their subjects checked one by one;
- 481-483 are one group, the plugin tests' one network download dropped, open on master as #808, which replaces the
  closed #806 (481 cached the download, 482 commented the cache's excludes, 483 took both out and dropped the case);
- 484-503 are placed by the plan's rules: the census and bindings (P5) and proofs (P6) of the semantic model, the
  UP86 bridge's gap and UP83's test wait (P7), the playbook traces' retention and tour step fixes (P12), the
  trace's events (P4), the lock fix (P11), and #805's npm changes (P8).
pr-roadmap.md names the new head and master, and #808.

Checked: the appendix lists exactly #693's 503 commits on c92cb05, in order, each with a PR; every commit is in
one group but the plan's stand-alone ones; no hash from before the rebase is left; every table row has its table's
column count.
lagergren added a commit that referenced this pull request Nov 26, 2026
…ee commits out, 501 and 502 placed

#808 merged as fb7ba82 on 2026-11-26, after Gene's #809, and #693 was rebased onto it without its commits 481-483,
whose net change #808 is; the #802 review round came on top. squash-693.md now covers #693's 502 commits at
4a746eb:
- 481-483 are gone from the appendix, the mixed commits and P13's groups; 484-503 are 481-500, every hash is #693's
  new one, matched by position with the subjects checked.
- 501, lang's opt-in detekt and CPD, is a P13 group of its own; its version pins go to X5, its tasks to L10.
- 502, #802's review round, joins 459 in P1's #802 group, and is a mixed commit (it touches the XDK's libraries).
- P1, P13, X5, L10 and the totals are counted again; the header and the open-PR line say #808 is merged.
The roadmap's GitHub line says the same, and errs-693-rebase-2026-11-26.tsv maps every old commit to its new one: 501
replayed, 3 dropped, 1 added.

Validated: the appendix runs 1-502 in order with #693's hashes, all 636 number-hash references agree with it, and the
topics' counts sum to 502.
lagergren added a commit that referenced this pull request Nov 27, 2026
…commits 482-503, and #806's group as #808's

#693 was rebased onto master c92cb05 (#805 and #807), with the semantic model's gaps and the Diagnostics
follow-up added and #805's npm changes brought into the VS Code extension at the end. The plan follows:
- commits 1-481 keep their numbers and take their new hashes, their subjects checked one by one;
- 481-483 are one group, the plugin tests' one network download dropped, open on master as #808, which replaces the
  closed #806 (481 cached the download, 482 commented the cache's excludes, 483 took both out and dropped the case);
- 484-503 are placed by the plan's rules: the census and bindings (P5) and proofs (P6) of the semantic model, the
  UP86 bridge's gap and UP83's test wait (P7), the playbook traces' retention and tour step fixes (P12), the
  trace's events (P4), the lock fix (P11), and #805's npm changes (P8).
pr-roadmap.md names the new head and master, and #808.

Checked: the appendix lists exactly #693's 503 commits on c92cb05, in order, each with a PR; every commit is in
one group but the plan's stand-alone ones; no hash from before the rebase is left; every table row has its table's
column count.
lagergren added a commit that referenced this pull request Nov 27, 2026
…ee commits out, 501 and 502 placed

#808 merged as fb7ba82 on 2026-11-26, after Gene's #809, and #693 was rebased onto it without its commits 481-483,
whose net change #808 is; the #802 review round came on top. squash-693.md now covers #693's 502 commits at
4a746eb:
- 481-483 are gone from the appendix, the mixed commits and P13's groups; 484-503 are 481-500, every hash is #693's
  new one, matched by position with the subjects checked.
- 501, lang's opt-in detekt and CPD, is a P13 group of its own; its version pins go to X5, its tasks to L10.
- 502, #802's review round, joins 459 in P1's #802 group, and is a mixed commit (it touches the XDK's libraries).
- P1, P13, X5, L10 and the totals are counted again; the header and the open-PR line say #808 is merged.
The roadmap's GitHub line says the same, and errs-693-rebase-2026-11-26.tsv maps every old commit to its new one: 501
replayed, 3 dropped, 1 added.

Validated: the appendix runs 1-502 in order with #693's hashes, all 636 number-hash references agree with it, and the
topics' counts sum to 502.
lagergren added a commit that referenced this pull request Nov 28, 2026
…commits 482-503, and #806's group as #808's

#693 was rebased onto master c92cb05 (#805 and #807), with the semantic model's gaps and the Diagnostics
follow-up added and #805's npm changes brought into the VS Code extension at the end. The plan follows:
- commits 1-481 keep their numbers and take their new hashes, their subjects checked one by one;
- 481-483 are one group, the plugin tests' one network download dropped, open on master as #808, which replaces the
  closed #806 (481 cached the download, 482 commented the cache's excludes, 483 took both out and dropped the case);
- 484-503 are placed by the plan's rules: the census and bindings (P5) and proofs (P6) of the semantic model, the
  UP86 bridge's gap and UP83's test wait (P7), the playbook traces' retention and tour step fixes (P12), the
  trace's events (P4), the lock fix (P11), and #805's npm changes (P8).
pr-roadmap.md names the new head and master, and #808.

Checked: the appendix lists exactly #693's 503 commits on c92cb05, in order, each with a PR; every commit is in
one group but the plan's stand-alone ones; no hash from before the rebase is left; every table row has its table's
column count.
lagergren added a commit that referenced this pull request Nov 28, 2026
…ee commits out, 501 and 502 placed

#808 merged as fb7ba82 on 2026-11-26, after Gene's #809, and #693 was rebased onto it without its commits 481-483,
whose net change #808 is; the #802 review round came on top. squash-693.md now covers #693's 502 commits at
4a746eb:
- 481-483 are gone from the appendix, the mixed commits and P13's groups; 484-503 are 481-500, every hash is #693's
  new one, matched by position with the subjects checked.
- 501, lang's opt-in detekt and CPD, is a P13 group of its own; its version pins go to X5, its tasks to L10.
- 502, #802's review round, joins 459 in P1's #802 group, and is a mixed commit (it touches the XDK's libraries).
- P1, P13, X5, L10 and the totals are counted again; the header and the open-PR line say #808 is merged.
The roadmap's GitHub line says the same, and errs-693-rebase-2026-11-26.tsv maps every old commit to its new one: 501
replayed, 3 dropped, 1 added.

Validated: the appendix runs 1-502 in order with #693's hashes, all 636 number-hash references agree with it, and the
topics' counts sum to 502.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants