Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kannanjgithub/grpc-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: grpc/grpc-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 24 files changed
  • 5 contributors

Commits on Aug 11, 2026

  1. Configuration menu
    Copy the full SHA
    1bc2f5a View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2026

  1. core: update SPIFFE certificate extraction to comply with X509-SVID s…

    …pec (grpc#12961)
    
    - Modify `SpiffeUtil.extractCert` to ignore all but the first
    certificate if the `x5c` JWK parameter contains multiple values.
    - Modify `SpiffeUtil.extractCert` to skip the JWK entry (`continue`)
    instead of stopping execution (`break`) or throwing when `x5c` is
    missing or contains an empty list, complying with the requirement that
    entries without `x5c` must be ignored.
    kannanjgithub authored Aug 12, 2026
    Configuration menu
    Copy the full SHA
    96807d8 View commit details
    Browse the repository at this point in the history
  2. api: Add a Supplier overload to Context (grpc#12935)

    When trying to enter a Context, the call method doesn't work well with non-throwing Callables, such as lambdas. This change adds a Supplier overload to Context which would solve this, since it doesn't declare a checked exception.
    
    Fixes grpc#12927
    carl-mastrangelo authored Aug 12, 2026
    Configuration menu
    Copy the full SHA
    6966536 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2026

  1. core: reference-count shared transport factory for OOB channels (grpc…

    …#12985)
    
    When a main channel enters IDLE mode (e.g. after 30 minutes of
    inactivity), it shuts down its Load Balancer (such as RLS). This in turn
    shuts down any Out-of-Band child channels created by the LB. Previously,
    when an OOB channel finished terminating, it called
    `transportFactory.close()`, which prematurely closed the parent
    channel's shared `ClientTransportFactory` (`NettyTransportFactory`). As
    a result, when the main channel later attempted to exit IDLE mode or
    reconnect, `transportFactory.newClientTransport()` threw
    `IllegalStateException: The transport factory is closed`, causing an
    uncaught exception panic in the SynchronizationContext.
    
    This change introduces `RefCountedClientTransportFactory` to track
    active references to the underlying `ClientTransportFactory`. When OOB
    channels inherit `originalTransportFactory` via
    `createResolvingOobChannelBuilder()`, `retain()` is invoked. Calling
    `close()` on the transport factory now decrements the reference count,
    ensuring the underlying delegate factory is only closed when all parent
    and child channel references have been released.
    
    b/545260270
    kannanjgithub authored Aug 13, 2026
    Configuration menu
    Copy the full SHA
    72c6e5f View commit details
    Browse the repository at this point in the history
  2. compiler: add retry loop and enable allowEmptyChecksums on Windows (g…

    …rpc#12962)
    
    Enables allowEmptyChecksums globally on Chocolatey and implements a
    3-attempt retry loop for pkgconfiglite to prevent Windows CI failures
    caused by transient network or SourceForge mirror errors. Even though
    --allow-empty-checksums is passed to choco install, newer Chocolatey
    versions do not propagate this CLI flag to the nested PowerShell
    installer script (chocolateyInstall.ps1). The inner script fails when
    downloading the binary from non-secure HTTP SourceForge mirrors unless
    the allowEmptyChecksums feature is globally enabled via choco feature
    beforehand.
    This change also makes the script exit prematurely if pkg-config
    installation still failed instead of continuing and failing later at the
    linking step.
    
    [Failed Kokoro build logs
    example](https://btx.cloud.google.com/invocations/f43affbc-6ace-4158-bac4-86779b985b2f/targets/grpc%2Fjava%2Fmaster%2Fpresubmit%2Fwindows;config=default/log).
    kannanjgithub authored Aug 13, 2026
    Configuration menu
    Copy the full SHA
    ab104f8 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2026

  1. xds: Fix shutdownNow() becoming a no-op after shutdown() (grpc#12982

    )
    
    This fixes `XdsServerWrapper.shutdownNow()` silently doing nothing once
    `shutdown()` had already been called, permanently hanging threads
    blocked in `start()`. Previously they shared a single guard flag,
    meaning whichever was called first made the other a complete no-op.
    
    The fix gives `shutdownNow()`'s forceful-only work its own independent
    guard, following the same two-guard pattern already used by
    `ManagedChannelImpl`/`ServerImpl` in grpc-java core, so it always runs
    exactly once regardless of call order.
    
    Includes a regression test that reproduces the hang against the old code
    and passes against the fix.
    
    Signed-off-by: Martin Baillie <martin@baillie.id>
    martinbaillie authored Aug 14, 2026
    Configuration menu
    Copy the full SHA
    3cb7007 View commit details
    Browse the repository at this point in the history
  2. rls: implement stale_header_data caching and propagation in RLS (grpc…

    …#12972)
    
    This PR implements stale_header_data caching and propagation for Route Lookup Service (RLS) in :grpc-rls, addressing gRPC Java does not handle RLS stale_header_data properly).
    AgraVator authored Aug 14, 2026
    Configuration menu
    Copy the full SHA
    7843bd4 View commit details
    Browse the repository at this point in the history
  3. binder,cronet: Handle double-ClientTransportFactory.close()

    Netty/OkHttp/InProcess transports all ignore duplicate closes. We might
    want to change that in the future, but for now let's just get them
    aligned.
    ejona86 committed Aug 14, 2026
    Configuration menu
    Copy the full SHA
    292a361 View commit details
    Browse the repository at this point in the history
Loading