Skip to content

improve error handling around io cancellation - #2581

Merged
techatrix merged 5 commits into
masterfrom
techatrix/respect-cancellation
Jan 22, 2026
Merged

techatrix merged 5 commits into
masterfrom
techatrix/respect-cancellation

Conversation

@techatrix

Copy link
Copy Markdown
Member

It is usually a bug to ignore error.Canceled so this change will ensure that cancellation is always properly propagated up the callstack or diabled using cancel protection. This is a necessary prerequisite to implement LSP request cancellation.

It is usually a bug to ignore `error.Canceled` so this change will ensure that cancellation is always properly propagated up the callstack or diabled using cancel protection. This is a necessary prerequisite to implement LSP request cancellation.
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d03088749a110d52a4739348f39a63f84bb0be14?narHash=sha256-50aDK%2B8eLvsLK39TzQhKNq50/HcXyP4hyxOYoPoVxjo%3D' (2026-01-10)
  → 'github:NixOS/nixpkgs/3ceaaa8bc963ced4d830e06ea2d0863b6490ff03?narHash=sha256-sJERJIYTKPFXkoz/gBaBtRKke82h4DkX3BBSsKbfbvI%3D' (2026-01-20)
• Updated input 'zig-overlay':
    'github:mitchellh/zig-overlay/943011b7a2beab0af976ad9b60f0d5953cefbd30?narHash=sha256-OKN0ZVTMEv1LbTHw8qe494yOc67IrnE%2B9qPO6ztvlTg%3D' (2026-01-12)
  → 'github:mitchellh/zig-overlay/8010aa8a404e933ec1c74ed7673e14569ef5cfc8?narHash=sha256-uy2O/9ySmh/QscqXE0td4maP%2BwjMBKPs7NKOU8LxSdA%3D' (2026-01-20)
@techatrix
techatrix merged commit aac0477 into master Jan 22, 2026
7 checks passed
@techatrix
techatrix deleted the techatrix/respect-cancellation branch January 22, 2026 19:02
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