Repository navigation
Conversation
Accept dicts, text, bytes, binary files, and async byte streams with
an optional content type. Send omitted and None payloads as empty bodies.
Add StreamPayload(source=...) for streaming data sources. To accommodate 402
(payment) and other error response codes without consuming the payload,
the client sends an `Expect: 100-continue` and waits for the 100 before
transmitting the body. This is something that most HTTP servers do by
default already, including golang's. Bounded (non-streaming) inputs do
not wait for the 100.
In the case that there is still an error after payment, streaming input is
buffered for replay during runner failover (optional, but enabled by
default). Seekable files are rewound instead of buffered.
This is API-compatible with existing callers, with a few tweaks:
* `None` payloads now don't send a body, instead of `{}`
* `stream=True` (response streaming) now honors `timeout` instead of
using a fixed 10s
Also remove an unused `Label` field from runner registration.
j0sh
requested review from
rickstaa
and
a balanced review from Copilot
and removed request for
Copilot
October 17, 2026 02:15
Copilot stopped reviewing on behalf of
j0sh due to an error
October 17, 2026 02:16
Collaborator
Author
|
From Codex, on the codequality bot: For PR #80, seven findings are false positives and two are minor readability suggestions.
I'm disabling the codequality bot to reduce noise - cc @rickstaa |
Member
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
This branch has not been deployed
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.
Accept dicts, text, bytes, binary files, and async byte streams with
an optional content type. Send omitted and None payloads as empty bodies.
Add StreamPayload(source=...) for streaming data sources. To accommodate 402
(payment) and other error response codes without consuming the payload,
the client sends an
Expect: 100-continueand waits for the 100 beforetransmitting the body. This is something that most HTTP servers do by
default already, including golang's. Bounded (non-streaming) inputs do
not wait for the 100.
In the case that there is still an error after payment, streaming input is
buffered for replay during runner failover (optional, but enabled by
default). Seekable files are rewound instead of buffered.
This is API-compatible with existing callers, with a few tweaks:
Nonepayloads now don't send a body, instead of{}stream=True(response streaming) now honorstimeoutinstead ofusing a fixed 10s
Also remove an unused
Labelfield from runner registration.