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 — test(bigtable): compose bigtable-session-it with cfe/directpath profiles and verify VirtualRpc traffic by igorbernstein2 · Pull Request #14963 · googleapis/google-cloud-java

Conversation

@igorbernstein2

@igorbernstein2 igorbernstein2 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Make bigtable-session-it a composable Maven profile that sets bigtable.internal.client-config-override-use-default=true and bigtable.internal.client-config-override=session_configuration { session_diversion_configuration { global_diversion { session_load: 1.0 } } } so it can be combined with bigtable-cfe-it (-P bigtable-cfe-it,bigtable-session-it) or bigtable-directpath-it (-P bigtable-directpath-it,bigtable-session-it).
  • Scope bigtable-cfe-it failsafe <includes> to com.google.cloud.bigtable.data.v2.it.*IT (matching bigtable-directpath-it), which includes SessionIT when bigtable-session-it is active (and skips SessionIT via Assume when bigtable-session-it is not active).
  • Update .kokoro/presubmit/bigtable-integration-session.cfg to compose -P bigtable-cfe-it,bigtable-session-it,enable-verbose-grpc-logs.
  • Update SessionIT:
    • Chain PeerInfoCapturingInterceptor onto any existing channelConfigurator from CloudEnv (REQUIRE_CFE / REQUIRE_DIRECT_PATH) instead of overwriting it.
    • Assert that readRow and mutateRow actually send SessionRequest.virtual_rpc messages over OpenTable and do not fall back to classic ReadRows/MutateRow RPCs (previously SessionIT only checked bigtable-peer-info headers from background OpenTable stream establishment, allowing silent fallback to classic RPCs to go undetected).
    • Assert the expected PeerInfo.TransportType (TRANSPORT_TYPE_SESSION_DIRECT_ACCESS under REQUIRE_DIRECT_PATH, TRANSPORT_TYPE_SESSION_CLOUD_PATH under REQUIRE_CFE).

Related PRs

  • Depends on fix(bigtable): avoid triggering per-RPC credential session fallback on default call context #14961 (expected to fail SessionIT on main until fix(bigtable): avoid triggering per-RPC credential session fallback on default call context #14961 is merged).

Sorry, something went wrong.

Uh oh!

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

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction
@igorbernstein2
igorbernstein2 requested review from a team as code owners November 10, 2026 18:46
gemini-code-assist[bot]
gemini-code-assist Bot reviewed Nov 10, 2026
View reviewed changes

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request refactors the Bigtable session integration tests to verify that operations execute as session VirtualRpcs instead of falling back to classic RPCs, and asserts specific transport types based on the connection mode. The review feedback highlights a critical issue in the polling loop of SessionIT.java where an eager assertion on classic RPCs could cause immediate test failures before the asynchronous session is established. Additionally, a minor optimization is suggested to avoid redundant builder creations when configuring the transport provider.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread ...able/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/SessionIT.java Resolved

Uh oh!

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

Comment thread ...able/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/SessionIT.java Resolved

Uh oh!

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

mutianf
mutianf approved these changes Nov 10, 2026
View reviewed changes
@igorbernstein2
igorbernstein2 force-pushed the test-session-it-matrix branch from ab9c610 to 6ed945b Compare November 10, 2026 20:03
mutianf
mutianf approved these changes Nov 10, 2026
View reviewed changes
igorbernstein2 added 2 commits November 10, 2026 15:47
@igorbernstein2
test(bigtable): compose bigtable-session-it with cfe/directpath profi…
1fead44
…les and verify VirtualRpc traffic
@igorbernstein2
chore(bigtable): remove waitForSessionReady loop and deduplicate buil…
b02a6b7
…der in SessionIT
@igorbernstein2
igorbernstein2 force-pushed the test-session-it-matrix branch from 6ed945b to c919953 Compare November 10, 2026 20:48
@igorbernstein2
test(bigtable): skip unsupported and large-payload ITs under session …
66338d3
…profile
@igorbernstein2
igorbernstein2 force-pushed the test-session-it-matrix branch from c919953 to 66338d3 Compare November 10, 2026 21:11
mutianf
mutianf approved these changes Nov 10, 2026
View reviewed changes
@mutianf
mutianf enabled auto-merge (squash) November 10, 2026 22:50
@mutianf
Merge branch 'main' into test-session-it-matrix
8308abf
@mutianf
mutianf disabled auto-merge November 11, 2026 03:28
@mutianf
mutianf enabled auto-merge (squash) November 11, 2026 03:28
blakeli0
blakeli0 approved these changes Nov 11, 2026
View reviewed changes
@mutianf
mutianf merged commit 0c8f8ee into main Nov 11, 2026
208 checks passed

Uh oh!

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

@mutianf
mutianf deleted the test-session-it-matrix branch November 11, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@blakeli0 blakeli0 blakeli0 approved these changes
@mutianf mutianf mutianf approved these changes
+1 more reviewer
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
Reviewers whose approvals may not affect merge requirements

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.

3 participants

@igorbernstein2 @blakeli0 @mutianf
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.