Skip to content

Conversation

@aka-bo
Copy link
Contributor

@aka-bo aka-bo commented Jan 12, 2026

To help us get this pull request reviewed and merged quickly, please be sure to include the following items:

  • Tests (if applicable)
  • Documentation (if applicable)
  • Changelog entry
  • A full explanation here in the PR description of the work done

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Tests
  • Other

Backward Compatibility

Is this change backward compatible with the most recently released version? Does it introduce changes which might change the user experience in any way? Does it alter the API in any way?

  • Yes (backward compatible)
  • No (breaking changes)

What's new?

Reduces Cross-Language Tests job runtime from ~17 minutes to ~3 minutes by fixing ineffective pip caching.

  • Add cache-dependency-path to setup-python actions for proper pip cache restoration
  • Move pip install from shell scripts to dedicated workflow steps
  • Remove unnecessary apt-get upgrade that was upgrading 80+ unrelated system packages

Add cache-dependency-path to setup-python action and move pip install
to a dedicated workflow step. This fixes ~13 minute delay caused by
uncached grpcio package downloads.
Add cache-dependency-path to setup-python action and move pip install
    to a dedicated workflow step.
The apt-get upgrade was upgrading 80+ unrelated system packages
(Firefox, PHP, gnupg, etc.) taking ~2 minutes. Only build-essential
is needed as a fallback for compiling Python wheels on cache miss.
@aka-bo aka-bo merged commit 66a5744 into main Jan 12, 2026
15 checks passed
@aka-bo aka-bo deleted the cross-language-pip-caching branch January 12, 2026 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants