googleapis / googleapis/google-cloud-python

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

Đang mở
#17,710 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
type: process
Ngôn ngữ chính
Python
Star
5.4k
Fork
1.8k
Merge trung bình
3 ngày 4 giờ
Pull request đã merge (30 ngày)
122

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
ci-cd, performance, testing
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.