googleapis / googleapis/google-cloud-python

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

未关闭
#17,710 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
type: process
主要语言
Python
星标
5.4k
派生
1.8k
平均合并
3 天 4 小时
30 天内合并 PR
122

描述

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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
ci-cd, performance, testing
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。