Skip to content

[Rendering] Share remote image download pipeline - #91

Merged
NachoSoto merged 1 commit into
masterfrom
generic-remote-image-renderer
Sep 3, 2026
Merged

[Rendering] Share remote image download pipeline#91
NachoSoto merged 1 commit into
masterfrom
generic-remote-image-renderer

Conversation

@NachoSoto

Copy link
Copy Markdown
Owner

Summary

  • add RemoteImageDataRenderer for downloading image bytes into a custom RenderResultType
  • keep the existing HTTP status and RemoteImageRendererError behavior in one implementation
  • make RemoteImageRenderer delegate to the generic renderer without changing its public behavior

Motivation

WatchChess HDR backgrounds need UIImageReader decoding and must retain the original HEIC bytes for disk caching. This API lets that client reuse AsyncImageView's transport/error pipeline instead of duplicating it.

Validation

  • Swift 6 iOS simulator library build
  • swiftlint --config .swiftlint.yml --strict

Add a generic raw-data decoder renderer and make RemoteImageRenderer delegate to it. Clients that need custom image decoding or encoded cache payloads can now reuse the established HTTP status and error behavior.
@NachoSoto
NachoSoto marked this pull request as ready for review September 3, 2026 16:23
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-03T16:26:42.480173Z 40a5589 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@NachoSoto
NachoSoto merged commit 6257943 into master Sep 3, 2026
2 checks passed
@NachoSoto
NachoSoto deleted the generic-remote-image-renderer branch September 3, 2026 16:25
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