Skip to content

terminal/kitty: preserve chunked response identifiers - #13897

Merged
mitchellh merged 1 commit into
mainfrom
kitty-chunked-id
Aug 18, 2026
Merged

mitchellh merged 1 commit into
mainfrom
kitty-chunked-id

Conversation

@mitchellh

Copy link
Copy Markdown
Contributor

Chunked image responses used the final command even though only the initial chunk carries the image and placement identifiers. Successful replies lost image numbers and placement IDs. Final validation errors could also be suppressed entirely.

Save the initial response identifiers with the in-progress image and use them when the final chunk completes. Continue replacing the response ID with the generated image ID after a successful load. Cover successful image-number replies and invalid final payloads with unit tests.

Chunked image responses used the final command even though only the
initial chunk carries the image and placement identifiers. Successful
replies lost image numbers and placement IDs. Final validation errors
could also be suppressed entirely.

Save the initial response identifiers with the in-progress image and use
them when the final chunk completes. Continue replacing the response ID
with the generated image ID after a successful load. Cover successful
image-number replies and invalid final payloads with unit tests.
@mitchellh mitchellh added this to the 1.4.0 milestone Aug 18, 2026
@mitchellh
mitchellh requested a review from a team as a code owner August 18, 2026 19:11
@mitchellh
mitchellh merged commit fe12e30 into main Aug 18, 2026
35 checks passed
@mitchellh
mitchellh deleted the kitty-chunked-id branch August 18, 2026 19:20
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