fix: pass image attachments to runtime #48

Merged
hongming merged 2 commits from fix/l4-vision-attachments into main 2026-05-23 23:33:08 +00:00
Owner

Live tenant image-upload smoke showed attachment metadata reaching runtimes but image bytes not being delivered to the model path.\n\nThis PR adds targeted L4 forwarding and regression tests.\n\nValidation:\n- runtime: PYTHONPATH=. pytest -q tests/test_a2a_nonblocking_inbox.py tests/test_executor_helpers.py::test_build_user_content_with_files_image_is_multimodal tests/test_executor_helpers.py::test_extract_attached_files_fetches_platform_pending_attachment\n- codex: PYTHONPATH=. pytest -q tests/test_executor.py

Live tenant image-upload smoke showed attachment metadata reaching runtimes but image bytes not being delivered to the model path.\n\nThis PR adds targeted L4 forwarding and regression tests.\n\nValidation:\n- runtime: PYTHONPATH=. pytest -q tests/test_a2a_nonblocking_inbox.py tests/test_executor_helpers.py::test_build_user_content_with_files_image_is_multimodal tests/test_executor_helpers.py::test_extract_attached_files_fetches_platform_pending_attachment\n- codex: PYTHONPATH=. pytest -q tests/test_executor.py
hongming added 1 commit 2026-05-23 23:19:04 +00:00
fix(runtime): pass image attachments to langgraph
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 8s
ci / lint (pull_request) Successful in 44s
ci / smoke-install (pull_request) Successful in 1m7s
ci / unit-tests (pull_request) Successful in 1m12s
ci / build (pull_request) Successful in 1m14s
6e4a6768a1
sdk-lead added 1 commit 2026-05-23 23:25:25 +00:00
fix(runtime): preserve image-only and interrupt attachments
ci / unit-tests (pull_request) Successful in 1m15s
ci / lint (pull_request) Successful in 40s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 8s
ci / smoke-install (pull_request) Successful in 1m6s
ci / build (pull_request) Successful in 1m15s
04a51f7d98
infra-runtime-be approved these changes 2026-05-23 23:26:18 +00:00
infra-runtime-be left a comment
Member

Approved after code-review pass and local targeted verification. Runtime preserves image-only uploads and multimodal interrupt content.

Approved after code-review pass and local targeted verification. Runtime preserves image-only uploads and multimodal interrupt content.
dev-lead approved these changes 2026-05-23 23:26:19 +00:00
dev-lead left a comment
Member

Approved. Scoped runtime change with regression coverage for image, image-only, and interrupt paths.

Approved. Scoped runtime change with regression coverage for image, image-only, and interrupt paths.
hongming merged commit 0027e92b8e into main 2026-05-23 23:33:08 +00:00
Sign in to join this conversation.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-ai-workspace-runtime#48