Skip to content

Cancelling an Explain leaves the previous plan on screen #860

Closed

Description

@EVWorth

Severity: P3.

Since #850 (PR #856), cancelling a query clears the previous results so they don't read as the cancelled query's. Cancelling an Explain or Explain Analyze still leaves explainResult and showExplain as they were. The plan on screen then looks like the plan for the statement that was cancelled.

Fix

In cancelActiveQuery (src/stores/resultStore.ts), clear the explain fields too when the run being cancelled is an Explain. Add a case to the cancelActiveQuery tests in resultStore.test.ts.

Found in review of #856.

Activity

  1. added a commit that references this issue on Oct 29, 2026
    2d50558
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions