Skip to content

fix: resolve error where google/longrunning/operations.proto is missing - #18477

Merged
parthea merged 9 commits into
mainfrom
fix-566222096
Sep 29, 2026
Merged

parthea merged 9 commits into
mainfrom
fix-566222096

Conversation

@parthea

@parthea parthea commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Fixes b/566289715
Fixes b/566222096
Fixes #18478

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

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 introduces a new unit test file, test_operations.py, to validate the canonical descriptor name, message instantiation, and downstream dependency resolution for Google long-running operations. The feedback highlights a potential issue with test flakiness due to adding a static file descriptor to the global descriptor_pool.Default() singleton, which can cause duplicate registration errors on subsequent runs. A code suggestion is provided to check if the descriptor is already registered before adding it.

@parthea

parthea commented Sep 26, 2026

Copy link
Copy Markdown
Contributor Author

In the stack trace from https://github.com/googleapis/google-cloud-python/actions/runs/36240647863/job/108400821118?pr=18477, I see

>     return self._file_desc_protos_by_file[name]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E     KeyError: 'google/longrunning/operations.proto'
@parthea
parthea marked this pull request as ready for review September 26, 2026 13:15
@parthea
parthea requested a review from a team as a code owner September 26, 2026 13:15
@parthea
parthea merged commit e1d306a into main Sep 29, 2026
112 checks passed
@parthea
parthea deleted the fix-566222096 branch September 29, 2026 14:53
@release-please release-please Bot mentioned this pull request Sep 29, 2026
JoeWang1127 pushed a commit that referenced this pull request Sep 29, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>django-google-spanner: 5.2.0</summary>

##
[5.2.0](django-google-spanner-v5.1.0...django-google-spanner-v5.2.0)
(2026-09-29)


### Features

* declare Python3.15 support
([05b0c34](05b0c34))
</details>

<details><summary>gapic-generator: 1.41.0</summary>

##
[1.41.0](gapic-generator-v1.40.0...gapic-generator-v1.41.0)
(2026-09-29)


### Features

* **gapic-generator:** add schema support for resumable uploads
([#18480](#18480))
([78ff458](78ff458))


### Bug Fixes

* **gapic-generator:** init mock response in version header test
([#18488](#18488))
([7871fa9](7871fa9))
</details>

<details><summary>google-api-core: 2.40.0</summary>

##
[2.40.0](google-api-core-v2.39.0...google-api-core-v2.40.0)
(2026-09-29)


### Features

* declare Python3.15 support
([05b0c34](05b0c34))
</details>

<details><summary>google-auth-httplib2: 0.4.3</summary>

##
[0.4.3](google-auth-httplib2-v0.4.2...google-auth-httplib2-v0.4.3)
(2026-09-29)


### Features

* declare Python3.15 support
([05b0c34](05b0c34))
</details>

<details><summary>google-auth-oauthlib: 1.5.0</summary>

##
[1.5.0](google-auth-oauthlib-v1.4.1...google-auth-oauthlib-v1.5.0)
(2026-09-29)


### Features

* declare Python3.15 support
([05b0c34](05b0c34))


### Bug Fixes

* **google-auth-oauthlib:** prevent ipv6 address reuse
([#18463](#18463))
([30b4f44](30b4f44))
</details>

<details><summary>google-cloud-bigtable: 2.48.0</summary>

##
[2.48.0](google-cloud-bigtable-v2.47.0...google-cloud-bigtable-v2.48.0)
(2026-09-29)


### Features

* **bigtable:** Reroute Mutations Batcher to use data client
([#18200](#18200))
([0b488a3](0b488a3))
* declare Python3.15 support
([05b0c34](05b0c34))
</details>

<details><summary>google-cloud-core: 2.8.0</summary>

##
[2.8.0](google-cloud-core-v2.7.0...google-cloud-core-v2.8.0)
(2026-09-29)


### Features

* declare Python3.15 support
([05b0c34](05b0c34))
</details>

<details><summary>google-cloud-dns: 0.37.2</summary>

##
[0.37.2](google-cloud-dns-v0.37.1...google-cloud-dns-v0.37.2)
(2026-09-29)


### Features

* declare Python3.15 support
([05b0c34](05b0c34))
</details>

<details><summary>google-cloud-documentai-toolbox: 0.17.4</summary>

##
[0.17.4](google-cloud-documentai-toolbox-v0.17.3...google-cloud-documentai-toolbox-v0.17.4)
(2026-09-29)


### Features

* declare Python3.15 support
([05b0c34](05b0c34))
</details>

<details><summary>google-cloud-firestore: 2.33.0</summary>

##
[2.33.0](google-cloud-firestore-v2.32.0...google-cloud-firestore-v2.33.0)
(2026-09-29)


### Features

* **firestore:** add BSON cross-type query ordering support
([#18405](#18405))
([13be295](13be295))
* **firestore:** add BSON read deserialization support
([#18402](#18402))
([ce2544f](ce2544f))
* **firestore:** add PyMongo duck-typing serialization support
([#18406](#18406))
([a1e0e00](a1e0e00))
</details>

<details><summary>google-cloud-ndb: 2.7.0</summary>

##
[2.7.0](google-cloud-ndb-v2.6.1...google-cloud-ndb-v2.7.0)
(2026-09-29)


### Features

* declare Python3.15 support
([05b0c34](05b0c34))
</details>

<details><summary>google-cloud-runtimeconfig: 0.37.2</summary>

##
[0.37.2](google-cloud-runtimeconfig-v0.37.1...google-cloud-runtimeconfig-v0.37.2)
(2026-09-29)


### Features

* declare Python3.15 support
([05b0c34](05b0c34))
</details>

<details><summary>google-cloud-storage: 3.15.1</summary>

##
[3.15.1](google-cloud-storage-v3.15.0...google-cloud-storage-v3.15.1)
(2026-09-29)


### Bug Fixes

* **storage:** add correct app hub uri prefix to aco traces
([#18483](#18483))
([7cead02](7cead02))
</details>

<details><summary>google-cloud-testutils: 1.10.0</summary>

##
[1.10.0](google-cloud-testutils-v1.9.3...google-cloud-testutils-v1.10.0)
(2026-09-29)


### Features

* declare Python3.15 support
([05b0c34](05b0c34))
</details>

<details><summary>google-resumable-media: 2.11.0</summary>

##
[2.11.0](google-resumable-media-v2.10.2...google-resumable-media-v2.11.0)
(2026-09-29)


### Features

* declare Python3.15 support
([05b0c34](05b0c34))
</details>

<details><summary>googleapis-common-protos: 1.75.5</summary>

##
[1.75.5](googleapis-common-protos-v1.75.4...googleapis-common-protos-v1.75.5)
(2026-09-29)


### Bug Fixes

* resolve error where google/longrunning/operations.proto is missing
([#18477](#18477))
([e1d306a](e1d306a)),
refs
[#18478](#18478)
</details>

<details><summary>proto-plus: 1.29.0</summary>

##
[1.29.0](proto-plus-v1.28.4...proto-plus-v1.29.0)
(2026-09-29)


### Features

* declare Python3.15 support
([05b0c34](05b0c34))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants