Skip to content

M3: fix Project Explorer resource delta threading and opt-in lanes - #29

Merged
hsoliwal merged 6 commits into
developfrom
m3/explorer-ui-thread-delta-20261021
Oct 22, 2026
Merged

hsoliwal merged 6 commits into
developfrom
m3/explorer-ui-thread-delta-20261021

Conversation

@hsoliwal

Copy link
Copy Markdown
Owner

Scope: Project Explorer source adapter (leaf 2)

Independent branch from current master, not stacked on viewer core PR #27.

Code

  • ResourceExtensionContentProvider.inputChanged publishes a single immutable viewer/owning-Display binding on the UI thread.
  • processDelta no longer inspects SWT widgets on workspace worker threads. UI dispatch checks the exact binding again after asynchronous delivery; stale/disposed receivers are refused.
  • Opt-in only: -Dorg.eclipse.ui.navigator.resources.mode=viewport maps non-rename add/remove resource batches to M3ViewerDelta's parallel-array lane and applies them through the existing M3Viewers engine.
  • Preserve source order (adds before removes), refresh decisions on type/open/replace, and exact stock rename redraw logic. Stock remains the default.
  • Add ResourceDeltaThreadingTest to the NavigatorTestSuite and document the source contract/differential plan.

Verification and limitations

  • Current master as direct base, 5 changed paths, 6 additive commits, no rebase or overwrite.
  • Authored, not executed here: SWT/PDE worker-input test. Full NavigatorTestSuite, Java21/25 Tycho builds, actual resource-move/selection differential, native pixel proof and M3JDK21 image are still pending.
  • Not a complete Project Explorer/All Views conversion. The source still carries historical object allocations, pipeline caches and explicit subtree refreshes. Those cannot be deleted until a stock-equivalent event/delta proof is run.
  • Canonical tested Maven/OpenRewrite receiving recipe in hsoliwal/com.synexia is an open acceptance gate. This PR is reviewable draft implementation, not a green release signoff.

Design: docs/m3/views/project-explorer/DESIGN.md and updated VIEW_INVENTORY.tsv.

@hsoliwal
hsoliwal marked this pull request as ready for review October 21, 2026 11:14
@hsoliwal
hsoliwal changed the base branch from master to develop October 22, 2026 03:27
@hsoliwal
hsoliwal merged commit 3260aa1 into develop Oct 22, 2026
1 of 4 checks passed
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.

1 participant