Skip to content

Clarify artwork stream lifecycle and data handling - #266

Merged
kahrendt merged 1 commit into
mainfrom
review/issue-100-artwork
Sep 12, 2026
Merged

kahrendt merged 1 commit into
mainfrom
review/issue-100-artwork

Conversation

@maximmaxim345

Copy link
Copy Markdown
Member

Clarify artwork receiver behavior and stream-end effects. Changes beyond keyword normalization:

  • Require artwork stream/end to clear the current image as well as discard any pending image, so the channel stops displaying artwork.
  • Replace ambiguous binary-message rejection guidance with a sender prohibition outside an active artwork stream. During an active stream, unavailable clients SHOULD discard otherwise valid image data and MUST NOT close solely because it arrived - availability updates and image data can cross in flight.
  • Require clients discarding artwork during an active stream to process announces and cancels and count each part's data bytes toward total_size - discarding data must not lose track of transfer boundaries.
  • Separate malformed artwork messages from malformed transfer sequences. Message-format errors still require closure, while the transfer-sequence closure rules apply within an active artwork stream - this avoids mandating closure solely for valid data arriving outside a stream.

Addresses part of #100.

@kahrendt kahrendt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kahrendt
kahrendt merged commit 8fc2f8f into main Sep 12, 2026
1 check passed
@kahrendt
kahrendt deleted the review/issue-100-artwork branch September 12, 2026 10:45
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