Skip to content

Regeneration failed #17930

Closed
Closed

Description

@github-actions

The post-submit regeneration check failed.

Please investigate the failure. To keep the main branch healthy, please consider reverting the triggering change first.

You can identify the cause from the workflow logs:

  • If the step 'Check for generated code changes' failed, there are pending code changes that need to be committed.
  • If the step 'Regenerate' failed, the generation script itself encountered an error.

Activity

  1. github-actions commented on Jul 29, 2026

    @github-actions
    Author

    @googleapis/cloud-sdk-librarian-team The workflow failed. Workflow Run: https://github.com/googleapis/google-cloud-python/actions/runs/30436763794

  2. added
    🚨 criticalP0 critical issue. Fix immediately. Resolving this is the highest priority.
    on Jul 29, 2026
  3. zhumin8 commented on Jul 29, 2026

    @zhumin8
    Contributor

    #17561 introduced changes to generated file:

    ==================== GIT DIFF ====================
    diff --git a/packages/google-cloud-spanner/google/cloud/spanner_v1/services/spanner/transports/grpc_asyncio.py b/packages/google-cloud-spanner/google/cloud/spanner_v1/services/spanner/transports/grpc_asyncio.py
    index c56ab011..c688b31e 100644
    --- a/packages/google-cloud-spanner/google/cloud/spanner_v1/services/spanner/transports/grpc_asyncio.py
    +++ b/packages/google-cloud-spanner/google/cloud/spanner_v1/services/spanner/transports/grpc_asyncio.py
    @@ -32,10 +32,7 @@ from google.auth.transport.grpc import SslCredentials  # type: ignore
     from google.protobuf.json_format import MessageToJson
     from grpc.experimental import aio  # type: ignore
     
    -from google.cloud.spanner_v1.metrics.metrics_interceptor import (
    -    AsyncMetricsInterceptor,
    -    MetricsInterceptor,
    -)
    +from google.cloud.spanner_v1.metrics.metrics_interceptor import MetricsInterceptor
     from google.cloud.spanner_v1.types import (
         commit_response,
         location,
    @@ -330,26 +327,6 @@ class SpannerGrpcAsyncIOTransport(SpannerTransport):
                     ],
                 )
     
    -        if metrics_interceptor is not None:
    -            self._metrics_interceptor = AsyncMetricsInterceptor()
    -            # Attach interceptor directly since grpc.aio does not provide intercept_channel.
    -            if hasattr(self._grpc_channel, "_unary_unary_interceptors"):
    -                self._grpc_channel._unary_unary_interceptors.append(
    -                    self._metrics_interceptor
    -                )
    -            if hasattr(self._grpc_channel, "_unary_stream_interceptors"):
    -                self._grpc_channel._unary_stream_interceptors.append(
    -                    self._metrics_interceptor
    -                )
    -            if hasattr(self._grpc_channel, "_stream_unary_interceptors"):
    -                self._grpc_channel._stream_unary_interceptors.append(
    -                    self._metrics_interceptor
    -                )
    -            if hasattr(self._grpc_channel, "_stream_stream_interceptors"):
    -                self._grpc_channel._stream_stream_interceptors.append(
    -                    self._metrics_interceptor
    -                )
    -
             self._interceptor = _LoggingClientAIOInterceptor()
             self._grpc_channel._unary_unary_interceptors.append(self._interceptor)
             self._logged_channel = self._grpc_channel
    ==================================================
    Regeneration produced code changes! Please run 'librarian generate -all -v' to update the generated files.
    
  4. github-actions commented on Jul 29, 2026

    @github-actions
    Author
  5. github-actions commented on Jul 29, 2026

    @github-actions
    Author
  6. github-actions commented on Jul 29, 2026

    @github-actions
    Author
  7. github-actions commented on Jul 29, 2026

    @github-actions
    Author
  8. github-actions commented on Jul 29, 2026

    @github-actions
    Author
  9. parthea commented on Jul 29, 2026

    @parthea
    Contributor

    I'm looking into this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🚨 criticalP0 critical issue. Fix immediately. Resolving this is the highest priority.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions