Skip to content

feat(dap): show debug adapter progress natively and keep it alive - #553

Merged
sidlatau merged 1 commit into
mainfrom
feat/debugger-progress
Sep 28, 2026
Merged

sidlatau merged 1 commit into
mainfrom
feat/debugger-progress

Conversation

@sidlatau

Copy link
Copy Markdown
Collaborator
  • Launch, attach, hot reload and hot restart progress from the Flutter debug adapter is shown as native progress (Neovim 0.12+), so terminals supporting OSC 9;4 show a progress bar.
  • New ui.progress helper, also used by devices and widget preview, resends running progress every 10s because Ghostty drops the bar after 15s without updates. The keep-alive stops after 2 min without a real update, and progress still running when the DAP session closes (including an adapter crash) is marked failed, so the bar can't stay up indefinitely.

- Launch, attach, hot reload and hot restart progress from the Flutter debug adapter is shown as native progress (Neovim 0.12+)
- Shared ui.progress helper resends running progress every 10s, since Ghostty drops an OSC 9;4 bar after 15s without updates; it stops after 2 min without a real update, and progress still running when the session closes is marked failed
- Devices and widget preview use the same helper
@sidlatau
sidlatau merged commit 2929775 into main Sep 28, 2026
7 checks passed
@sidlatau
sidlatau deleted the feat/debugger-progress branch September 28, 2026 05:28
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