← Back to Pull requests

Drop the unused netty-reactive-streams jars #507

Closed
unknown closed this pull request without merging on Nov 09, 2026 15:03 UTC
View on GitHub
unknown unknown commented on Oct 23, 2026 11:38 UTC
Author

Summary

The server ships com.typesafe.netty:netty-reactive-streams and netty-reactive-streams-http 2.0.8 in server-lib/aws/ext/netty, but nothing uses them. They hold an implementation of the Reactive Streams interfaces for Netty, and the AWS SDK's netty-nio-client includes its own copy of that implementation under software.amazon.awssdk.http.nio.netty.internal.nrs, credited in its NOTICE. The copy covers every class of the two jars except the server and WebSocket ones (HttpStreamsServerHandler, WebSocketHttpResponse, DefaultWebSocketHttpResponse), which an HTTP client doesn't need. This PR removes the two jars.

  • gradle/libs.versions.toml: removes the version, both libraries and their server bundle entries.

  • gradle/vendored-layout.json: removes their aws/ext/netty mappings.

  • gradle/verification-metadata.xml: regenerated with a cold cache, as CONTRIBUTING.md describes. The only change is the three removed com.typesafe.netty entries (the two jars and the parent POM).
  • org.reactivestreams:reactive-streams stays: it holds the interfaces being implemented (Publisher, Subscriber, Subscription), which netty-nio-client and the SDK core still use.

    The jars were already unused before #506: netty-nio-client 2.20.140, the version before it, also uses its internal copy. Now that #506 has merged, main has netty-nio-client 2.55.12, which doesn't reference com.typesafe.netty either. This PR is rebased on it, so the earlier possible conflict with #506 no longer applies.

    This PR intentionally leaves renovate.json alone. The netty group there still lists com.typesafe.netty*, but nothing in the catalog matches it any more, so it has no effect. #553 removes the whole group, and editing the same lines here would conflict with it.

    Testing

    Claude checked:

  • ./gradlew clean build dist: all 722 tests pass. After #506 merged, the change was applied on top of it and the full build, with tests, passed again.

  • Every class in the other 488 jars of the distribution built from main before #506: none references com/typesafe/netty. No META-INF/services file, configuration file or nested archive names it either.

  • The netty-nio-client 2.20.140 and 2.55.12 jars contain no reference to com/typesafe/netty.

  • After the change, server-lib/aws/ext/netty no longer contains the two jars and is otherwise unchanged.
  • Release notes

  • Removed the unused netty-reactive-streams and netty-reactive-streams-http jars from server-lib/aws/ext/netty.
  • ---
    🤖 Drafted with Claude Code

    Diff: 322 lines (+241 / -81) across 4 files Reviewer: kpalang Review duration: 24685m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 322 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.346
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #507"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 41.9% (MEDIUM) · Higher = larger blast radius
    41.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.6% · Safe to merge
    16.6%