← Back to Pull requests

[6.2.x] Keep OCI synchronous retry backoff off Netty event loops #1399

Closed
unknown closed this pull request without merging on Oct 15, 2026 08:10 UTC
View on GitHub
unknown unknown commented on Oct 14, 2026 15:27 UTC
Author

An OCI synchronous call that encounters a retryable read timeout can sleep on a Netty event loop. The SDK runs its synchronous retry scheduler from the failed HTTP future's completion thread, which can also stall server I/O and /health despite micronaut.server.thread-selection=BLOCKING.

Dispatch failed completions through the executor supplied by the synchronous SDK call in both Netty adapters. Preserve the original exception and retry policy, and keep successful completion behavior unchanged.

Add SyncRetryEventLoopTest covering current and legacy adapters with shared event loops and a dedicated five-thread OCI pool. It checks that backoff runs on the synchronous caller, /health remains responsive, two attempts are made, and the final read-timeout cause is preserved. No OCI credentials or cloud resources are needed.

Validation on JDK 25:

  • Netty client module check: 223 passed, 31 skipped.

  • Four-case regression test: all passed.

  • Formatting, Checkstyle, and binary compatibility checks passed. Checkstyle reports one existing warning in generated module-info code.
  • This is an internal patch fix with no public API or dependency changes. Full repository and cloud/native test runs were not performed.

    Backport PRs:

  • 5.8.x: #1400

  • 5.6.x: #1401
  • Diff: 160 lines (+120 / -40) across 2 files Reviewer: yawkat Review duration: 1002m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.35 · 160 lines diff across 2 files
    0.35
    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.304
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1399"
    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: 34.8% (LOW) · Higher = larger blast radius
    34.8%
    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: 13.8% · Safe to merge
    13.8%