fix: sign Linear file URLs for source API reads - #307
Merged
Merged
Conversation
siisee11
enabled auto-merge (squash)
July 13, 2026 09:55
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
onequery-landing | bff4adf | Commit Preview URL Branch Preview URL |
Jul 13 2026, 09:56 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One-Line Summary
Linear issues read through the Source API now expose temporarily accessible image and file URLs instead of unusable private storage URLs.
User-Facing Changes
get_issueresponses containinguploads.linear.appimages now return URLs that can be fetched for five minutes.Why This Changed
Linear stores uploaded files in private cloud storage. The Source API authenticated the GraphQL request but did not ask Linear to sign file URLs in the response, so downstream CLI consumers received private URLs they could not open.
How It Changed
public-file-urls-expire-in: 300header on GraphQL requests.Bug Fixes
Verification
bunx oxlint --format json packages/server/src/source-api/adapters/linear.ts packages/server/src/source-api/adapters/linear.test.tsbun run --cwd packages/server typecheckbun run --cwd packages/server test(49 files, 182 tests)linear.test.tscoverage asserting the signed-file header on Linear GraphQL requests.Video / Screenshot (Optional)