fix: decouple no-config debug readiness from core activation - #1696
Draft
wenyt (wenytang-ms) wants to merge 1 commit into
Draft
fix: decouple no-config debug readiness from core activation#1696wenyt (wenytang-ms) wants to merge 1 commit into
wenyt (wenytang-ms) wants to merge 1 commit into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
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.
Summary
Follow-up to #1690: register core Java Run/Debug support without waiting for optional No-Config Debug initialization.
The previous fix isolates storage failures and adds an opt-out, but activation still waits for endpoint setup, Java executable discovery, and wrapper permission preparation. Those steps are not prerequisites for registering standard
launch.jsonRun/Debug support.Design
debug_java_application. The tool waits before reading launch inputs, probing Java, emitting launch telemetry, building, opening terminals, or stopping an existing session.Compatibility and limits
The default-enabled opt-out and activation-time setting snapshot are unchanged. Standard Run/Debug and existing-session AI tools remain available independently of No-Config readiness.
This does not change the wrapper's Java selection order (
JAVA_HOME->VSCODE_JAVA_EXEC->PATH), the Java discovery fallback, or existing script-permission fallback behavior.Terminal preparation remains eager, not lazy. Extension activation completing no longer means No-Config Debug is ready. Terminals opened too early may need to be recreated once preparation finishes; this PR does not promise to repair their environment or close them automatically. The root README and terminal/AI documentation describe this boundary.
Startup stale-file cleanup and file-based endpoint delivery are unchanged. This PR does not fix the previously discussed cleanup race, redesign the request/recovery protocol, or add an AI
launch.jsonfallback.Validation
npm run compileand targeted TSLint.The separate probe stubs Java-extension discovery and AI-tool registration. It does not launch a real JVM or claim NixOS end-to-end coverage.
Related to #1689.