The pre-commit CI check frequently fails on commits pushed to main by copybara-service. Filtering the Actions tab by is:failure branch:main shows 90+ failures, all from the internal pipeline.
Since pre-commit/action runs --all-files, any external PR that touches .py files inherits these pre-existing failures and cannot pass CI — even when the PR's own changes are correctly formatted.
Example: commit e5af12c2 introduced formatting issues in:
src/google/adk/flows/llm_flows/base_llm_flow.py
src/google/adk/flows/llm_flows/basic.py
src/google/adk/models/gemini_llm_connection.py
tests/unittests/flows/llm_flows/test_base_llm_flow.py
tests/unittests/models/test_gemini_llm_connection.py
The check ran and failed, but since the changes were pushed directly, the check is just informational. As a result, contributor branches are now also failing — see here.
Ask: Could the internal pipeline run isort and pyink before syncing to GitHub, to match the public pre-commit checks?
The pre-commit CI check frequently fails on commits pushed to
mainbycopybara-service. Filtering the Actions tab byis:failure branch:mainshows 90+ failures, all from the internal pipeline.Since
pre-commit/actionruns--all-files, any external PR that touches.pyfiles inherits these pre-existing failures and cannot pass CI — even when the PR's own changes are correctly formatted.Example: commit e5af12c2 introduced formatting issues in:
src/google/adk/flows/llm_flows/base_llm_flow.pysrc/google/adk/flows/llm_flows/basic.pysrc/google/adk/models/gemini_llm_connection.pytests/unittests/flows/llm_flows/test_base_llm_flow.pytests/unittests/models/test_gemini_llm_connection.pyThe check ran and failed, but since the changes were pushed directly, the check is just informational. As a result, contributor branches are now also failing — see here.
Ask: Could the internal pipeline run
isortandpyinkbefore syncing to GitHub, to match the public pre-commit checks?