googleapis / googleapis/google-cloud-python

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

Ouverte
#17,710 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
type: process
Langage dominant
Python
Étoiles
5.4k
Forks
1.8k
Merge moyen
3 j 4 h
PR mergées (30 j)
122

Description

### 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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
ci-cd, performance, testing
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Calme
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.