Skip to content

Dynamic analysis is selected by default even when the runtime analyzer is unavailable #41

In review

Description

@sh00kapic

The sidebar selects coretrace-runtime-analyzer by default. Preflight checks the requested static tools only. On a Mac without the dynamic backend, the CLI reported Command not found in PATH: coretrace-runtime-analyzer. Reinstalling the four static tools cannot resolve this condition.

Expected behavior and verification

Reflect runtime availability when dynamic analysis is requested and explain how to proceed with available tools. Check that disabling dynamic analysis removes the warning and that static-only runs still work. This ticket concerns extension detection and feedback.

SidebarProvider.ts line 272 · extension.ts line 204

Activity

  1. added
    bug
    on Nov 20, 2026
  2. Arthurvroum commented on Nov 25, 2026

    @Arthurvroum
    Collaborator

    Fixed on branch 41-runtime-analyzer-availability (a062053), pull request #54.

    • Before a run that requests dynamic analysis, the extension looks for coretrace-runtime-analyzer where ctrace looks for it: in the release (libexec), then on PATH (inside WSL on Windows).
    • If it is missing, the run continues with the static tools only (no --dyn). A warning explains why and offers a button that turns off dynamic analysis in the sidebar.
    • With dynamic analysis off, nothing changes and no warning is shown.

    Tests: detection of the bundled analyzer and the PATH analyzer, a run without the analyzer, a run with it, and static-only runs. Unit and workspace suites pass locally (Linux).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions