Skip to content

Console: Improve cancellation in current-dart-panel.#19182

Merged
gianm merged 2 commits into
apache:masterfrom
gianm:web-dart-stuff
Mar 20, 2026
Merged

Console: Improve cancellation in current-dart-panel.#19182
gianm merged 2 commits into
apache:masterfrom
gianm:web-dart-stuff

Conversation

@gianm

@gianm gianm commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

Two improvements:

  1. Only show "Cancel query" if the query is ACCEPTED or RUNNING.

  2. Cancellation can sometimes return 404 even when successful if there
    are multiple Brokers. It can also return 404 if the query finished
    before it could be canceled. Neither of these really deserve a
    "danger" toast. Change to a success toast with text "Query canceled
    or no longer running".

Two improvements:

1) Only show "Cancel query" if the query is ACCEPTED or RUNNING.

2) Cancellation can sometimes return 404 even when successful if there
   are multiple Brokers. It can also return 404 if the query finished
   before it could be canceled. Neither of these really deserve a
   "danger" toast. Change to a success toast with text "Query canceled
   or no longer running".
@gianm gianm changed the title Improve cancellation in current-dart-panel. Console: Improve cancellation in current-dart-panel. Mar 19, 2026
@gianm
gianm merged commit 844f4fa into apache:master Mar 20, 2026
11 checks passed
@gianm
gianm deleted the web-dart-stuff branch March 20, 2026 15:30
@github-actions github-actions Bot added this to the 37.0.0 milestone Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants