sbt/notes/2.0.0
BrianHotopp b5ecb37ae7 [2.x] fix: Discard a cancelled task's output backlog on cancel (#9411)
A task that floods stdout could not be stopped promptly: cancelling it
(Ctrl+C from the thin client) stopped the task, but the server kept
draining the already-queued output to the client for several seconds,
because onCancellationRequest never discarded the pending backlog.

onCancellationRequest now sets a per-channel isCanceled flag and clears the
queued frames and buffered stdout (discardPending), and jsonRpcNotify
drops the cancelled task's systemOut/systemErr while the flag is set, so
output stops promptly.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 21:27:57 -04:00
..
cache-version.md [2.x] feat: Add cacheVersion setting for global cache invalidation (#8993) 2026-05-17 03:17:12 -04:00
cancel-discards-output.md [2.x] fix: Discard a cancelled task's output backlog on cancel (#9411) 2026-07-12 21:27:57 -04:00
migration.md [sbt 2.x] remote cache (#7464) 2024-02-07 10:34:06 -05:00
missing-file-error.md [2.0.x] fix: Report a missing input file clearly instead of an opaque SerializationException (#9275) 2026-05-30 21:13:42 -04:00
output-flush-coalescing.md [2.0.x] fix: Keep the output-flush timer alive across forceFlush (#9422) 2026-07-10 16:05:25 -04:00
parallel-dependency-resolution.md [2.0.x] fix: Parallelize dependency resolution when no progress bar is rendered (#9274) 2026-05-30 21:12:10 -04:00