fix(gateway): persist offloaded image refs in transcript for iOS share/node ingress#74625
fix(gateway): persist offloaded image refs in transcript for iOS share/node ingress#74625Lucenx9 wants to merge 1 commit into
Conversation
e7fefef to
b7d27b1
Compare
b7d27b1 to
0c4ec29
Compare
|
Codex review: needs changes before merge. What this changes: The PR exports the existing chat.send media persistence/transcript rewrite helpers, reuses them from the agent.request node-event path, and adds a server-node-events regression test for offloaded image refs becoming transcript media paths. Required change before merge: The remaining repair is a narrow changelog-only update; the gateway implementation still needs ordinary maintainer review and validation. Security review: Security review cleared: The diff only reuses existing gateway media transcript persistence helpers and adds tests; it does not add dependencies, workflows, secrets handling, package metadata, or external code execution paths. Review findings:
Review detailsBest possible solution: Add a single-line entry under Unreleased/Fixes crediting @Lucenx9, then land this PR or an equivalent narrow gateway change after the targeted server-node-events/chat-send tests and changed gate pass so the linked issue closes from the merge. Do we have a high-confidence way to reproduce the issue? Yes. Current main has a static high-confidence reproduction: an agent.request with an offloaded image gets parsed into offloadedRefs, but the node path drops those refs before transcript MediaPath/MediaPaths can be written. Is this the best way to solve the issue? Yes for the gateway code path. Reusing the existing chat.send media persistence and transcript rewrite helpers is the narrowest maintainable fix; the branch is not merge-ready until the required changelog entry is added. Full review comments:
Overall correctness: patch is correct Acceptance criteria:
What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 4cbd1b53cf86. |
Summary
Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
Root Cause
Regression Test Plan
AI assistance
This PR was prepared with Claude (Opus 4.7).