Skip to content

fix(#761): reply images show their stored copy before the session binding exists - #775

Merged
olibaron merged 1 commit into
mainfrom
fix/reply-images-before-binding
Nov 23, 2026
Merged

olibaron merged 1 commit into
mainfrom
fix/reply-images-before-binding

Conversation

@olibaron

Copy link
Copy Markdown
Contributor

Refs #761. Desktop check of #772 in Elizabeth's conversation: four reply images showed "Image not shown", and the turn-14 preview did not load.

  • Reply images. A reply resolves its image through the image cache's peek, which answered nothing until the Session binding existed. On the desktop a synced conversation's replies render before that, so they fell back to the authored path (/api/workspace-file → 404), and nothing re-resolved them once the binding arrived. peek now names the durable /api/attachment-image URL from the reference alone (with the session on the web, without it on the desktop).
  • Preview copy. A copy named only in produced files (…_preview.jpg) is fetched from the account before it is sized and served, as any cited attachment is; this Mac never held it.

Tests: historical-images.client.spec.ts — the cache names the durable URL with no binding; it fails without the fix.

Checks: AVN_GATE_FAIL_FAST=1 pnpm run check:ci green; pnpm run test 23,215 passed, 0 failed.

🤖 Generated with Claude Code

…ding exists

Desktop check of #772 in Elizabeth's conversation: four reply images showed
"Image not shown". A reply resolves its image through the image cache's
peek, which answered nothing until the Session binding existed; on the
desktop a synced conversation's replies render before that, so they fell
back to the authored path (/api/workspace-file -> 404) and nothing
re-resolved them once the binding arrived. peek now names the durable URL
from the reference alone. A copy named only in produced files is fetched
from the account before it is sized and served.

Tests: the cache names the durable URL with no binding (with a session on
the web, without one on the desktop); it fails without the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@olibaron olibaron added kind/bug-fix Corrects incorrect behavior area/web Browser and Electron graphical interfaces skip-ci Merge without starting the CI lanes area/session Session lifecycle, session log, persistence, projections, and the session working directory labels Nov 23, 2026
@olibaron
olibaron merged commit faa3c5b into main Nov 23, 2026
5 checks passed
@olibaron
olibaron deleted the fix/reply-images-before-binding branch November 23, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/session Session lifecycle, session log, persistence, projections, and the session working directory area/web Browser and Electron graphical interfaces kind/bug-fix Corrects incorrect behavior skip-ci Merge without starting the CI lanes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant