Skip to content

Add Support for Cancellation of Long-Running Queries #176

Description

The ability to cancel long-running queries is currently missing. Without this functionality, users are forced to open new tabs when executing a long-running query. Additionally, long-running queries can impact database performance, making this an important feature to implement.

Current Behavior:

  • Long-running queries cannot be canceled once initiated.

Expected Behavior:

  • Provide a way to cancel long-running queries directly from the interface.
  • Ensure that users receive immediate feedback when a query is successfully canceled.

Additional Consideration:

  • Ensure that closing a collection view automatically cancels any active queries tied to that view. This prevents unnecessary resource consumption on the database and ensures that lingering queries don’t continue to run after the user has navigated away.

Activity

  1. sajeetharan commented on Jul 14, 2025

    @sajeetharan
    Member
    • Provide a "Cancel" button in the UI for queries that are currently executing.
    • Support a keyboard shortcut (e.g., Esc) to cancel in-progress queries.
    • Show immediate visual feedback when a query is canceled — e.g., “Query canceled by user.”
    • Automatically cancel queries when the related collection view or tab is closed.
    • Keep the UI non-blocking during execution to allow user actions like cancellation or switching views.
  2. modified the milestones: 0.3.1, , 0.5.0 "October 2025" on Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions