Repository navigation
Drop ProjectVersionWarningTest's precompiled-script-plugin case, the plugin tests' one network download - #808
Merged
Conversation
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.
ggleyzer
approved these changes
Nov 25, 2026
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
force-pushed
the
lagergren/drop-kotlin-dsl-warning-case
branch
from
November 26, 2026 08:53
f52a93c to
8d5e42b
Compare
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.
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.
Why
ProjectVersionWarningTest's third case reproduced xvm#767 end to end. ItsbuildSrcappliedkotlin-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.
aVersionSetAfterThePluginIsAppliedGetsNoWarningalready checks that deferral, without any download.What
runBuildoption that only it used.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 spotlessCheckpasses.