googleapis / googleapis/google-cloud-python

Tracking CI/Profiler Check Reliability and Timeout Issues for Lazy Imports Validation

Offen
#17,710 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
type: process
Vorherrschende Sprache
Python
Sterne
5.4k
Forks
1.8k
Ø Merge
3 T. 4 Std.
Gemergte PRs (30 T.)
122

Beschreibung

### Determine this is the right repository

- [x] I determined this is the correct repository in which to report this bug.

### Summary of the issue
In order to prevent maintaining custom subprocess-based unit tests for PEP 810 lazy imports validation, we have removed `test_lazy_imports.py` from the `google-auth` package transport tests.

Instead, we plan to rely on the CI/profiler check to detect and prevent import performance regressions. However, the profiler check has recently timed out (e.g., in https://github.com/googleapis/google-cloud-python/pull/17705).

We are filing this issue to:
1. Track the reliability and performance of the CI/profiler check separately.
2. Investigate the timeout issues reported in https://github.com/googleapis/google-cloud-python/pull/17705.
3. Ensure that any future eager import regressions are caught reliably by CI rather than individual package unit tests.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Review PR 17705 and the removed test_lazy_imports.py context first, then locate the CI/profiler check responsible for lazy-import validation. Investigate why the check timed out and define reliability criteria; done means the check completes consistently and catches future eager-import regressions without package-specific tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
ci-cd, performance, testing
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.