ITADN

Run / run selection not working as expected

#929Openssibb 创建于 2026-01-23
S
ssibbcommented
**Before Proceeding, please acknowledge**: - [X ] I have consulted the [Troubleshooting guide](https://harlequin.sh/docs/troubleshooting/index). - [X ] I have searched Issues and Discussions in this repo. - [X ] Feature requests should be initiated as Discussions. This is a bug report. **Describe the bug** Harlequin 2.5.1. Run selection is broken (meaning that it doesn't always run the selection, nor it's clear how it select what part of the query to run). Don't know when it actually become broken, since I was using a very old version (a release of beginning 2024, then I got a new job and had to re-install harlequin). The "Run" doesn't work consistently either. It runs only the last query, while selecting all the queries I get some queries run multiple times, while other not run at all, and not in the expected order, so it's very problematic when you have a workflow that requires to run commands in a specific order. **To Reproduce** See attached videos. https://github.com/user-attachments/assets/6ea5cd4e-a1c1-4db8-beac-c0a50616cc15 https://github.com/user-attachments/assets/d2282eaa-1903-4d92-b415-bef6019ed034 **Expected behavior** A clear and concise description of what you expected to happen. **Actual behavior** A clear and concise description of what happened; please include screenshots or videos of Harlequin if possible. **Contributing** Are you interested in contributing a fix? - [ ] Yes - [ ] Maybe - [ ] No **Additional context** *Please provide as much as you can, but don't waste your time if it's definitely not relevant or you don't know.* What is the output of `harlequin --version`? 2.5.1 What database adapter are you using with Harlequin? (Default is `duckdb`) What other options are you using when invoking Harlequin? (If you are using a profile, please add relevant items from your profile here). Can you tell us more about your system? - Shell: cmd.exe - Terminal: - OS of the shell: Windows 11 - OS of the terminal (if different from the shell): - Default locale / language for your OS/Terminal/Shell: > [!TIP] > For example, for my system, these are: > - Bash > - Windows Terminal > - Ubuntu 22.04 / WSL2 > - Windows 11 > - en_US/UTF-8 How did you install Harlequin? - [ ] pipx - [ ] conda/mamba - [X ] pip (global install) - [ ] pip + venv/virtualenv or pipenv - [ ] Poetry - [ ] uv/Rye - [ ] other: _____________
1 条评论