Skip to content

fix(ui): add defensive guards for async window/buffer operations#264

Merged
sudo-tee merged 1 commit intosudo-tee:mainfrom
jensenojs:fix/defensive-guards
Feb 12, 2026
Merged

fix(ui): add defensive guards for async window/buffer operations#264
sudo-tee merged 1 commit intosudo-tee:mainfrom
jensenojs:fix/defensive-guards

Conversation

@jensenojs
Copy link
Contributor

  • topbar: pcall wrap winbar setting + win_is_valid check before render
  • loading_animation: buf_is_valid guard + pcall for extmark operations
  • curl: explicit is_running boolean flag instead of job.pid check (job.pid persists after process exit, causing false health check positives)
  • Add curl lifecycle tests

- topbar: pcall wrap winbar setting + win_is_valid check before render
- loading_animation: buf_is_valid guard + pcall for extmark operations
- curl: explicit is_running boolean flag instead of job.pid check
  (job.pid persists after process exit, causing false health check positives)
- Add curl lifecycle tests
@sudo-tee sudo-tee merged commit 34f9f42 into sudo-tee:main Feb 12, 2026
5 checks passed
@jensenojs jensenojs deleted the fix/defensive-guards branch February 13, 2026 01:17
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.

2 participants