Skip to content

Make detector execution cancellable and diagnosable - #83

Merged
khifah merged 1 commit into
mainfrom
feature/cancellable-detector-execution
Nov 2, 2026
Merged

khifah merged 1 commit into
mainfrom
feature/cancellable-detector-execution

Conversation

@mayanour4

Copy link
Copy Markdown
Contributor

Makes detector execution cancellable, time-bounded, and easier to diagnose. The extension now clears stale results after cancelled, failed, or superseded runs and provides actionable failure details in the Output channel.

Testing Note:

  • Verified cancellation using a deliberately slow Java process.
  • Confirmed the Problems panel clears previous diagnostics after cancellation.
  • Verified missing-Java failure guidance and technical Output details.
  • Ran automated tests covering cancellation, timeout, missing Java, and missing JAR.
  • Passed TypeScript checks, compilation, all 10 regression fixtures, and VSIX packaging.
  • Screenshots demonstrating cancellation, cleared stale results, timeout documentation, and missing-Java reporting are attached to the ticket.

Closes #57.

@mayanour4 mayanour4 linked an issue Nov 2, 2026 that may be closed by this pull request
5 tasks done
@mayanour4 mayanour4 self-assigned this Nov 2, 2026
@mayanour4
mayanour4 requested a review from khifah November 2, 2026 23:09
@khifah
khifah merged commit c96d76e into main Nov 2, 2026
1 check 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.

VS Code: Harden detector execution and user-facing failures

2 participants