Skip to content

google-cloud-tasks create_task function hangs when using grpcio 1.78.1 #15613

@aalbinati

Description

@aalbinati

Determine this is the right repository

  • I determined this is the correct repository in which to report this bug.

Summary of the issue

Context
My code recently broke because all create_task calls suddenly started hanging when the grpcio dependency was updated from 1.78.1 to 1.78.0, I'm using Python 3.14

CloudClientManager.tasks_client.create_task(parent=queue_path, task=task) # Code being executed

Expected Behavior:
The function shouldn't hang

Actual Behavior:
It hangs there even if setting a timeout. I suppose restricting the dependency to using grpcio 1.78.0 or lower can temporarily patch the issue but further investigation should be made to understand the root cause.

API client name and version

google-cloud-tasks 2.21.0

Reproduction steps: code

file: main.py

   def reproduce():
    # complete code here

Reproduction steps: supporting files

file: mydata.csv

alpha,1,3
beta,2,5

Reproduction steps: actual results

file: output.txtmydata.csv

Calculated: foo

Reproduction steps: expected results

file: output.txtmydata.csv

Calculated: bar

OS & version + platform

No response

Python environment

Python 3.14

Python dependencies

grpcio 1.78.1

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions