Repository navigation
Increase Session attachment limit to 100 MiB - #1735
Conversation
|
/kelos claude-review |
|
🤖 Kelos Task Status Task |
|
🤖 Kelos Claude Reviewer Agent @gjkim42 Review SummaryVerdict: APPROVE Findings Overview
FindingsNo blocking findings. Both P1 items from the previous review are resolved at this head:
Suggestions (optional)
Key takeaways
|
|
Verified the review against head c88a58d. Both required findings applied:
The optional transport-coverage suggestion is also addressed with a 15 MiB e2e upload/download round-trip. The optional store-test I/O optimization is deferred: there is no measured CI problem, and making store limits configurable solely to reduce test I/O would expand this change unnecessarily. Local validation passed: |
|
/kelos claude-review |
28298ff to
e6caec7
Compare
|
Reviewed the latest Kelos review (updated 2026-09-07 13:57 UTC) against head 28298ff. It approves the changes and reports no blocking findings; both earlier P1 findings are resolved. There are no unresolved inline review threads. The remaining P3 suggestion concerns the e2e client's 30-second timeout. This is optional, and the current e2e run passed without a timeout, so no harness or product change is required on the available evidence. The fixture is 16 MiB; the PR description has been corrected. Squashed the two commits into one, preserving the exact file tree from 28298ff. Build, verification, unit, integration, and e2e checks passed for that tree. CI will run again for the squashed commit. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Session attachments larger than 10 MiB are rejected. Raise the per-file limit to 100 MiB and total attachment storage per Session from 100 MiB to 1 GiB, with matching browser validation and documentation. The CLI and server use the shared runtime limit.
Give authenticated web attachment uploads a 15-minute read deadline. Stream downloads from the Session Pod to the HTTP response with bounded buffers, closing and canceling the exec stream when the consumer closes. Validate metadata before sending the response, set Content-Length, and abort failed or incorrectly sized transfers.
Which issue(s) this PR is related to:
N/A
Special notes for your reviewer:
Validation passed:
make updateenv -u CODEX_HOME -u CODEX_AUTH_JSON make testmake verifyThe test command removes inherited Codex environment settings that otherwise cause two unrelated entrypoint tests to fail. Unit coverage includes maximum-size storage, upload deadlines, streaming before exec completion, cancellation, invalid metadata, and failed or incorrectly sized transfers. The e2e Session test adds a 16 MiB upload/download round-trip; it runs in PR CI.
Does this PR introduce a user-facing change?