GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — New decompressor API by yawkat · Pull Request #15667 · netty/netty

Conversation

@yawkat

@yawkat yawkat commented Sep 16, 2025

Copy link
Copy Markdown
Contributor

Motivation:

The current decompression decoders have a few issues:

  • They're bound to ChannelHandler, so for HTTP, they need to use an EmbeddedChannel with all the associated overhead.
  • They do not support backpressure, so the zip bomb fix could be better.
  • Each one has about 5 constructor overloads

Modification:

  • Introduce a new Decompressor API not based on ChannelHandler. It is similar in design to the brotli API, with separate operations for adding input and removing output.
  • Implement decompressors for all supported formats. The code is copied from the decoders, which remain untouched. No effort is made to reduce code duplication. This is why the PR is enormous.
  • Use builders as a unified way of constructing all the new decompressors, instead of constructor overloads.
  • Implement a BackpressureDecompressionHandler that uses the new Decompressor API.

Result:

Lower overhead, better backpressure handling.

Work yet to be done:

  • Deprecate old decoders, suggesting replacement with BackpressureDecompressionHandler
  • Create a replacement for HttpContentDecoder based on the new decompressors

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
chrisvest
chrisvest reviewed Sep 25, 2025
View reviewed changes
Comment thread codec-compression/src/main/java/io/netty/handler/codec/compression/Decompressor.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread codec-compression/src/main/java/io/netty/handler/codec/compression/DefensiveDecompressor.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2DecoderTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread codec-compression/src/main/java/io/netty/handler/codec/compression/Decompressor.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

chrisvest
chrisvest approved these changes Oct 1, 2025
View reviewed changes
normanmaurer
normanmaurer requested changes Oct 2, 2025
View reviewed changes
Comment thread ...ssion/src/main/java/io/netty/handler/codec/compression/BackpressureDecompressionHandler.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...ssion/src/main/java/io/netty/handler/codec/compression/BackpressureDecompressionHandler.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...ssion/src/main/java/io/netty/handler/codec/compression/BackpressureDecompressionHandler.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...ssion/src/main/java/io/netty/handler/codec/compression/BackpressureDecompressionHandler.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...ssion/src/main/java/io/netty/handler/codec/compression/BackpressureDecompressionHandler.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...ssion/src/main/java/io/netty/handler/codec/compression/BackpressureDecompressionHandler.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread codec-compression/src/main/java/io/netty/handler/codec/compression/BrotliDecompressor.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2Decompressor.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread codec-compression/src/main/java/io/netty/handler/codec/compression/DefensiveDecompressor.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@yawkat

yawkat commented Oct 2, 2025

Copy link
Copy Markdown
Contributor Author

@normanmaurer I've added new logic that allows a number of buffers to be forwarded before a readComplete, and a test. I hope that works for you. The logic is getting complicated though. PTAL.

I've also changed the handler API to create the decompressor lazily, in handlerAdded. This looks a bit odd (you pass the decompressor builder, not the decompressor, to the handler) but I think it works as an API and it's safer.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yawkat

yawkat commented Oct 7, 2025

Copy link
Copy Markdown
Contributor Author

I've added a HttpContentDecoder and -decompressor replacement, based on the BackpressureDecompressionHandler. I've also deprecated all the old decoders.

I still need to migrate DelegatingDecompressorFrameListener. It is a bit more difficult because it uses a different flow control mechanism. Probably it needs an independent Decompressor-based implementation, not based on BackpressureDecompressionHandler.

Finally, I changed the decompressor API a little bit so that the alloc is required by the .build call, not when creating the builder. This complements the change in 9279fc0. Now, the BackpressureDecompressionHandler will use the alloc from the context, and you don't need to manually pass in the alloc at all before that.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

github-advanced-security[bot]
github-advanced-security AI found potential problems Oct 7, 2025
View reviewed changes
Comment thread codec-http/src/main/java/io/netty/handler/codec/http/BackpressureHttpContentDecoder.java Fixed

Uh oh!

There was an error while loading. Please reload this page.

yawkat
yawkat commented Oct 7, 2025
View reviewed changes
Comment thread codec-http/src/main/java/io/netty/handler/codec/http/BackpressureHttpContentDecoder.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

github-advanced-security[bot]
github-advanced-security AI found potential problems Oct 9, 2025
View reviewed changes
Comment thread codec-http/src/main/java/io/netty/handler/codec/http/HttpDecompressionHandler.java Dismissed

Uh oh!

There was an error while loading. Please reload this page.

@yawkat

yawkat commented Oct 10, 2025

Copy link
Copy Markdown
Contributor Author

Okay, I rebuilt the decompression codecs again. HTTP/1.1 pipelining has a lot of edge cases to handle. I decided to build a central AbstractBackpressureDecompressionHandler which is designed for HTTP/1.1 pipelining, and then also extend it for BackpressureDecompressionHandler, since BackpressureDecompressionHandler is basically just the base case without pipelining. Easier than maintaining two separate backpressure implementations.

I've also built a Http2FrameListener based on the new decompressors. It appears to be a lot simpler than the ChannelHandler approach, unless I missed some edge cases.

I'm going on vacation for a few days so I might be slow to answer now.

normanmaurer reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yawkat
yawkat requested review from chrisvest and normanmaurer October 10, 2025 19:53
@yawkat yawkat mentioned this pull request Oct 16, 2025
Websocket compression/decompression using EmbeddedChannels is highly inefficient if noContext is set #15750
Open
@m-burst

m-burst commented Dec 9, 2025

Copy link
Copy Markdown

Hey folks, do you think this will get merged anytime soon?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

yawkat
yawkat commented Dec 9, 2025
View reviewed changes
Comment thread codec-compression/src/main/java/io/netty/handler/codec/compression/Lz4FrameDecompressor.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

yawkat
yawkat commented Dec 9, 2025
View reviewed changes
Comment thread codec-compression/src/main/java/io/netty/handler/codec/compression/Lz4FrameDecompressor.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest

chrisvest commented Dec 10, 2025

Copy link
Copy Markdown
Member

There's also merge conflicts that need to be fixed. Please ping me when I should take a look again.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yawkat

yawkat commented Dec 15, 2025

Copy link
Copy Markdown
Contributor Author

@chrisvest updated

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yawkat yawkat mentioned this pull request Dec 19, 2025
DecodeBuffer API #16076
Draft
@yawkat yawkat mentioned this pull request Mar 19, 2026
JdkZlibDecoder: accumulate decompressed output before firing channelRead #16510
Merged
@yawkat
yawkat requested a review from Copilot April 22, 2026 08:47
Copilot started reviewing on behalf of yawkat April 22, 2026 08:48
View session
Copilot AI reviewed Apr 22, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new backpressure-aware decompression API (Decompressor) and integrates it into new handlers for HTTP/1.1 and HTTP/2, aiming to reduce overhead (no EmbeddedChannel indirection) and improve zip-bomb/backpressure behavior.

Changes:

  • Added Decompressor API plus a shared backpressure-aware handler base (AbstractBackpressureDecompressionHandler) and concrete handler (BackpressureDecompressionHandler).
  • Implemented new Decompressor implementations for multiple codecs (zlib/jzlib/jdkzlib, brotli, zstd, snappy, lzf, lz4, fastlz, bzip2) and deprecated the older decoder counterparts.
  • Added HTTP/1.1 HttpDecompressionHandler, HTTP/2 DecompressingFrameListener, and expanded tests/fixtures to cover the new behavior.

Reviewed changes

Copilot reviewed 68 out of 69 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
testsuite-common/src/main/java/io/netty/util/test/LeakPresenceExtension.java Adjusts leak-scope lifecycle to prevent JUnit auto-closing scopes.
pom.xml Updates JUnit version property.
codec-http2/src/main/java/io/netty/handler/codec/http2/DecompressingFrameListener.java Adds a new HTTP/2 frame listener that decompresses DATA frames using Decompressor with backpressure.
codec-http2/src/test/java/io/netty/handler/codec/http2/DecompressingFrameListenerTest.java Adds unit tests for HTTP/2 decompression/backpressure listener behavior.
codec-http2/src/test/java/io/netty/handler/codec/http2/DataCompressionHttp2Test.java Refactors test hook to allow swapping decompression frame listener implementations.
codec-http2/src/test/java/io/netty/handler/codec/http2/DataCompressionBackpressureHttp2Test.java Adds variant test using the new DecompressingFrameListener.
codec-http/src/main/java/io/netty/handler/codec/http/HttpDecompressionHandler.java Introduces HTTP/1.1 decompression handler built on backpressure-aware decompression base.
codec-http/src/test/java/io/netty/handler/codec/http/HttpDecompressionHandlerTest.java Adds HTTP/1.1 decompression/backpressure tests for the new handler.
codec-http/src/test/java/io/netty/handler/codec/http/HttpContentDecompressorTest.java Refactors tests to allow injecting a decompressor implementation (old/new).
codec-http/src/test/java/io/netty/handler/codec/http/HttpContentDecoderTest.java Refactors tests to allow injecting a decompressor implementation (old/new).
codec-http/src/main/java/io/netty/handler/codec/http/HttpContentDecompressor.java Marks old decompressor deprecated in favor of HttpDecompressionHandler.
codec-http/src/main/resources/META-INF/native-image/io.netty/netty-codec-http/generated/handlers/reflect-config.json Adds native-image reflect config for HttpDecompressionHandler.
codec-compression/src/main/java/io/netty/handler/codec/compression/Decompressor.java Adds core decompressor contract and builder type.
codec-compression/src/main/java/io/netty/handler/codec/compression/DefensiveDecompressor.java Adds contract-enforcing wrapper for decompressor implementations.
codec-compression/src/main/java/io/netty/handler/codec/compression/InputBufferingDecompressor.java Adds common input-cumulation base for incremental decompressors.
codec-compression/src/main/java/io/netty/handler/codec/compression/BackpressureGauge.java Adds shared accounting/configuration for backpressure limits.
codec-compression/src/main/java/io/netty/handler/codec/compression/AbstractBackpressureDecompressionHandler.java Adds shared backpressure-aware handler logic for decompressing pipelines.
codec-compression/src/main/java/io/netty/handler/codec/compression/BackpressureDecompressionHandler.java Adds concrete channel handler wrapping a Decompressor into a pipeline element.
codec-compression/src/main/java/io/netty/handler/codec/compression/ZlibCodecFactory.java Adds ZlibDecompressorBuilder to produce new decompressor instances.
codec-compression/src/main/java/io/netty/handler/codec/compression/ZlibDecompressor.java Adds zlib decompressor base/builder config shared by implementations.
codec-compression/src/main/java/io/netty/handler/codec/compression/JdkZlibDecompressor.java Adds new JDK inflater-based Decompressor.
codec-compression/src/main/java/io/netty/handler/codec/compression/JZlibDecompressor.java Adds new JZlib-based Decompressor.
codec-compression/src/main/java/io/netty/handler/codec/compression/BrotliDecompressor.java Adds new brotli Decompressor.
codec-compression/src/main/java/io/netty/handler/codec/compression/ZstdDecompressor.java Adds new zstd Decompressor.
codec-compression/src/main/java/io/netty/handler/codec/compression/SnappyFrameDecompressor.java Adds new snappy framing Decompressor.
codec-compression/src/main/java/io/netty/handler/codec/compression/LzfDecompressor.java Adds new lzf Decompressor.
codec-compression/src/main/java/io/netty/handler/codec/compression/Lz4FrameDecompressor.java Adds new lz4 frame Decompressor.
codec-compression/src/main/java/io/netty/handler/codec/compression/FastLzFrameDecompressor.java Adds new fastlz frame Decompressor.
codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2Decompressor.java Adds new bzip2 Decompressor.
codec-compression/src/main/java/io/netty/handler/codec/compression/BrotliEncoder.java Adjusts brotli encoder finishing/closure future handling.
codec-compression/src/main/java/io/netty/handler/codec/compression/BrotliDecoder.java Deprecates old decoder in favor of new decompressor + handler.
codec-compression/src/main/java/io/netty/handler/codec/compression/ZstdDecoder.java Deprecates old decoder in favor of new decompressor + handler.
codec-compression/src/main/java/io/netty/handler/codec/compression/SnappyFrameDecoder.java Deprecates old decoder in favor of new decompressor + handler.
codec-compression/src/main/java/io/netty/handler/codec/compression/LzfDecoder.java Deprecates old decoder in favor of new decompressor + handler.
codec-compression/src/main/java/io/netty/handler/codec/compression/Lz4FrameDecoder.java Deprecates old decoder in favor of new decompressor + handler.
codec-compression/src/main/java/io/netty/handler/codec/compression/FastLzFrameDecoder.java Deprecates old decoder in favor of new decompressor + handler.
codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2Decoder.java Deprecates old decoder in favor of new decompressor + handler.
codec-compression/src/main/java/io/netty/handler/codec/compression/JdkZlibDecoder.java Deprecates old decoder in favor of new decompressor + handler.
codec-compression/src/main/java/io/netty/handler/codec/compression/JZlibDecoder.java Deprecates old decoder in favor of new decompressor + handler.
codec-compression/src/test/java/io/netty/handler/codec/compression/AbstractDecompressorTest.java Adds shared decompressor test base for builder-based decompressor implementations.
codec-compression/src/test/java/io/netty/handler/codec/compression/BackpressureDecompressionHandlerTest.java Adds tests for the new backpressure-aware decompression handler.
codec-compression/src/test/java/io/netty/handler/codec/compression/*DecompressorTest.java Adds decompressor tests for newly introduced decompressor implementations.
codec-compression/src/test/java/io/netty/handler/codec/compression/DecompressorHandlerTest.java Adds tests/integration tests for BackpressureDecompressionHandler wired with each decompressor.
codec-compression/src/test/java/io/netty/handler/codec/compression/*DecoderTest.java Refactors decoder tests to support handler-based decompression variants where applicable.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread testsuite-common/src/main/java/io/netty/util/test/LeakPresenceExtension.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...ssion/src/main/java/io/netty/handler/codec/compression/BackpressureDecompressionHandler.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread codec-compression/src/main/java/io/netty/handler/codec/compression/DefensiveDecompressor.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread codec-compression/src/main/java/io/netty/handler/codec/compression/Decompressor.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread codec-compression/src/main/java/io/netty/handler/codec/compression/BackpressureGauge.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@yawkat

yawkat commented Apr 22, 2026

Copy link
Copy Markdown
Contributor Author

I found one likely regression in the new HTTP/2 decompression path:

In codec-http2/src/main/java/io/netty/handler/codec/http2/DecompressingFrameListener.java, consumeBytes(...) ultimately has to return the compressed bytes charged against HTTP/2 flow control, which includes frame padding as well as data.readableBytes(). The old DelegatingDecompressorFrameListener implementation included padding in its compressed/decompressed accounting, but here StreamHolder only tracks buffer.readableBytes() and always forwards decompressed output with padding = 0.

For padded DATA frames, those padding bytes never seem to get returned to the upstream flow controller. Under enough padded traffic, that would permanently shrink the local receive window and can stall the stream/connection.

I think this needs to preserve padding in the accounting path, and it would be good to add a test that exercises non-zero padding, since the new DecompressingFrameListenerTest currently only covers padding = 0.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yawkat yawkat mentioned this pull request Apr 22, 2026
Update JUnit to 5.14.0 and fix leak scope handling #16680
Merged
@yawkat
yawkat marked this pull request as draft April 23, 2026 07:20
@yawkat
Merge branch '4.2' into decompressor-api
86a0e4d
@yawkat yawkat mentioned this pull request May 4, 2026
Track decompressor API and backpressure decompression migration #16743
Open
3 of 7 tasks
@yawkat @multicode-agent
Codec-compression: Add decompressor API
92ba539
Introduce the core Decompressor contract, defensive state validation, and input-buffering helper. Add a FastLZ implementation as the first decompressor to exercise the new API without introducing the backpressure handler yet.

The new API is marked unstable and links to the decompression migration tracking issue until the follow-up PRs land.

Co-Authored-By: multicode <[email protected]>
@yawkat yawkat mentioned this pull request May 4, 2026
Codec-compression: Add decompressor API #16745
Merged
@yawkat @multicode-agent
Codec-compression: Address decompressor API review feedback
0f3a6b8
Document that decompressor callers need to observe the status before invoking status-specific operations.

Tighten InputBufferingDecompressor resource handling when status checks fail after output is produced, clear cumulation on close, and add tests for these cases.

Co-Authored-By: multicode <[email protected]>
normanmaurer and others added 29 commits September 19, 2026 16:57
@normanmaurer
Reset busy counters after triggering an auto-scale-up decision (#17538)
8af38d1
Motivation:

AutoScalingEventExecutorChooserFactory suspends idle executors and
resets their busy/idle cycle counters once a scale-down decision is
made, so they need a fresh patience period before triggering another
scaling decision. The scale-up path had no equivalent reset: once an
executor's busy-cycle counter crossed scalingPatienceCycles, it kept
incrementing on every following cycle it remained busy, so the same
executor could keep triggering further scale-ups on its own without
any additional executor becoming busy. This causes the group to
overshoot the number of active executors that the actual load
justifies, and is the cause of intermittent CI failures in
AutoScalingEventExecutorChooserFactoryTest.testScaleUp (e.g. expected
2 active executors but found 3).

Modifications:

- Track the executors that are consistently busy in a list, mirroring
  the existing consistentlyIdleChildren list, instead of only counting
  them.
- After using that list to decide on a scale-up, reset the busy and
  idle cycle counters of the contributing executors so each one needs
  another full patience period of sustained load before it can justify
  a further scale-up.

Result:

A single sustained busy executor scales the group up exactly once per
patience period instead of repeatedly ramping up on its own.
@normanmaurer
Http2ConnectionRoundtripTest: Reduce timing sensitivity to fix CI fla…
dd1e53e
…kiness (#17540)

Motivation:

We saw sporadic CI failures in Http2ConnectionRoundtripTest where a
CountDownLatch.await(...) timed out even though the connection was
behaving correctly. Each test method spins up two
MultiThreadIoEventLoopGroups with the default thread count
(2 * available processors), even though the test only exercises
LocalChannel and never needs more than one thread per group. Combined
with this module running JUnit5 tests concurrently, this can create
significant thread oversubscription and starve the event loop long
enough to blow the 15 second timeout under load. This was reproduced
locally by running many instances of the test concurrently while the
machine was under heavy CPU load, which reliably reproduced the same
kind of timeout failure seen on CI.

Modifications:

- Pin the client and server MultiThreadIoEventLoopGroups in
  bootstrapEnv(...) to a single thread each instead of the default,
  since LocalChannel does not benefit from extra threads.
- Increase DEFAULT_AWAIT_TIMEOUT_SECONDS from 15 to 30 seconds to give
  more headroom under CI load.

Result:

Less flaky Http2ConnectionRoundtripTest.
@ohchanKyu
ProtobufVarint32FrameDecoder must wait for more data when the length …
335aed7
…prefix is incomplete (#17550)

Motivation:

Since #14050 two incomplete length prefix cases are no longer treated as
"need more data" by `ProtobufVarint32FrameDecoder`:

- If only 3 bytes are readable and all of them have the continuation bit
set, `readRawVarint24` returned the partial value and left the
readerIndex advanced. `decode()` then used the low 21 bits of the real
length. When these bits are 0, i.e. the message length is an exact
multiple of 2 MiB, an empty frame was emitted, the prefix bytes were
consumed and the rest of the stream was decoded from the wrong position.
A single 2 MiB message split after the third prefix byte was delivered
as about 2 million bogus frames without any exception.
- If exactly 4 bytes are readable and all of them have the continuation
bit set, `readRawVarint40` threw a `CorruptedFrameException` although
the fifth byte may simply not have been received yet.

Before #14050 both cases reset the readerIndex and returned 0.

Modifications:

- `readRawVarint24` resets the readerIndex and returns 0 when the third
byte still has the continuation bit set.
- `readRawVarint40` returns 0 without moving the readerIndex when only 4
bytes are readable, and only throws when the fifth byte is malformed.
- Add tests that split 1 to 5 byte length prefixes at every position,
including lengths that are exact multiples of 2 MiB.

Result:

`ProtobufVarint32FrameDecoder` produces the same frames 
regardless of how the length prefix is fragmented across reads.

Fixes #17549.
@normanmaurer
QpackEncoder.sectionAcknowledgment must not NPE when dynamic table is…
8ce5930
… disabled (#17537)

Motivation:

QpackEncoder.sectionAcknowledgment(...) only had an assert to guard
against streamSectionTrackers being null, which is a no-op unless the
JVM runs with -ea. When a peer negotiates
SETTINGS_QPACK_MAX_TABLE_CAPACITY=0 (the RFC 9204 default),
configureDynamicTable(...) never allocates streamSectionTrackers. A
peer can then send a single Section Acknowledgment instruction
(0x80) on its QPACK decoder stream and trigger a
NullPointerException, which escapes the QpackException catch in
QpackDecoderHandler and tears down the connection.

Modification:

Replace the assert with an explicit null check that throws the
existing INVALID_SECTION_ACKNOWLEDGMENT QpackException, matching the
pattern already used by the sibling streamCancellation(...) method.

Result:

A Section Acknowledgment received while the dynamic table is disabled
is now reported as a QpackException instead of crashing the
connection with an unchecked NullPointerException.
@normanmaurer
Fix missing readable-bytes check in SmtpResponseDecoder (#17516)
91a8497
Motivation:

decode() only checked for 3 readable bytes before parsing, but it
unconditionally consumes a 3-byte code plus a 4th separator byte. A
line consisting of only a 3-digit code (e.g. "250\r\n") passed the
guard and then threw a raw IndexOutOfBoundsException from readByte()
instead of the intended DecoderException.

Modifications:

Require 4 readable bytes and add a regression test.

Result:

No more IOOBE
@normanmaurer
Guard against out-of-bounds reads when parsing ClientHello SNI extens…
5c44cb5
…ion (#17532)

Motivation:

AbstractSniHandler.extractSniHostname() reads the session_id,
cipher_suites and compression_methods lengths from a ClientHello and
advances the parse offset by each of these attacker-controlled values,
without re-checking the offset against the buffer bounds before the
next read. A single crafted, non-fragmented ClientHello with an
oversized session_id length (e.g. 0xFF) pushes the offset past the end
of the buffer and triggers an IndexOutOfBoundsException.

Modification:

Re-validate the offset against the end of the buffer before each of
the three interior reads, symmetric to the bounds checks already used
by the extensions loop further down.

Result:

Malformed ClientHello messages no longer trigger an
IndexOutOfBoundsException while parsing the SNI extension.
@normanmaurer
Fix IndexOutOfBoundsException from mismatched varint length in Http3F…
ae1798a
…rameCodec (#17523)

Motivation:

decodeFrame() and decodeSettings() checked that the buffer held at
least the frame's declared payload length, but the length of the
variable-length integer(s) inside that payload is derived from the
integer's own first byte, independent of the declared payload length.
A CANCEL_PUSH/GO_AWAY/MAX_PUSH_ID/PUSH_PROMISE frame (or a SETTINGS
key/value) whose declared length was shorter than what its own prefix
bits require caused readVariableLengthInteger() to call
readLong()/readInt()/etc. past what was verified available, throwing
a raw IndexOutOfBoundsException instead of failing the connection
with H3_FRAME_ERROR.

Modifications:

Validate the integer's encoded length against the declared payload
length before reading it, and add regression tests for each affected
frame type plus both SETTINGS key and value lengths.

Result:

Correctly handle varint lenght parsing
@normanmaurer
Fix missing readable-bytes checks in QuicHeaderParser (#17515)
fdd2b67
Motivation:

QuicHeaderParser read the destination/source connection-id length
bytes of a long-header QUIC packet without first verifying enough
bytes were readable, unlike every other read in the class. A
truncated datagram could trigger a raw IndexOutOfBoundsException
instead of the expected QuicException, or silently read stale bytes
from an over-allocated buffer.

Modifications:

Add the missing checkReadable() guards and a regression test.

Result:

No more risk of IOOBE
@normanmaurer
Http2: Reserve promised stream before running the request verifier (#…
8488ebd
…17495)

Motivation:

In DefaultHttp2ConnectionDecoder.onPushPromiseRead(), the promised
stream was only reserved via reservePushStream() after the
Http2PromisedRequestVerifier checks (isAuthoritative/isCacheable/
isSafe) passed. If the verifier rejected the promised request, the
method threw before the stream was ever reserved, so the connection
lost all bookkeeping of that stream ID's existence.

Modification:

- Move the reservePushStream() call ahead of the verifier checks in
  onPushPromiseRead(), so the promised stream is reserved as soon as
  the parent stream state is validated, and any subsequent verifier
  rejection fails an already-reserved stream instead of leaving no
  record of it.
- Add a unit test that rejects a push promise via a custom verifier
  and asserts the stream was still reserved.

Result:

The promised stream ID's existence is always tracked once a
PUSH_PROMISE is otherwise valid enough to reach verification.
@violetagg
Fix HTTP/3 decoding of frames with zero length payloads (#17564)
8cca995
Motivation:
This is an additional fix for PR #17523.
The check added with PR #17523 reads the first byte of the variable
length integer, a frame with a declared zero length doesn't have such
byte.

Modification:
- Add a payload length check
- Add junit tests

Result:

Frames with zero length payloads fail with H3_FRAME_ERROR
@normanmaurer
DnsAddressResolverGroupTest: Use a mock DNS server instead of resolvi…
e9694df
…ng netty.io over the network (#17566)

Motivation:

testSharedDNSCacheAcrossEventLoops resolved the real netty.io hostname
over the network to verify that DnsAddressResolverGroup shares its DNS
cache across EventLoops. netty.io is fronted by Cloudflare, and live
queries can return different edge IPs on different lookups, which made
the assertSame check flaky regardless of whether the cache was actually
shared.

Modification:

Use a TestDnsServer (as already done in DnsNameResolverTest) backed by
a RecordStore that always returns a single, fixed A record for
netty.io, and point the resolver's nameServerProvider at it. This makes
both resolutions deterministic so the assertion only depends on the
cache-sharing behavior under test.

Result:

testSharedDNSCacheAcrossEventLoops no longer depends on the live DNS
answer for netty.io and is no longer flaky due to external network
behavior.
@normanmaurer
Use random generated LocalAddress in tests that use local transport (#…
407eb13
…17570)

Motivation:

We should construct the LocalAddress by passing in a Class. This way we
are sure the LocalAddress is really unique and so we don't get into any
clashes when running parallel tests.

Modifications:

Change usage of new LocalAddress(String) to new LocalAddress(Class).

Result:

More stable CI
@renechoi
POOL: Release Channel when SimpleChannelPool acquire is cancelled (#1…
6b257ce
…7569)

### Motivation

`notifyConnect()` completes the acquire `Promise` with `trySuccess(...)`
and releases the `Channel` if already completed. `notifyHealthCheck()`,
the reuse path, still uses `setSuccess(...)`.

`doHealthCheck` runs via `loop.execute(...)` when `acquire()` is called
off its event loop, so a cancel can land while that task is queued, even
with the stock `ACTIVE` checker. `setSuccess(...)` then throws into
`closeAndFail(...)`: a healthy pooled `Channel` is closed and its
`channelAcquired(...)` gets no `channelReleased(...)`.

#17287 gave `FixedChannelPool` this guard.

### Modification

`notifyHealthCheck()` mirrors `notifyConnect()`, plus a regression test
on a hand-completed health check.

### Result

Reverting just the source hunk fails that test on `releasedCount()`, 2
expected, 1 seen. With it, 34/34.
@normanmaurer
Fix missing per-entry clamp in IoUringBufferRing.useBuffer (#17568)
e79185a
Motivation:

When IORING_RECVSEND_BUNDLE is enabled, a single completion can report
a byte count spanning multiple buffer-ring entries. useBuffer(...)
sliced
the ring entry using that raw total instead of clamping it to the
entry's own writable capacity, so retainedSlice(...) threw an
IndexOutOfBoundsException on the io_uring event-loop thread. The
exception propagated out before the buffer-ring bookkeeping (freeing the
bid, releasing the buffer, decrementing usableBuffers) ran, leaking a
direct buffer and leaving the channel's multishot receive armed to
repeat the fault on every subsequent oversized burst.

Modifications:

Clamp the slice length and writerIndex advance in useBuffer(...) to
byteBuf.writableBytes(), matching the method's documented contract that
callers loop over the remainder via nextBid(...). Add a regression test
exercising useBuffer(...) directly with a read larger than a single
entry's capacity, and switch the test class to AssertJ assumptions.

Result:

useBuffer(...) no longer throws when a bundle completion spans more
than one ring entry.
@normanmaurer
Reject incomplete PUSH_PROMISE request headers when validateRequiredP…
2436f95
…seudoHeaders is enabled (#17460)

Motivation:

RFC 9113, 8.4.1 requires a PUSH_PROMISE field block to carry a complete
set of request pseudo-header fields, and mandates a PROTOCOL_ERROR on
the promised stream if it does not. DefaultHttp2ConnectionDecoder never
performed this check, so even with validateRequiredPseudoHeaders
enabled an empty/incomplete promised request was accepted and the
promised stream reserved.

Modifications:

- Validate push promise headers when enabled
- Add unit tests

Result:

Fixes #17439
@normanmaurer
Add regression tests for CANCEL_PUSH/GOAWAY/MAX_PUSH_ID trailing bytes (
68466e3
#17571)

Motivation:

Http3FrameCodec.enforceExactIdLength() (added in #17523) rejects
CANCEL_PUSH, GO_AWAY and MAX_PUSH_ID frames whose declared payload
length does not exactly match the encoded width of their single
push-id/stream-id varint. That fix already covers a declared length
shorter than the varint's width, but there was no test asserting the
opposite direction: a declared length longer than the varint's width,
which would otherwise leave unread trailing bytes in the buffer to be
mis-parsed as the type/length/payload of a bogus subsequent frame,
desynchronizing the control stream.

Modifications:

Add parameterized tests for all three frame types that send a
payload declared as the maximum 8 bytes but containing only a 1-byte
varint followed by 7 trailing bytes shaped like a HEADERS frame
header. Assert the connection is closed with H3_FRAME_ERROR and that
no frame, legitimate or smuggled, is produced from the trailing
bytes.

Result:

Explicit regression coverage for the control-stream desynchronization
scenario. This is a followup to
#17523
@normanmaurer
Use 2 EventLoops when running our tests by default (#17567)
9f11eb6
Motivation:

We create a lot of EventLoopGroups with very short life-time when
running our tests. By default these use 2 * cpu's EventLoops. This is
quite wasteful on shared infrastructure that runs our CI.

Modifications:

Use 2 EventLoops per EventLoopGroup by default if not manual specified

Result:

Less resource usage while running our CI builds
@normanmaurer
Fix flaky HttpToHttp2ConnectionHandlerTest.testChunkedRequestWithBody…
bb3eb5f
…AndTrailingHeaders (#17590)

Motivation:


HttpToHttp2ConnectionHandlerTest.testChunkedRequestWithBodyAndTrailingHeaders
writes two HttpContent chunks for the same stream and asserted that
exactly one onDataRead(...) call was observed on the server side with
the two payloads concatenated into a single DATA frame. Whether the two
writeData(...) calls get merged into one physical DATA frame by
DefaultHttp2RemoteFlowController's pending-write-queue coalescing is a
timing-dependent internal optimization, not a guarantee of the codec.
When the merge does not happen in time, two separate DATA frames are
delivered instead, which is spec-compliant but failed the test's strict
Mockito verify(times(1)) expectation.

Modifications:

- Verify onDataRead(...) is invoked atLeastOnce() instead of exactly
  once
- Assert the concatenation of all received buffers matches the sent
  payload instead of assuming a single buffer

Result:

The test no longer depends on the timing of the flow controller's DATA
frame coalescing and reliably passes regardless of whether the two
chunks are delivered as one or two DATA frames.
@normanmaurer
Http2ConnectionHandler: report at most one stream error for a Composi…
9676719
…teStreamException (#17470)

Motivation:

RFC 9113, Section 5.4 states that implementations SHOULD report at
most one stream and one connection error as a result of processing a
single condition, even if multiple errors are discovered. When
DefaultHttp2LocalFlowController accumulates per-stream failures (e.g.
while applying a new SETTINGS initial window size) into a single
CompositeStreamException, Http2ConnectionHandler.onError iterated all
contained StreamExceptions and wrote an RST_STREAM for each one,
exceeding the recommended limit of one stream error per result.

Modifications:

- Http2ConnectionHandler.onError only reports the first StreamException
  contained in a CompositeStreamException for a specific stream instead of iterating and
  reporting every one of them.
- Add unit tests

Result:

Only one RST_STREAM is written per CompositeStreamException, in line
with the RFC 9113 recommendation.
@normanmaurer
Http2MultiplexTransportTest: Fix possible SslContext leak in tests (#…
7102ef9
…17597)

Motivation:

testSslException and testFireChannelReadAfterHandshakeSuccess only
released the server/client SslContext on the happy path, after
latch.await() returned successfully. If an exception was thrown
earlier (for example while binding or connecting), the SslContext and
the native OpenSSL key material it holds were never released
explicitly, and cleanup would only happen once the JVM finalizer ran.
This races with the leak presence detector's afterAll check and can
be reported as a flaky memory leak in this test class.

Modifications:

- Release the SslContext instances in a finally block so they are
  always released, even if an exception is thrown.

Result:

Fix possible SslContext leak in unit tests.
@normanmaurer
Restore configurable ioRatio-based task scheduling in SingleThreadIoE…
22e4967
…ventLoop (#17481)

Motivation:

The unification done in #13991/#14557 replaced the per-transport ioRatio
scheduling with a fixed maxTaskProcessingQuantumMs cap on task
processing
before returning to IO. Under sustained load the task queue is never
empty, so the event loop can spend up to the full quantum on tasks every
iteration regardless of how little time was just spent on IO, delaying
IO servicing (and so response completion) for a minority of requests.
This was observed as an elevated mean (but not median) round-trip
latency after upgrading from 4.1 to 4.2, which went away on rollback.

Modifications:

- Add back a volatile ioRatio field and functional getIoRatio()/
  setIoRatio(int) on SingleThreadIoEventLoop, configurable via the new
  io.netty.eventLoop.ioRatio system property (default 100, which
  preserves the current fixed-quantum behaviour unchanged).
- When ioRatio < 100, size each iteration's task budget as
  ioTime * (100 - ioRatio) / ioRatio, capped by
  maxTaskProcessingQuantumNs, matching the pre-4.2 NioEventLoop formula
  while keeping the existing quantum as a safety upper bound.
- Add setter / getter to MultiThreadIoEventLoopGroup so it is supported
globally

Result:

Users hitting the 4.2 scheduling regression can restore proportional
IO/task balancing with a single setIoRatio(50) call (or the new system
property), with no change in behaviour for anyone who doesn't opt in.
@normanmaurer
Support creating a PropertyKey that is not tied to a specific Http2Co…
cd967a4
…nnection (#17594)

Motivation:

Http2Connection.PropertyKey instances could only be created via
Http2Connection.newKey(), which ties every key to the specific
connection instance that created it. This makes it impossible to
share a key, e.g. as a static field, across multiple Http2Connection
instances, or to create a key before an Http2Connection instance is
even available.

Modifications:

- Add a static factory method that returns a key
  which is not associated with any particular Http2Connection and so
  can be used with the streams of any connection
- Let DefaultStream dispatch on the concrete key type
- Add tests covering both key kinds, including cross-connection
  rejection of connection-bound keys and sharing of static keys across
  connections

Result:

It is now possible to create an Http2Connection.PropertyKey without
having access to an Http2Connection instance, while keys created via
Http2Connection.newKey() keep their existing fast-path performance
characteristics.
@allthingssecurity
Reset LengthFieldBasedFrameDecoder state when the frame is shorter th…
c784721
…an initialBytesToStrip (#17606)

Motivation:

When the adjusted frame length is less than `initialBytesToStrip`,
`LengthFieldBasedFrameDecoder` throws a `CorruptedFrameException`
without resetting `frameLengthInt`. Every following `decode(...)` call
then skips reading the length field of the next frame, sees the same
short frame length again, and throws again. `frameLength` is `0` in
those calls, so no bytes are skipped either. One malformed frame
therefore makes every later frame on the connection fail (`Adjusted
frame length (0) is less than initialBytesToStrip: ...`). The same
happens on the first malformed frame if its length field and its content
arrive in separate reads. All the other error paths of the decoder reset
their state and go on with the next frame. This regressed in #12173,
which cached the frame length in `frameLengthInt` but only reset it on
the success path.

Modification:

- Reset `frameLengthInt` before failing, and skip the frame using
`frameLengthInt` instead of the local `frameLength`, which is `0` when
the length field was read by an earlier call.
- Add two tests: the malformed frame in one read, and its length field
and content in separate reads. Both fail without the change (with the
exception above on the following valid frame) and pass with it.

Result:

The decoder fails the malformed frame and then decodes the following
frames again. `codec-base` tests: 352, 0 failures.
@netty-project-bot @normanmaurer
Auto-port 4.2: SingleThreadEventExecutor: fix race between suspend an…
bd57c82
…d cancellation … (#17601)

Auto-port of #17589 to 4.2
Cherry-picked commit: bcc636d

---
…of scheduled tasks

Motivation:

Cancelling a scheduled task removes it by resubmitting it via
scheduleRemoveScheduled(), which can land in the task queue in the
narrow window between run() deciding it can suspend and doStartThread()
re-checking canSuspend() afterwards. doStartThread() only knew how to
recover from a task racing in once the state had already reached
ST_SUSPENDED; if the re-check simply saw canSuspend() return false while
the state was still ST_SUSPENDING/ST_SUSPENDED, it fell through and
treated the situation as if run() had returned without confirming
shutdown, forcing the executor into a real shutdown even though nobody
requested one. Once terminated, trySuspend() can never succeed again, so
a caller looping on trySuspend() (as recommended when removal of a
cancelled scheduled task may be lazy) spins until it times out.

Modifications:

- doStartThread() now goes around the loop again instead of shutting
down when canSuspend() is false but the state is still
ST_SUSPENDING/ST_SUSPENDED, letting run() pick up whatever raced in.
- Add
SingleThreadEventExecutorTest.testSuspendDoesNotRaceWithCancelledScheduledTask,
which repeats the schedule/suspend/cancel sequence many times to make
the race reproducible.

Result:

Cancelling a scheduled task while an executor is suspending no longer
risks a spurious shutdown.

Co-authored-by: Norman Maurer <[email protected]>
@laosijikaichele
Fix ByteBuf.setBytes(int, ByteBuffer) when the source is the buffer…
a06df5b
…'s own internal NIO buffer (#17618)

### Motivation:

`ByteBuf.setBytes(int, ByteBuffer)` may be called with the buffer's own
internal NIO buffer as
the source, which callers can obtain through
`ByteBuf.internalNioBuffer(int, int)`:

Implementations obtain their destination through `internalNioBuffer()`,
which calls
`clear()` on the cached instance. When the source is that cached
instance, the call
resets the caller's position and limit before they are read, so the copy
is done with the
wrong offsets.

`UnpooledDirectByteBuf` already gets this right — it duplicates before
calling
internalNioBuffer(...), we should align with it:
https://github.com/netty/netty/blob/cd967a41cc8b930c21286348a526196e8e10a7e1/buffer/src/main/java/io/netty/buffer/UnpooledDirectByteBuf.java#L610-L612

### Modification:

* `PooledDirectByteBuf.setBytes(int, ByteBuffer)`: move the `src ==
tmpNioBuf` check before
  `internalNioBuffer()`.
* `AdaptiveByteBuf.setBytes(int, ByteBuffer)`: add the same check,
before `internalNioBuffer()`.


### Result:

`setBytes(int, ByteBuffer)` copies the requested range for every
allocator, whether or not the
source is the buffer's own internal NIO buffer.

The new test fails before this change on `AdaptiveByteBufAllocatorTest`
and on
`PooledByteBufAllocatorTest` when run with `-Dio.netty.noUnsafe=true`;
it passes on both afterwards.
@laosijikaichele
Add missing bounds check to AdaptiveByteBuf.getBytes(...) channel v…
a0c8ddc
…ariants (#17620)

Motivation:

`AdaptiveByteBuf.getBytes(int, GatheringByteChannel, int)` and
`AdaptiveByteBuf.getBytes(int, FileChannel, long, int)` do not call
`checkIndex(index, length)`, unlike other `ByteBuf` implementations.

These methods write from the cached `tmpNioBuf`, whose limit is
`maxFastCapacity` (the size of the underlying segment) rather than
`capacity()`. An out-of-bounds request that still fits within the
segment is therefore not rejected: instead of throwing
`IndexOutOfBoundsException`, the buffer silently writes bytes located
beyond its own capacity to the channel.

Modification:

Add the missing `checkIndex(index, length)` to both methods, and add
tests covering both channel variants.

Result:

`AdaptiveByteBuf` no longer reads past its capacity, and throws
`IndexOutOfBoundsException` like the other `ByteBuf` implementations.
@yawkat
Merge #17161: Codec-compression: Add backpressure decompression handlers
f04e33b
@yawkat @claude
Rebuild HTTP decompression on merged 4.2 decompressor APIs
dc4f7c1
Motivation:

Most of this PR has been split out and merged to 4.2 (#16745, #17145-#17155),
and the backpressure handler is under review in #17161. The split versions
received review fixes that this branch does not have, which left the PR
conflicting with 4.2 in every decompressor.

Modification:

* Take the merged 4.2 decompressor implementations and the #17161 version of
  the backpressure handler infrastructure.
* Re-apply the remaining unmerged parts of this PR on top: HTTP/1.1
  HttpDecompressionHandler, HTTP/2 DecompressingFrameListener, their tests,
  and deprecation of the legacy decoders.
* Drop JZlib support (JZlibDecompressor, ZlibDecompressor base class,
  ZlibCodecFactory decompressor builder). HttpDecompressionHandler uses
  JdkZlibDecompressor directly.
* Restore BackpressureGauge.relieveBackpressure(long), which #17161 removed
  but DecompressingFrameListener needs for HTTP/2 flow-control credit.

Result:

The PR applies cleanly on 4.2 again and only carries the unmerged parts of
#16743.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@yawkat
Merge branch 'decompressor-api' (resolve conflicts with 4.2 by taking…
9d6a5c7
… the rebuilt tree)
@testlens-app

testlens-app Bot commented Sep 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

🚨 TestLens detected 2 failed tests 🚨

Here is what you can do:

  1. Inspect the test failures carefully.
  2. If you are convinced that some of the tests are flaky, you can mute them below.
  3. Finally, trigger a rerun by checking the rerun checkbox.

Test Summary

Build PR / linux-x86_64-java24 build > Netty/Common

Test Runs Flakiness
SingleThreadEventExecutorTest > testSuspendDoesNotRaceWithCancelledScheduledTask() ❌ 2% 🟡

Build PR / macos-x86_64-java11-boringssl build > Netty/Transport/Native/KQueue

Test Runs Flakiness
KQueueDatagramUnicastIPv6MappedTest > testSimpleSendWithConnect(TestInfo) ❌ 4% 🟡

🏷️ Commit: 9d6a5c7
▶️ Tests: 433365 executed
⚪️ Checks: 26/26 completed

Test Failures

SingleThreadEventExecutorTest > testSuspendDoesNotRaceWithCancelledScheduledTask() (Netty/Common in Build PR / linux-x86_64-java24 build)
org.opentest4j.AssertionFailedError: worker thread did not terminate at iteration 639 ==> expected: <false> but was: <true>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertFalse.failNotFalse(AssertFalse.java:63)
	at org.junit.jupiter.api.AssertFalse.assertFalse(AssertFalse.java:36)
	at org.junit.jupiter.api.Assertions.assertFalse(Assertions.java:239)
	at io.netty.util.concurrent.SingleThreadEventExecutorTest.testSuspendDoesNotRaceWithCancelledScheduledTask(SingleThreadEventExecutorTest.java:244)
	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
expected actual
false true
KQueueDatagramUnicastIPv6MappedTest > testSimpleSendWithConnect(TestInfo) (Netty/Transport/Native/KQueue in Build PR / macos-x86_64-java11-boringssl build)
org.opentest4j.AssertionFailedError
	at io.netty.testsuite.transport.socket.DatagramUnicastTest.testSimpleSendWithConnect0(DatagramUnicastTest.java:430)
	at io.netty.testsuite.transport.socket.DatagramUnicastTest.testSimpleSendWithConnect(DatagramUnicastTest.java:383)
	at io.netty.testsuite.transport.socket.DatagramUnicastTest.testSimpleSendWithConnect(DatagramUnicastTest.java:212)
	at io.netty.testsuite.transport.socket.DatagramUnicastTest$7.run(DatagramUnicastTest.java:206)
	at io.netty.testsuite.transport.socket.DatagramUnicastTest$7.run(DatagramUnicastTest.java:203)
	at io.netty.testsuite.transport.AbstractComboTestsuiteTest.run(AbstractComboTestsuiteTest.java:52)
	at io.netty.testsuite.transport.socket.DatagramUnicastTest.testSimpleSendWithConnect(DatagramUnicastTest.java:203)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)

Rerun Controls

Select tests to mute in this pull request:

  • KQueueDatagramUnicastIPv6MappedTest > testSimpleSendWithConnect(TestInfo)
  • SingleThreadEventExecutorTest > testSuspendDoesNotRaceWithCancelledScheduledTask()

Reuse successful test results:

  • ♻️ Only rerun the tests that failed or were muted before

Click the checkbox to trigger a rerun:

  • Rerun jobs

Learn more about TestLens at testlens.app/docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@chrisvest chrisvest Awaiting requested review from chrisvest
@normanmaurer normanmaurer Awaiting requested review from normanmaurer

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

20 participants

@yawkat @m-burst @chrisvest @normanmaurer @github-advanced-security @HwangRock @franz1981 @dreamlike-ocean @seonwooj0810 @renechoi @el-psy-kongroo-d @bryce-anderson @vpelikh @netty-project-bot @marcphilipp @husseinvr97 @BoxJReilly @arnabnandy7 @Gimini-3
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.