Repository navigation
Conversation
…blication # Conflicts: # src/agent_env/artifact/artifacts/file.py
|
Applied the shared sandbox-provider compatibility fix in c14168f, included in head ac4c1ed, and merged latest main. Either PR can merge first without dropping providers that override the deprecated file-transfer methods. The regression covers actual artifact staging, inherited overrides, VM Validation: 6,515 unit/protocol tests passed with 13 capability skips; after merging latest main, all 901 A2A/sandbox/protocol tests passed. Plugin API check passed. All existing inline review threads are resolved. |
|
🤖 Automated Claude routine — Env Pod PR Context Review. This is a bot, not Edgar Arakelyan; not a human review. Context from outside this diff: open PR #85 carries the same two changes, byte for byte, and neither PR mentions the other. Both branch from
Both are currently Generated by Claude Code |
Closes #88
Apply one deadline to nonblocking reads from both Docker-save pipes, stream gzip output, and retain a bounded 16 KiB stderr tail. On failure, terminate the owned process group, close the parent pipe ends, and reap the save process. File and byte uploads now reuse the existing attempt-isolated locator scheme so a failed document insert cannot block the next publication.
Measured with local subprocesses and real SQLite/filesystem stores. Tests cover stalled stdout, saturated stderr, surviving descendants, compression errors, valid 16 MiB gzip output, concurrent writes, and both file-upload APIs.
Only newly published object locators change. Existing saved locators still load. Failed publication can leave an isolated object; this change makes retry safe rather than adding garbage collection.
Sandbox file-method dispatch preserves providers implementing either the object-store method names or the deprecated S3 names, including inherited overrides and
super()delegation. Regression tests cover artifact staging through an older provider and both keyword spellings.Validation: 6,515 unit/protocol tests passed, 13 capability skips; A2A, sandbox, and protocol tests also pass after merging latest
main. Plugin API check passed. Docker/cloud integration runs in CI.The PR appears safe to merge based on the reviewed changes.
What we checked:
Summary
Docker image saves now stream under one deadline, and file uploads use a separate object location for each attempt so failed publications can be retried. Sandbox providers can keep using either the older or newer file-copy method names.
Diagram
%%{init: {'theme': 'neutral'}}%% flowchart LR G[Staging grant] --> H{Staging path and port known?} H -- Yes --> L[Try agent server over loopback] L -- Connection refused --> P[Try grant URL] H -- No --> P L -- Server responds --> R[Use response] P --> RReviews (5) · Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." · Reviewed by Greptile