Repository navigation
Conversation
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.
Small SSE responses were delayed by veADK's Sidecar HTTP relays until the upstream stream ended or a 64 KiB read filled. This change forwards available bytes immediately, so clients can receive the first event while the upstream response remains open.
HTTPResponse.read1(64 * 1024)in the stable/fallback, Runtime Gateway, and managed MCP upstream relays.text/event-streamresponses through the MCP loopback relay while preserving legacy JSON framing and session-header normalization.Request bodies, public APIs, dependency versions, timeouts, and retry policy are unchanged. Harness service's default streaming and explicitly enabled
strict_stream_bufferbehavior are retained. Earlier chunks are an intentional user-visible behavior change; no provider caching benefit or production latency improvement is claimed.Validation uses CPython 3.12.13 and the unchanged lock file on Linux, with external network disabled during Python tests. The same 30 first-event tests fail at the expected timing boundary on the base revision and pass on the candidate. Candidate targeted checks pass 46/46; the built and installed wheel passes 40/40; the unchanged Harness HTTP service plus the complete relay chain passes 23/23 with request bodies preserved. Frontend Sidecar coverage, 1,389 Node tests, 236 Vitest tests, and all pre-commit hooks pass.
The complete Python regression finished in 490.35 seconds with 9,632 passed, 1 failed, 141 skipped, and 4 xfailed (no errors). The failure is
tests/cli/test_github_cicd.py::test_list_github_delivery_versions_returns_recorded_versions: it leaves a GitHub request to the syntheticacme/demorepository unstubbed. The same test fails on the unchanged base revision with the same isolated environment. This PR remains a draft because the complete suite is not green; the failure is retained, and no test was deselected or weakened to hide it. Existing skips include optional live-model/database/CUA integration and unsupported runtime capabilities; they are not counted as passes. The repository's standardnot codex_smoke and not piagent_smokeselection was used with four workers on eight available CPUs.All five backend Sidecar gate groups pass (coverage 162, lifecycle 9, credentials 97, release 39, streaming 45); Sidecar coverage is 96%, retaining the existing 91% threshold. Earlier environment failures were corrected by restoring locked optional dependencies, build-cache prerequisites and OpenTelemetry collection for tests; the original failed run is retained separately.
No customer Runtime deployment, real-model replay, or production browser acceptance was performed; this PR changes the library transport layer.