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 — chore(x-goog-spanner-request-id): implement request_id generation and propagation 1/3 by odeke-em · Pull Request #1364 · googleapis/python-spanner

This repository was archived by the owner on Jun 8, 2026. It is now read-only.

Conversation

@odeke-em

@odeke-em odeke-em commented Apr 30, 2025

Copy link
Copy Markdown
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 googleapis/google-cloud-python#15905

Sorry, something went wrong.

Uh oh!

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

All reactions
@odeke-em
odeke-em requested review from a team 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
@blunderbuss-gcf blunderbuss-gcf Bot assigned olavloite 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
@odeke-em
chore(x-goog-request-id): commit testing scaffold
eb2c3d2
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 #1261
@odeke-em odeke-em mentioned this pull request Apr 30, 2025
chore(x-goog-request-id): commit testing scaffold #1366
Merged
odeke-em added a commit to odeke-em/python-spanner that referenced this pull request Apr 30, 2025
@odeke-em
chore(x-goog-request-id): commit testing scaffold
129f662
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 #1261
odeke-em added a commit to odeke-em/python-spanner that referenced this pull request Apr 30, 2025
@odeke-em
chore(x-goog-request-id): commit testing scaffold
6f10a1f
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 #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
@odeke-em
chore(x-goog-request-id): commit testing scaffold
7e24e61
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 #1261
olavloite pushed a commit that referenced this pull request May 7, 2025
@odeke-em
chore(x-goog-request-id): commit testing scaffold (#1366)
686bda6
* 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
@odeke-em
chore(x-goog-spanner-request-id): implement request_id generation and…
0b8003e
… 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 #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

odeke-em commented Jun 3, 2025

Copy link
Copy Markdown
Contributor Author

No longer needed as I mailed out smaller PRs.

All reactions

Sorry, something went wrong.

Uh oh!

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

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

Reviewers

No reviews

Uh oh!

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

Assignees

@olavloite olavloite

Labels

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

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.

4 participants

@odeke-em @olavloite @rahul2393 @yoshi-kokoro
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.