Repository navigation
fix(netty): preserve all redirect body types - #2316
Merged
Merged
Conversation
6 tasks done
Contributor
Author
|
We use ahc in https://github.com/playframework/play-ws and I am in the process of upgrading to v3 - and found some thing worth adressing. |
hyperxpro
requested changes
Aug 26, 2026
Redirect30xInterceptor copied only six request-body representations when a redirect retained the body. Composite byte arrays, ByteBufs, InputStreams, and Files therefore became empty requests on 307, 308, and strict 302 redirects. Copy the representation selected for the original request, following NettyRequestFactory's precedence. Resettable streams can then replay, while non-resettable streams fail promptly through the existing replay guard. Cover all four omissions byte-for-byte, pin coexistence precedence, retain the caller-owned ByteBuf, and keep form and multipart replay behavior. OpenAI Codex on behalf of Matthias Kurz. Co-Authored-By: OpenAI Codex <[email protected]>
Build keep-body redirects from the original request so every supported body representation and per-request option follows the redirect without duplicating NettyRequestFactory's selection logic. Clear target-specific routing and credential state when the origin changes, and copy headers before removing redirect-only values. Cover read timeout, range offset, and Cookie object handling. OpenAI Codex on behalf of Matthias Kurz. Co-Authored-By: OpenAI Codex <[email protected]>
Close the test InputStream and assert the precise replay failure instead of accepting any IOException. This pins the intended fail-fast behavior for a consumed non-resettable stream. OpenAI Codex on behalf of Matthias Kurz. Co-Authored-By: OpenAI Codex <[email protected]>
Exercise a real file-backed InputStream across a keep-body redirect. The first send closes the stream, so the replay must fail promptly with the documented IOException instead of sending an empty body. OpenAI Codex on behalf of Matthias Kurz. Co-Authored-By: OpenAI Codex <[email protected]>
Keep an explicit Content-Length when replaying a raw InputStream. Unlike other body representations, the stream has no intrinsic size from which the redirect request can recompute the header. Verify both request legs receive the same length and body bytes. OpenAI Codex on behalf of Matthias Kurz. Co-Authored-By: OpenAI Codex <[email protected]>
Reject keep-body redirects containing InputStreamPart before constructing the second request. Multipart stream parts are closed after the first send and have no replay guard, so attempting to reuse them can hang or send incomplete content. Cover the failure with a real file-backed multipart stream. OpenAI Codex on behalf of Matthias Kurz. Co-Authored-By: OpenAI Codex <[email protected]>
Validate the file body actually selected by the original request before dispatching a keep-body redirect. Report a checked IOException before the redirect path can remove a pooled channel and fail with an unchecked constructor exception. Preserve body-selection precedence when a sticky File coexists with a higher-priority representation. OpenAI Codex on behalf of Matthias Kurz. Co-Authored-By: OpenAI Codex <[email protected]>
mkurz
force-pushed
the
fix/redirect-body-replay
branch
from
August 27, 2026 22:14
8176027 to
6268d4d
Compare
4 tasks done
hyperxpro
requested changes
Aug 31, 2026
The previous cross-origin Cookie-object test used GET with a 302, so the fresh builder dropped cookies without exercising resetCookies. Use a 307 POST and observe both redirect legs so the test fails if toBuilder copies the Cookie object to the new origin. OpenAI Codex on behalf of Matthias Kurz. Co-Authored-By: OpenAI Codex <[email protected]>
An InputStreamBodyGenerator without a declared length builds the same unknown-length Netty body as a raw InputStream. Removing an explicit Content-Length therefore made only the redirected leg use chunked encoding. Detect the selected body representation using request-factory precedence and retain the caller-supplied length for either unknown-length stream form. OpenAI Codex on behalf of Matthias Kurz. Co-Authored-By: OpenAI Codex <[email protected]>
The existing settings regression used a 307 and therefore inherited readTimeout and rangeOffset through Request.toBuilder. Add a 303 case so the fresh-builder path is also required to copy both per-request values. OpenAI Codex on behalf of Matthias Kurz. Co-Authored-By: OpenAI Codex <[email protected]>
hyperxpro
requested changes
Aug 31, 2026
Co-authored-by: Aayush Atharva <[email protected]>
hyperxpro
approved these changes
Aug 31, 2026
Member
|
Thanks a lot! |
5 tasks done
5 tasks done
hyperxpro
pushed a commit
that referenced
this pull request
Nov 22, 2026
## Summary - A retry, a redirect that keeps the body, or a replay by a `ResponseFilter` or `IOExceptionFilter` writes a new multipart body over the same `InputStreamPart` streams, and reads them from wherever the earlier attempt left them. An `InputStream` body already fails cleanly in that case (#1973); multipart had no such check. - With the default configuration, AHC retries a request whose connection the server closed without a response. With an `InputStreamPart`: - **No length, and a stream that returns end of stream once read** (a `ByteArrayInputStream`, or a wrapper that ignores `close()`): the retry sends an empty part, the server answers, and the request succeeds. - **A known length:** the retry declares the full `Content-Length` but sends only the part headers, so it waits for a timeout. - **A `FileInputStream`:** the retry fails with a `ClosedChannelException`. - The redirect check from #2316 rejects every `InputStreamPart`, even after a redirect before `100 Continue`, when nothing was sent yet. ## Change - **`NettyResponseFuture`:** records, by identity, the stream of each part that a write of the request has started on (`markStreamPartConsumed`, `isStreamPartConsumed`). The set is only created for a request with stream parts. - **`NettyRequestSender`:** - Before the HTTP/1.1 and HTTP/2 writes of a multipart body, it records the streams of the request's `InputStreamPart`s. - `sendNextRequest`, which retries, redirects, authentication retries and replays go through, fails the request with `IOException: Multipart InputStream body part 'file' already consumed and cannot be sent again` if one of its `InputStreamPart`s has a recorded stream. It does so before connecting, so nothing of that request is sent. - It only checks the parts that the request sends. A `CONNECT` sends none, and neither does a request with a body of higher precedence, which `setBodyParts` leaves in place, such as a string body that a filter set for its replay. - A connection kept for the request, as after a `401` or `407` on a keep-alive connection, is closed, so it does not keep its slot under `maxConnections`. - The streams of parts that a filter supplies for a replay were not recorded, so they are sent as they are. - **`Redirect30xInterceptor`:** rejects an `InputStreamPart` only if a write has started on its stream. A redirect before `100 Continue` keeps the part again. - A consumed stream is not reset, even if it supports mark/reset: the earlier write may still be reading it, the part closes its stream once written, and the stream's mark need not be where the earlier write started. - The flag that tracks an `InputStream` body (`isStreamConsumed`) is unchanged, and multipart does not use it. - **Tests:** - **`MultipartStreamPartReplayTest`:** - the server reads the whole request and closes without a response: the retry fails, also for a stream that supports mark/reset and for one whose mark is before its start, and the server receives no second request; - a `401` on a keep-alive connection: the authentication retry fails, and with `maxConnections` at 1 the next request is sent; - a `ResponseFilter` replaces the parts for its replay: a fresh stream part is sent, from its current position even if it supports mark/reset; a reused stream part next to a fresh one fails the replay, and the server receives no second request; - a `ResponseFilter` sets a string body for its replay and keeps the consumed parts: the string body is sent; it changes the method to `CONNECT` and keeps the parts: the `CONNECT` is sent. - **`Http2MultipartStreamPartReplayTest`:** a `ResponseFilter` replay over HTTP/2 fails for a consumed stream part, and the server receives no second HEADERS frame; a fresh stream part from the filter is sent. - **`RedirectBodyTest`:** - a stream part kept by a 307 before `100 Continue`, without being read before the redirect; - a 307 that arrives while the stream part is being uploaded fails the redirect: the server stops reading after the first KiB of a 32 MiB part, and the client's send buffer and the server's receive buffer are set to 64 KiB, so the upload cannot complete before the 307 arrives; the test checks that the part's stream was not fully read; - the existing test for a stream part whose body was sent before the 307 also runs with a `BufferedInputStream` over the file. - **`NettyRequestSenderConsumedBodyRetryTest`:** a `ResponseFilter` replay with a consumed stream part fails promptly. ## Notes - As for an `InputStream` body, a stream counts as consumed once the body write starts, not once the stream is read. A retry after a write that failed before it reached the stream part therefore fails too. - Unlike an `InputStream` body (#1973), a consumed stream part is not reset even if it supports mark/reset. A `ResponseFilter` or `IOExceptionFilter` can replay such a request with new parts. - `NettyResponseFuture.markStreamPartConsumed` and `isStreamPartConsumed` are new public methods. ## AI disclosure Claude Code on behalf of Matthias Kurz. The commits include `Co-Authored-By` per `AGENTS.md`. ## Test plan - [x] `./mvnw -B -ntp -Dgpg.skip=true clean verify` on JDK 11, on this branch and on this branch merged with `main` at 3d0a347: 2,222 and 2,228 tests, 0 failures, 0 errors, 22 skipped; Revapi passed. Docker was not running, so the 22 skipped include the Testcontainers proxy tests. No test-skipping flags were used. - [x] The classes above, together with `NettyInputStreamBodyTest` and `RedirectRefusalTest`: 113 tests, 0 failures, on JDK 11, 17, 21 and 25. - [x] Without the change in `client/src/main`, the retry tests, the authentication retry test, the tests that reuse a stream part over HTTP/1.1 and HTTP/2, the replay test in `NettyRequestSenderConsumedBodyRetryTest` and the redirect test before `100 Continue` fail: the retries and replays succeed or time out, and the redirect fails with `cannot be replayed after redirect`. The tests with only fresh stream parts, a string body or a `CONNECT` pass on `main` as well, and so do the redirect tests that expect a refusal, as `main` refuses every stream part on redirect. - [x] On 4488f13, the previous commit of this PR, the 307 during the upload fails with a `ClosedChannelException` instead of the refusal, the `BufferedInputStream` redirect fails after connecting to the target with `already consumed and cannot be reset for a retry`, and the retries, authentication retries and replays of a consumed stream that supports mark/reset succeed, including the one whose mark is before its start. - [x] The stream part redirect tests, `MultipartStreamPartReplayTest` and `Http2MultipartStreamPartReplayTest`: 10 runs, 0 failures. --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
5 tasks done
hyperxpro
pushed a commit
that referenced
this pull request
Nov 25, 2026
## Summary - A `FilePart` takes its file's length when the request is built, in `FileMultipartPart`, and the multipart `Content-Length` includes it. If the file changes before or while it is sent, the part did not keep to that length. - **A file that grew** was sent beyond that length. The extra bytes went out after the end of the declared body, where a server reads them as the start of the next request on the connection. - **A file that got shorter** ended the part early on the copying path. On the zero-copy path the transfer stalled, because `FileChannel.transferTo` returns 0, not -1, at the end of the file. Either way, the server waited for the rest until a timeout. - **Over HTTP/2,** `NettyFileBody` reads a `File` body in chunks (`FileChunkSource`). It already stopped at the length, but ended the body early when the file got shorter, so only a server that checks the `content-length` noticed. - **What I checked over HTTP/1.1:** whether `setBody(File)` keeps to its length in the same cases. It does: - **Zero-copy, Netty's `DefaultFileRegion`:** it sends exactly the length, and fails on a shorter file. - **Without zero-copy, Netty's `ChunkedNioFile`:** with the Netty version on `main`, it does the same. ## Change - **Both paths of `FileMultipartPart` now read at most the length taken when the request was built.** Bytes the file gained are not sent. - **If the file ends before that length, they fail** with `EOFException: Multipart file part 'file' ended after 5000 of its 20000 bytes`. - **Copying path:** that is the read that returns -1. - **Zero-copy path:** a transfer of 0 bytes means the end of the file only when a read of one byte at that position returns -1. A target that takes nothing returns 0 too, and then the part waits as before. The file's size cannot tell the two apart: a file can report a size it does not have, as a sysfs file does. - **`FileChunkSource` (HTTP/2) now fails the same way:** `EOFException: File body ended after 1000 of its 65536 bytes`. - **A stream body or stream part that ends before its declared length** (#2401) now fails with an `EOFException` too, with the same messages. - **`WriteListener` never retries these errors.** They are all `EOFException`s, the type Netty's `ChunkedNioFile` uses for the same case. - **Why it matters:** on a pooled connection, `WriteListener` leaves a failed write to the retry when any of its causes has "Connection reset" in its message, taking it for a connection that died. - **A file part's name is in its error,** so a file part named "Connection reset" was retried. The retry took the shorter file's length and succeeded. - **The same went for a stream part.** Its retry was then refused because the part's stream had been read, so the request failed with "Multipart InputStream body part 'Connection reset' already consumed and cannot be sent again" instead of its own error. - **The rule:** a write that failed with an `EOFException` in its causes is aborted instead. A genuine connection error is still retried. - **Netty's `DefaultFileRegion`,** which sends a file body with zero-copy, reports a shorter file with a plain `IOException`. Its message has no caller text, so it is not retried either. ## Tests | Test | What it checks | |---|---| | `MultipartBodyTest` | **Copying and zero-copy path each, no network:**<ul><li>a file that grows before any of it went out, or in the middle of it, sends exactly the body of the unchanged file;</li><li>a file truncated at the same points fails with that message, as does one truncated below what was already sent;</li><li>an empty file that grows still sends no content;</li><li>an unchanged file survives a target that takes nothing in the middle of the file;</li><li>a sysfs file that holds less than its size (`/sys/devices/system/cpu/online`) fails with that message instead of making no progress. Skipped where the file is missing or holds its size.</li></ul> | | `FilePartChangeTest` (new) | **A real client over HTTP/1.1, with zero-copy on and off.** The file changes in `onRequestSend`, after the length is taken and before the body is written.<ul><li>**Grows:** the server reads exactly the declared body, which ends with the closing boundary, and the next request on the same connection is read as `GET /next HTTP/1.1`.</li><li>**Shrinks:** the request fails within 10 seconds, with a 60-second request timeout, and with that `EOFException` in its causes. Over zero-copy, Netty reports a failed `FileRegion` write as "Channel output shutdown", caused by it. The request is sent once.</li><li>**On a pooled connection, with a part named "Connection reset":** the request fails, and is sent once.</li><li>**The change itself:** the growth test checks the file's new size, since an exception in `onRequestSend` is only logged.</li></ul> | | `StreamBodyDeclaredLengthTest` | **A stream part named "Connection reset" that ends early on a pooled connection,** with zero-copy on and off, with retries enabled: the request fails with its `EOFException`, and `onRetry` is never called. The other short-stream tests check for an `EOFException`. | | `Http2StreamingBodyFlowControlTest` | **A real client over HTTP/2.**<ul><li>**Growth:** a `File` body and a `FilePart` that grow send exactly the announced length.</li><li>**Shrinkage:** with a client whose `IOExceptionFilter` replays a request, the request fails with the file's `EOFException`, and the client does not end the stream with `END_STREAM` as if the body were complete. A frame logger on the test server counts that, ahead of the server's own content-length check, which resets such a stream.</li><li>**Attempts:** every request is sent once.</li><li>**The change itself:** each test checks that the file changed. The `FilePart` growth test also checks the announced length.</li><li>**The `File` growth test** guards what `NettyFileBody` already did: it passes without this PR.</li></ul> | **Without the `WriteListener` rule:** both pooled tests are retried, and the request succeeds. **Before this PR** (checked on `main` `8b81226fa`, before #2401): - **`MultipartBodyTest`:** the growth and shrinkage tests fail. - **`FilePartChangeTest`:** - **Growth:** the body does not end with the closing boundary. - **Shrinkage:** the request waits beyond the 10 seconds. - **HTTP/2:** the two shrinkage tests fail on the `END_STREAM`, and the growing `FilePart` is reset by the server. - **With only the `FileMultipartPart` change:** the HTTP/2 `File` shrinkage test still fails. **Each later change, reverted alone:** - **A plain `IOException` for a stream part:** the pooled stream-part tests fail: the request is retried, and fails with "already consumed and cannot be sent again". - **The end of a file part by its size:** the sysfs test makes no progress on the zero-copy path. ## Relation to #2401 and #2402 They change how a failing body fails the request: `Http2BodyWriter` in #2401, and `BodyChunkedInput` in #2402. - **#2401 is merged,** and main is merged into this branch. - **The HTTP/2 error:** the request now fails with the file's own error, `File body ended after 1000 of its 65536 bytes` or `Multipart file part 'file' ended after 1000 of its 65536 bytes`. - **No replay:** a filter that replays a request after an `IOException` doesn't get to send the shorter file again. The HTTP/2 tests check that with such a filter. - **#2402:** two things then stop the retry on the copying path, because #2402's `BodyChunkedInput` also fails the request with the body's error before the `WriteListener` rule applies. The zero-copy path, `BodyFileRegion`, relies on the rule. ## Not covered - **A file rewritten in place at the same length.** The length still holds, but the content is not what it was when the request was built. Telling that apart would need a snapshot of the file. - **The exception types for a file that is missing or unreadable when the request is built** (#2316). - **HTTPS over HTTP/1.1 is not tested separately.** It uses the same copying path as the tests without zero-copy. - **`setBody(File)` over HTTP/1.1 uses Netty's `DefaultFileRegion` or `ChunkedNioFile`,** which this PR doesn't change. With a sysfs file that holds less than its size, `ChunkedNioFile` fails at once with an `EOFException`, while `DefaultFileRegion` (zero-copy) waits until the request timeout. - **A `Content-Length` header set by the caller that contradicts a body's length.** #2401 checks it for stream bodies, and other bodies are a separate change. ## AI disclosure Claude Code on behalf of Matthias Kurz. The commits include `Co-Authored-By` per `AGENTS.md`. ## Test plan - [x] `./mvnw -B -ntp -Dgpg.skip=true -Dmaven.test.failure.ignore=true clean verify` on JDK 11: 2,332 tests, 1 failure, 22 skipped; Revapi passed. The flag lets the build go on to Revapi past the failure below, so this is not a green build. Docker was not running, so the 22 skipped include the Testcontainers proxy tests. - **The failure is `AddressResolverGroupTest.unknownHostWithDnsResolverGroupFails`.** It comes from this machine's resolver configuration: `search .` in `/etc/resolv.conf` makes Netty's DNS resolver build a name with an empty label. It fails the same way on `main`. - [x] **Each commit on its own:** the tests of the classes it changes pass. - [x] **Before this PR, and each change reverted alone:** as described above. - [x] **Focused tests:** `StreamBodyDeclaredLengthTest`, `MultipartBodyTest`, `FilePartChangeTest`, `Http2StreamingBodyFlowControlTest`, `RetryRequestTest`, `NettyRequestSenderConsumedBodyRetryTest`, `ConnectionPoolTest`, `MultipartUploadTest`, `FilePartLargeFileTest`, `PutFileTest`, `ZeroCopyFileTest`, `RedirectBodyTest`, `MultipartBasicAuthTest`, `MultipartStreamPartReplayTest`, `Http2MultipartStreamPartReplayTest`, `InputStreamPartLargeFileTest`, `BodyChunkTest`, `ChunkingTest`, `BasicHttpTest` and `Expect100ContinueTest`: 219 tests, 0 failures. - **Where:** on JDK 11, 17, 21 and 25, and on JDK 11 with NIO and epoll selected explicitly. - **With io_uring,** the four short-stream tests of `StreamBodyDeclaredLengthTest` from #2401 fail, as they do on `main`. The new pooled stream-part test passes there. - [x] **The sysfs file end to end:** a `FilePart` fails at once with `Multipart file part 'file' ended after 4 of its 16384 bytes`, with and without zero-copy. --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Summary
Content-Lengthwhen replaying a rawInputStreamor an unknown-lengthInputStreamBodyGenerator.ByteBufreferences, and the new failure modes with focused tests.Problem
Redirect30xInterceptorrebuilds a request when it follows a strict 302, 307, or 308 redirect. Its keep-body copy chain handled form parameters, strings, byte arrays,ByteBuffer, body generators, and multipart bodies, but omitted four real request send paths:List<byte[]>/ composite byte arraysByteBufInputStreamFileThe redirected request therefore kept its method and Content-Type but sent zero bytes. The
Filecase is especially risky for uploads because the target can accept an apparently valid empty PUT or POST. Reconstructing the request field by field also omitted unrelated per-request state such as the read timeout and range offset, and maintaining a second body-selection chain alongsideNettyRequestFactorymade future drift likely.This is a pre-existing omission. AHC issue #1643 previously fixed the same class of bug for multipart bodies. The copy chain was carried through pull request #1843 without a policy discussion. Focused searches found no existing issue or pull request covering these four representations.
Change
Build a keep-body redirect with
request.toBuilder()and then replace only redirect-specific state. This preserves all current and future body representations and per-request options without duplicatingNettyRequestFactory.body. Headers are copied before redirect-only values are removed, so the original request is not mutated.On a cross-origin redirect, the copied request drops the previous resolved address, virtual host, realm, authorization headers, and Cookie objects before the cookie store adds cookies that legitimately match the new URI. The body is not covered by that boundary. It follows the existing keep-body policy, which means a
FileorInputStreambody that a cross-origin redirect leg previously received as empty is now sent in full, and a target that keeps redirecting can receive it once per hop up tomaxRedirects. That is the same exposure byte arrays, strings, form parameters, and multipart bodies already have today.Composite byte arrays, caller-owned
ByteBufs, and files are repeatable. A resettableInputStream, such asByteArrayInputStream, also replays. A caller-suppliedContent-Lengthis retained for a rawInputStreamor anInputStreamBodyGeneratorwithout a declared length, because neither has an intrinsic size from which to recompute it. A consumed stream that cannot be reset reaches the existing fail-fast guard added in #2312 and completes the future withIOException; that is preferable to silently succeeding with an empty body.An
InputStreamPartis closed by the first multipart send and has no equivalent replay guard, so a keep-body redirect now fails promptly instead of risking a hang or incomplete multipart request. A selectedFileorFileBodyGeneratoris also checked before dispatching the redirect; if it disappeared after the first send, the future fails withIOExceptionbefore a target pooled channel can be removed and an unchecked constructor exception can escape. The validation followsNettyRequestFactoryprecedence so a stickyFilefield is ignored when a higher-priority body representation was actually sent.The change does not alter which methods or status codes keep a body, nor does it introduce a new cross-origin policy. It makes the existing strict-302, 307, and 308 behavior complete for every supported request-body representation.
Compatibility
There is no public API change. Requests that previously sent an empty body on a keep-body redirect now resend their configured body.
Behavior changes:
InputStreamon a keep-body redirect previously completed successfully after sending an empty redirected request. It now completes the request future exceptionally withIOException. This includesFileInputStream, which is closed after the first send and cannot be reset for replay.InputStreamPartnow fails promptly withIOExceptionwhen a keep-body redirect requires replay. Reusing its already-consumed and closed stream could previously hang or send incomplete multipart content.IOExceptionbefore redirect dispatch rather than allowing an uncheckedIllegalArgumentExceptionto escape while constructing the next request.FileorInputStreambody is now sent on a keep-body redirect to a different origin, where the redirected request previously carried no body. Credentials are still stripped at that boundary, but the payload is not.Callers that accidentally relied on an empty or incomplete redirected request will observe an exception, but the failure is explicit instead of silently losing configured content. There is no public API change.
AI disclosure
OpenAI Codex on behalf of Matthias Kurz. The commit includes
Co-Authored-By: OpenAI Codex <[email protected]>perAGENTS.md.Test plan
upstream/main, the focused suite reproduced five failures: four body types arrived as zero bytes and a non-resettable stream incorrectly completed successfully.InputStreamBodyGeneratorsentContent-Length: 13on the first leg and noContent-Lengthon the redirected leg../mvnw -pl client -Dtest=RedirectBodyTest,RedirectCredentialSecurityTest teston JDK 11: 40 tests passed, including Netty leak detection../mvnw clean verifyon JDK 11: 1,496 tests passed and Revapi completed without failures (BUILD SUCCESS).Generated with OpenAI Codex.