Skip to content

Add "redirecting" query pseudo-state - #2351

Merged
rolandwalker merged 1 commit into
mainfrom
RW/add-redirects-query-pseudo-state
Oct 10, 2026
Merged

rolandwalker merged 1 commit into
mainfrom
RW/add-redirects-query-pseudo-state

Conversation

@rolandwalker

Copy link
Copy Markdown
Contributor

Description

Add "redirecting" query state for shell-style redirects, /once, or /pipe_once commands.

Don't try to kill a remote thread when a query is already in the "redirecting" state. The query is finished at that point already. Avoid running success hooks on interrupt as well.

Do a better job of cleanup for redirection processes on interrupt.

Some incidental Explorer tests are added.

Checklist

  • I added this contribution to the changelog.md file.
  • I added my name to the mycli/AUTHORS.txt file (or it's already there).
  • To lint and format the code, I ran
    uv run ruff check && uv run ruff format && uv run mypy --install-types .

Add "redirecting" query state for shell-style redirects, /once, or
/pipe_once commands.

Don't try to kill a remote thread when a query is already in the
"redirecting" state.  The query is finished at that point already.
Avoid running success hooks on interrupt as well.

Do a better job of cleanup for redirection processes on interrupt.

Some incidental Explorer tests are added.
@rolandwalker rolandwalker self-assigned this Oct 10, 2026
@rolandwalker
rolandwalker merged commit 6e12968 into main Oct 10, 2026
12 checks passed
@rolandwalker
rolandwalker deleted the RW/add-redirects-query-pseudo-state branch October 10, 2026 16:26
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.

1 participant