These 10 commits are when the Protocol Buffers files have changed:
| Commit: | 8c43a68 | |
|---|---|---|
| Author: | Brian Neradt | |
| Committer: | GitHub | |
Backport Uranium tests to 10.2.x (#13889) * Backport Uranium tests to 10.2.x The supported 10.2.x branch still relies on AuTest while master uses pytest, making test maintenance and CI behavior diverge between releases. This patch backports the Uranium framework and converted tests from #13545, preserving branch-specific coverage and configuration formats. It includes the Bash 3 compatibility fix from #13884 and adapts the build, documentation, and test helpers for the release branch. Explicit replay comparisons and native checks preserve the original assertions. The migration also includes the outbound connection-accounting fix carried by #13545. Pending connections retain their tracker reservation until the resulting session takes ownership, preserving per-origin connection counts and limits when transactions share a connection attempt. HTTP/2 closes its network connection before session-close hooks run. This patch preserves the peer, effective client, and local endpoints so those hooks can still inspect valid addresses, including PROXY protocol addresses. Regression checks exercise ordinary and PROXY HTTP/2 sessions. Co-authored-by: GPT-6 Astra Medium * Isolate nested Uranium test sandboxes An exported sandbox path makes the collision-diagnostic self-test reuse the enclosing pytest session's locked sandbox, preventing the intended collection diagnostic from running. This patch gives the child session an explicit private sandbox and exercises both serial and parallel collection with an inherited, locked parent sandbox. The shared-sandbox safety lock remains unchanged. Co-authored-by: GPT-6 Astra Medium --------- Co-authored-by: bneradt <bneradt@yahooinc.com>
| Commit: | e617117 | |
|---|---|---|
| Author: | Brian Neradt | |
| Committer: | GitHub | |
Backport Uranium tests to 9.2.x (#13892) * Close HTTP/2 sockets before session hooks HTTP/2 peer shutdown can deliver VC_EVENT_EOS while a session-close hook waits for its mutex. The API callback handler rejects that network event and aborts the proxy. Running the converted Uranium lifecycle test repeatedly exposed this pre-existing 9.2 production race. This patch applies the socket close ordering already used by master (#9366), closing network I/O before invoking session-close hooks. It caches both socket endpoints first so close-hook address APIs retain valid addresses and ports after the connection is released. The converted lifecycle tests check hook ordering and endpoint preservation. Co-authored-by: GPT-6 Astra Medium * Backport client certificate context updates The converted cert_update test exposes an existing 9.2 production bug: TSSslClientCertUpdate searches with a certificate-and-key pair although the context map uses the certificate path. The original AuTest reported false success because its lowercase Streams.all assignments registered no assertions, so certificate replacement failures went unnoticed. This patch backports the fix from #13576, updating every matching CA bucket, invalidating cached certificate data, preserving live contexts on replacement failure, and releasing the acquired SSL configuration. The separate Uranium migration verifies certificate subjects before and after replacement and retains the working context after an invalid PEM. This production prerequisite lets that coverage run without hiding the defect behind a skip or an expected failure. Co-authored-by: GPT-6 Astra Medium * Backport Uranium tests to 9.2.x The supported 9.2 branch still depends on AuTest after master moved to pytest-based Uranium. Maintaining separate test frameworks makes new regressions harder to backport and leaves branch-specific coverage dependent on the old runner. This patch migrates the existing scenarios to self-contained replay tests and fixture-driven pytest functions while preserving 9.2 behavior. The shared harness supports Autotools, records.config, and managed configuration reloads, with API documentation and source-distribution assets. The configured wrapper also includes the Bash 3 empty-array fix from #13884. Two separate production prerequisites fix defects exposed by the tests. The socket-close ordering fix from #9366 prevents HTTP/2 network events from reaching a pending session-close hook and aborting the proxy. The client-certificate update fix from #13576 corrects context lookup and replacement; the old AuTest's unregistered output assertions had hidden its failure. These fixes let the converted tests retain their intended coverage rather than skipping or accepting the broken behavior. Co-authored-by: GPT-6 Astra Medium * Fix Uranium in-source build checks In-source configuration overwrote the tracked Uranium launcher, causing CI's formatting clean-tree check to fail. RAT also treated the generated Python dependency lockfile as an unlicensed source file. This patch preserves the source launcher and delegates configured runs to a separate generated wrapper, with regression coverage for argument forwarding. It also includes the launcher in source distributions and excludes the generated lockfile from license scanning. Co-authored-by: GPT-6 Astra Medium * Isolate nested Uranium test sandboxes An exported sandbox path makes the collision-diagnostic self-test reuse the enclosing pytest session's locked sandbox, preventing the intended collection diagnostic from running. This patch gives the child session an explicit private sandbox and exercises both serial and parallel collection with an inherited, locked parent sandbox. The shared-sandbox safety lock remains unchanged. Co-authored-by: GPT-6 Astra Medium * Synchronize HTTP/2 validation requests Malformed HTTP/2 requests can race connection shutdown before the client finishes writing. On 9.2, rejecting negative Content-Length headers can also legitimately close a stream before queued DATA arrives. This patch brings in the client synchronization from #13914 and isolates validation cases so the expected closed-stream diagnostic is allowed only for the negative-length rejection. Valid requests still reject all error diagnostics, and malformed cases retain their rejection checks. Co-authored-by: GPT-6 Astra Medium ---------
| Commit: | a19054e | |
|---|---|---|
| Author: | Brian Neradt | |
| Committer: | GitHub | |
urtest: Convert AuTest tests to pytest (#13545) Replace the AuTest end-to-end suite with Uranium, a pytest framework that runs Proxy Verifier replay manifests (<scenario>.test.yaml) and native pytest tests. tests/gold_tests, tests/autest.sh and the AuTest CMake options are removed in favor of ENABLE_URTEST and tests/urtest.sh, and CMake fails with a migration message if a removed AuTest option is passed. Tests run in parallel under pytest-xdist with per-test sandboxes and ports, and SHARD/SHARDCNT still split CI shards. Follow-ups are tracked in #13877.
| Commit: | 71787ff | |
|---|---|---|
| Author: | Brian Neradt | |
| Committer: | Chris McFarlen | |
NOT_WRITE_AVAIL: schedule event to resend data frames (#11094) When sending a DATA frames, we check that we are not exceeding our write buffer's high water mark. If so, we don't write the frame. Unfortunately, before this patch, no event was scheduled to come back and try to resend any unwritten frames. This led to dropped frames at times. This patch adds a scheduled event to later re-try sending the unsent frames. This patch also updates the grpc.test.py to send 100 messages instead of 1 which, at least on my local system, reproduced this issue. (cherry picked from commit df078fb14745be946b4599fc0d64a397c761763e)
The documentation is generated from this commit.
| Commit: | df078fb | |
|---|---|---|
| Author: | Brian Neradt | |
| Committer: | GitHub | |
NOT_WRITE_AVAIL: schedule event to resend data frames (#11094) When sending a DATA frames, we check that we are not exceeding our write buffer's high water mark. If so, we don't write the frame. Unfortunately, before this patch, no event was scheduled to come back and try to resend any unwritten frames. This led to dropped frames at times. This patch adds a scheduled event to later re-try sending the unsent frames. This patch also updates the grpc.test.py to send 100 messages instead of 1 which, at least on my local system, reproduced this issue.
The documentation is generated from this commit.
| Commit: | c5430e6 | |
|---|---|---|
| Author: | Brian Neradt | |
| Committer: | GitHub | |
Support gRPC traffic (#9987) Now that we support HTTP/2 to origin, we can now support gRPC traffic end to end. This patch includes the following: * A new gRPC autest. * Updates from @keesspoelstra to support tunneling HTTP/2 trailers. * An update to preserve the "te: trailers" header which the server requires in order to transmit gRPC traffic. * A rename of Http2Stream::send_request to send_headers.
| Commit: | ca3cec2 | |
|---|---|---|
| Author: | Randall Meyer | |
| Committer: | Leif Hedstrom | |
Removes unused raft library (cherry picked from commit b124bc8374b2e316e1fa6db454b690cd29f40414)
This commit does not contain any .proto files.
| Commit: | b124bc8 | |
|---|---|---|
| Author: | Randall Meyer | |
| Committer: | Leif Hedstrom | |
Removes unused raft library
This commit does not contain any .proto files.
| Commit: | db4029a | |
|---|---|---|
| Author: | John Plevyak | |
clang-format and move copyrights to NOTICES for RAFT code.
| Commit: | 38e1d74 | |
|---|---|---|
| Author: | John Plevyak | |
| Committer: | John Plevyak | |
TS-3786: Implementation of the RAFT consensus protocol.