Skip to content

Conversation

@odeke-em
Copy link
Contributor

Generates a request_id that is then injected inside metadata that's sent over to the Cloud Spanner backend.

Officially inject the first set of x-goog-spanner-request-id values into header metadata Add request-id interceptor to use in asserting tests Wrap Snapshot methods with x-goog-request-id metadata injector

Updates #1261

@odeke-em odeke-em requested review from a team as code owners April 30, 2025 18:15
@product-auto-label product-auto-label bot added size: xl Pull request size is extra large. api: spanner Issues related to the googleapis/python-spanner API. labels Apr 30, 2025
@odeke-em odeke-em force-pushed the x-goog-spanner-request-id-piecemeal-1 branch from 1ac1db3 to f7f21a0 Compare April 30, 2025 18:39
odeke-em added a commit to odeke-em/python-spanner that referenced this pull request Apr 30, 2025
This change commits the scaffolding for which testing
will be used. This is a carve out of PRs googleapis#1264 and googleapis#1364,
meant to make those changes lighter and much easier to
review then merge.

Updates googleapis#1261
odeke-em added a commit to odeke-em/python-spanner that referenced this pull request Apr 30, 2025
This change commits the scaffolding for which testing
will be used. This is a carve out of PRs googleapis#1264 and googleapis#1364,
meant to make those changes lighter and much easier to
review then merge.

Updates googleapis#1261
odeke-em added a commit to odeke-em/python-spanner that referenced this pull request Apr 30, 2025
This change commits the scaffolding for which testing
will be used. This is a carve out of PRs googleapis#1264 and googleapis#1364,
meant to make those changes lighter and much easier to
review then merge.

Updates googleapis#1261
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 1, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 1, 2025
odeke-em added a commit to odeke-em/python-spanner that referenced this pull request May 2, 2025
This change commits the scaffolding for which testing
will be used. This is a carve out of PRs googleapis#1264 and googleapis#1364,
meant to make those changes lighter and much easier to
review then merge.

Updates googleapis#1261
olavloite pushed a commit that referenced this pull request May 7, 2025
* chore(x-goog-request-id): commit testing scaffold

This change commits the scaffolding for which testing
will be used. This is a carve out of PRs #1264 and #1364,
meant to make those changes lighter and much easier to
review then merge.

Updates #1261

* Use guard to keep x-goog-request-id interceptor docile in tests until activation later

* AtomicCounter update

* Remove duplicate unavailable_status that had been already committed into main
… propagation 1/3

Generates a request_id that is then injected inside metadata
that's sent over to the Cloud Spanner backend.

Officially inject the first set of x-goog-spanner-request-id values into header metadata
Add request-id interceptor to use in asserting tests
Wrap Snapshot methods with x-goog-request-id metadata injector

Updates googleapis#1261
@odeke-em odeke-em force-pushed the x-goog-spanner-request-id-piecemeal-1 branch from f7f21a0 to 0b8003e Compare May 7, 2025 18:24
@odeke-em
Copy link
Contributor Author

odeke-em commented Jun 3, 2025

No longer needed as I mailed out smaller PRs.

@odeke-em odeke-em closed this Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the googleapis/python-spanner API. size: xl Pull request size is extra large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants