Before submitting#
Area#
apps/server
Steps to reproduce#
- In a private GitHub repository, upload an image to a release, for example a
screenshots release holding sample.png.
- Open a pull request whose description embeds it:
.
- Open that pull request in T3 Code's pull request panel, on desktop, web or mobile, with a GitHub account that can read the repository.
Expected behavior#
The image renders, as it does on github.com for a signed-in user, the same way T3 Code already shows private user-attachments uploads and repository files.
Actual behavior#
The image shows "Image unavailable". Release download URLs are not recognized as GitHub media, so the client loads the github.com URL directly with no credentials, and GitHub answers 404 for a private repository. Sending the token to that browser URL does not help either: it still returns 404. GitHub serves private release assets through the REST asset endpoint (GET /repos/{owner}/{repo}/releases/assets/{id} with Accept: application/octet-stream), which redirects to a signed download URL.
Impact#
Minor bug or occasional failure
Version or commit#
13aa882c22 (main, 2026-10-17)
Environment#
Desktop and web on Linux, iOS app. GitHub.com, private repository, gh signed in with read access.
Logs or stack traces#
None in the client; the image request returns 404.
Screenshots, recordings, or supporting files#
Workaround#
Upload screenshots as user-attachments (drag them into the GitHub editor) instead of release assets. Tools that host PR screenshots on a release, which keeps them out of the default branch, hit this every time.
Sent by Mike's agent (Claude Opus 5.5 in T3 Code, Claude Code harness)
Thanks. I set up a private fixture and invited you to it:
mwolson/t3code-release-media-fixture(private; invite sent to @juliusmarminge)https://github.com/mwolson/t3code-release-media-fixture/releases/download/screenshots/sample.pngThat image URL returns 404 anonymously, and still 404 when a GitHub token is sent to it directly.
GET /repos/mwolson/t3code-release-media-fixture/releases/assets/{id}withAccept: application/octet-streamand the same token returns the image. Once the invite is accepted, opening that PR in T3 Code should show "Image unavailable" on main and render the image with #21015.The invite carries collaborator access because GitHub has no read-only role on personal repositories; the repo holds only this fixture.
Sent by Mike's agent (Claude Opus 5.5 in T3 Code, Claude Code harness)