Skip to content

fix: remove obsolete API usages and test Zoo Code 3.96.0 in CI - #17

Merged
edelauna merged 2 commits into
mainfrom
issue/16
Nov 9, 2026
Merged

edelauna merged 2 commits into
mainfrom
issue/16

Conversation

@edelauna

@edelauna edelauna commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Zoo Code 3.96.0's Marketplace verification reports deprecated and scheduled-for-removal API usages on IntelliJ IDEA 2023.3.8. This change removes the obsolete calls and generated coroutine signatures covered here, and updates Windows integration CI to exercise extension 3.96.0 with the current Kotlin code.

Related: #16. This addresses part of that issue; editor API migration and cross-version JCEF validation remain open.

Changes

  • Use JBCefJSQuery.create(JBCefBrowserBase) and terminal widget visibility instead of the deprecated browser overload and Swing hide().
  • Replace LazyPromise's whole-interface delegation with a private deferred, preserving RPC completion, cancellation, awaiting, and Java future callbacks without generating obsolete Job signatures.
  • Initialize workspace watching for the owning project when its extension host starts, and bind the message-bus connection to service disposal. Remove the deprecated project-open callback and cross-project watcher registration. This also removes the unused workspace-root event and its project-open acceptWorkspaceData push; RPCManager still sends initial workspace data through initializeWorkspace when the extension host starts.
  • Set the plugin version and Windows integration CI's bundled extension to 3.96.0, and document testing a published ZIP versus a candidate built from this checkout.

Validation

  • Release build with ZOO_EXTENSION_VERSION=3.96.0 ./scripts/build.sh --mode release --clean --verbose succeeded and produced ZooCode-3.96.0.zip.
  • Local Gradle test run before the version bump: 120 tests, 111 passed, 6 skipped, 3 failed in ExtensionDecouplingTest (provider-count assertion and missing plugin resource paths). All five new promise tests passed. A targeted run of ExtensionDecouplingTest on base commit 0dd9152, in an isolated source copy using the same SDK and generated inputs, reproduced the same three failures (5 tests, 3 failed).
  • Local review follow-up (pending commit/push): all eight LazyPromiseTest tests pass, including Java future failure, late failure subscription, cancellation, and pending-state assertions. The watcher map is replaced with one connection, orphaned root-event declarations are removed, and comments/setup instructions are clarified.
  • Bytecode inspection confirmed the browser-base overload and removal of obsolete delegated coroutine signatures. Workflow YAML parses and git diff --check passes.

The successful release build is not an integration-test result. Fresh 3.96.0 headful runs and Plugin Verifier results are still required. Windows CI targets IDEA 2025.3 and 2026.2.1; it does not establish 2023.3.8 runtime compatibility. The internal/experimental asynchronous editor-open path remains to preserve the chat-input fix tracked in #5.

@edelauna edelauna changed the title fix: address verifier warnings and pin integration CI to 3.96.0 fix: remove obsolete API usages and test Zoo Code 3.96.0 in CI Nov 9, 2026
@edelauna edelauna added the live-solheim Opt in to maintainer-approved live Solheim focus validation label Nov 9, 2026
@edelauna
edelauna merged commit 4972d24 into main Nov 9, 2026
10 checks passed
@edelauna
edelauna deleted the issue/16 branch November 9, 2026 13:19

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

live-solheim Opt in to maintainer-approved live Solheim focus validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant