Uh oh!
There was an error while loading. Please reload this page.
fix: preserve attachment file paths - #34234
Conversation
The following comment was made by an LLM, it may be inaccurate: I found a potentially related PR: feat: save file attachments to disk before model processing (#30153)
The current PR (34234) is the only exact match for "preserve attachment file paths", and the search for similar concerns reveals that #30153 handles a related but potentially different approach to file attachments (saving to disk vs. preserving paths). These could be addressing the same underlying issue or complementary aspects of attachment handling. You may want to review #30153 to ensure there's no overlap in the implementation approach. |
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
andrei-hasna
commented
Jun 27, 2026
Merge queue review: not merging this yet. Validation that passed locally on a clean temp worktree based on current
Blockers before merge:
|
andrei-hasna
commented
Jun 28, 2026
Merge queue recheck: not merging this PR yet. Validated locally on a clean temp worktree based on current
Blockers before merge:
An independent adversarial verifier also recommended not merging for the same blockers. |
andrei-hasna
commented
Jun 28, 2026
Merge queue recheck: not merging this PR yet. Current GitHub state:
Fresh local validation on a clean temp worktree based on current
Blockers before merge:
The previous independent adversarial verifier comment applies to the same PR head and recommended not merging for these same blockers. |
andrei-hasna
commented
Jun 28, 2026
Merge queue recheck: not merging this PR. Current GitHub state:
Local validation in an isolated worktree based on current
Blockers before merge:
Independent adversarial verification also recommended not merging for the stale restored-clipboard-path blocker. |
andrei-hasna
commented
Jul 5, 2026
Merge queue recheck: not merging this PR. Current GitHub state:
Validation/evidence from this recheck:
Blockers before merge:
|
jparradog
commented
Jul 6, 2026
Follow-up after the merge queue review: The blocker around source-backed attachments sending desktop Current behavior:
Fresh verification on the current PR head:
GitHub currently reports the PR as mergeable and the visible |
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes#23801
Closes#17488
Type of change
What does this PR do?
Preserves attachment source paths as metadata while keeping prompt request payloads portable across local, HTTP, WSL, SSH, and remote server connections.
data:URL as the request content.FilePartInput.sourcemetadata.How did you verify your code works?
Fresh verification at PR head
5423d2b971bab6c79f67216553c3a086af5acd3d:bun test --preload ./happydom.ts ./src/components/prompt-input/build-request-parts.test.ts ./src/components/prompt-input/submit.test.ts ./src/components/prompt-input/attachments.test.tsfrompackages/app: 32 pass, 0 fail.bun typecheckfrompackages/app: pass.bun typecheckfrompackages/desktop: pass.git diff --check: pass.dataUrl, whilesourcePathis preserved only asFilePartInput.sourcemetadata.Screenshots / recordings
N/A — no visible UI change; attachment preview behavior is preserved.
Checklist