Skip to content

Fix diagnostics cancellation interrupt race - #748

Merged
renkun-ken merged 1 commit into
REditorSupport:masterfrom
renkun-ken:codex/fix-callr-diagnostics-interrupt
Aug 1, 2026
Merged

Fix diagnostics cancellation interrupt race#748
renkun-ken merged 1 commit into
REditorSupport:masterfrom
renkun-ken:codex/fix-callr-diagnostics-interrupt

Conversation

@renkun-ken

Copy link
Copy Markdown
Member

Summary

  • retire pooled callr workers when a running task is cancelled
  • prevent late interrupts from leaking into replacement diagnostics
  • add regression coverage for persistent-session cancellation

Verification

  • task manager tests, including real subprocess tests
  • lintr diagnostics tests
  • 100-iteration cancellation stress test with zero errors or stalls
  • formatting and LSP 3.18 tests with a writable cache

@renkun-ken
renkun-ken merged commit d604f7d into REditorSupport:master Aug 1, 2026
5 checks passed
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