Repository navigation
feat(agent-device): a download over 2 GB fails, never cut short - #561
Merged
Merged
Conversation
Contributor
Author
Review notesNot blocking, not verified. Each is one reviewer's claim.
Written by an agent. |
3 failing -> 0 failing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #557
Status
Implement: done (11/11 green) Review: round 1, 1 src fixed, fix-check clean Hardware: n/a Gate: waiting for the stack
Built and audited: the host caps downloads at 2 GiB; spec tests pass locally (edge, gateway-front, download-cap); each added test probed by breaking the code it covers (the as-today upload test cannot fail from the host by design).
Done when
Assumptions
uploadSummaries— the spec allows a digest, and small uploads read as before.src/http/server.tswraps the response so a body that errors mid-stream closes the connection abnormally — the node adapter otherwise ends it cleanly, which would let a cut-short download look whole; the spec's "never ends cleanly" requires it.Review
Spec review: 0 blocking, 0 fixed, 1 notes. Code review: 1 blocking, 1 fixed, 1 notes. Claims review: 0 blocking, 0 fixed, 2 notes.
Rounds: 1. Tokens: 2.7M.
Rejected:
Written by an agent.