You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/07/26 20:33:53 UTC

(grails-intellij-plugin) 33/35: Update the plans to reflect what has shipped

This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/grails-intellij-plugin.git

commit e0395ce7f7ce79a173b70dd44adacce06294aa26
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Sun Jul 26 15:59:06 2026 -0400

    Update the plans to reflect what has shipped
    
    MIGRATION-PLAN.md, 423 -> 222 lines. Phases 1-7 are all done, so their
    step-by-step prose is replaced by a table recording what each one landed and
    where that detail now lives. Also:
    
      - "Current state (surveyed 2026-07-06)" is retitled "State at import" and
        trimmed. It described the pre-restructure build as current, which is why it
        read as stale; as a dated snapshot of what was inherited it is still worth
        keeping.
      - "Open decisions" becomes "Decisions of record". Decisions 3, 4 and 5 were
        settled by what actually got built (no Develocity, workflow artifact rather
        than channel publishing, platform-branch versioning) and now say so.
        Numbering is unchanged because later phases cite these by number.
      - Phase 8 is split into the six items verified locally and the four that need
        a real runner, a tag, or the PMC. The snapshot-publish gating item is
        dropped as moot: decision 4 means CI publishes nothing, so there is no job
        to gate. Worth flagging that no workflow has ever run on a GitHub runner —
        that is the largest untested area left.
      - The suggested commit sequence is removed; it is history now.
      - Phase 3's testdata-JAR question and Phase 7's SBOM stretch goal are pulled
        out as the two genuinely-open items rather than left buried in done phases.
    
    IMPROVEMENT-PLAN.md: the survey said 525 Java / 110 Kotlin, 11 flat submodules,
    platform 2025.3. Updated to the real numbers and layout, with a note on why 19
    Kotlin files remain and that Kotlin therefore cannot be dropped from the build
    yet. The assetPipeline cleanup item is closed. Phase 1's dumb-mode item records
    the two lessons from the IndexNotReadyException fix, since they apply to the
    contributors that have not been swept yet.
    
    MIGRATION-PLAN Phase 9 is untouched — still blocked on the software grant.
---
 IMPROVEMENT-PLAN.md | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/IMPROVEMENT-PLAN.md b/IMPROVEMENT-PLAN.md
index 331368f..211cb0a 100644
--- a/IMPROVEMENT-PLAN.md
+++ b/IMPROVEMENT-PLAN.md
@@ -64,7 +64,7 @@ anything. Concrete checklist:
 
 **0.1b Dormant code inherited from the JetBrains import** — decide revive vs delete for
 each. All of these arrived already-orphaned in `3d4bc40` (the initial import); none was
-broken by later work. They are documented in `grails-rt/README.md` so they are not
+broken by later work. They are documented in `libs/grails-rt/README.md` so they are not
 rediscovered as bugs. Deleting them would shrink `grails-rt` to the two Groovy resources
 that Grails 3+ actually uses.
 - [ ] `GrailsExecutionUtils.addAgentJar` has **no callers**, so the `-javaagent:` path
@@ -79,8 +79,8 @@ that Grails 3+ actually uses.
       `GrailsTaskManagerExtension`, gated on a Gradle task named `grails-test-app` that
       only the old Grails Gradle plugin defines — so it is unreachable on Grails 3+ too.
       Grails 7/8 test-event reporting needs a different mechanism; scope that in 2.6.
-- [ ] Untracked `assetPipeline/` build output remains from a module deleted from
-      `settings.gradle`. Safe to remove.
+- [x] ~~Untracked `assetPipeline/` build output remains from a module deleted from
+      `settings.gradle`.~~ Removed during the restructure.
 
 **0.2 Real-app walkthrough** — generate three apps and open each with the plugin:
 1. Grails **7.0.x** release (via `https://start.grails.org` — forge production
@@ -136,7 +136,16 @@ Walk this checklist per app and record works / broken / missing:
 - [ ] Provide new-UI (20×20) icon variants for the gutter/toolwindow/artefact icons;
       audit `GrailsIconProvider` and `GroovyMvcIcons` (generated) coverage.
 - [ ] Verify dumb-mode safety of the heavier contributors (member contributors and
-      reference providers should be index-tolerant).
+      reference providers should be index-tolerant). **Partly done**: the GSP taglib chain
+      (`GspXmlRootTagImpl` → `GspTagLibUtil` → `GrailsArtifact`) was throwing
+      `IndexNotReadyException` when a GSP was opened before import finished — fixed, with
+      `GspTagLibDumbModeTest` as the regression guard. Two lessons for the rest of the
+      audit: (a) a directory scan being index-free is not sufficient, because resolving a
+      member on a found Groovy class still hits the stub index via supertype resolution;
+      (b) any cache holding a degraded dumb-mode result needs
+      `DumbService.getModificationTracker()` as a dependency, since indexing finishing does
+      not inherently bump `PsiModificationTracker`. The remaining contributors have not
+      been swept.
 - [ ] Encode the supported-platform window in `pluginVerification.ides` (proposal:
       latest two IDE majors for the new plugin; "current major only, best effort" for
       legacy).
@@ -352,7 +361,8 @@ invisible to IntelliJ Community users. Using the Phase 0.3 reference counts:
       submodule (`com.intellij.persistence`, `com.intellij.javaee.jpa`), database
       integration (`com.intellij.database`), JSP-adjacent GSP features
       (`com.intellij.jsp`), JS/CSS injection (already optional).
-- [ ] The existing submodule layout (`hibernate/`, `langInjection/`, `i18n/`, …) is
+- [ ] The existing module layout (`pluginModules/hibernate/`, `pluginModules/langInjection/`,
+      `pluginModules/i18n/`, …) is
       most of the needed seam — the work is breaking compile-time references from
       core packages into Ultimate-only APIs (count known from Phase 0.3).
 - [ ] Decide the Marketplace story: one artifact with optional deps (recommended)