pregate: safe handling of removed non-test paths and source renames (follow-up to #3529)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- dart, javascript, python, typescript
Hướng nghiên cứu
Read the GSTA-137 review outputs adversarial-native-5a1577b.txt and fix-check2.txt, then trace how lanes reports PREGATE_NO_LANE for removed paths. The issue calls for a design that detects extensionless, dotted-module, and computed references safely, including old names from source renames. Done means removed source paths and rename old names are handled without waiving paths that remaining tests or code still reference.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Follow-up to #3529 / #3534 (GSTA-137). #3534 waives only removed tests. Every other removed path still fails lanes with PREGATE_NO_LANE until a test or a dependencies entry covers it. That includes a deleted source file nothing uses and a renamed source file's old name, so dead-code cleanups and source renames still need a hand-written entry.
Why it was narrowed. Earlier cycles of #3534 waived a removed JS, TS, Python or Dart file when no remaining file imported it or mentioned its basename. Review kept finding references that check missed, and each one passed pregate while a remaining test failed after merge:
- a computed
path.join(__dirname, 'lib', 'value.js') importlib.import_module("app.handlers")python3 -m tools.clinode lib/cliin package.json
Main refuses all four. The controller (GStack Minder) narrowed plan item D3 to removed tests only.
What a safe design needs. It needs reference detection that fails closed for extensionless, dotted-module and computed references. One option is to resolve a removed source file's old name the way an edit to it would be resolved, then run those tests instead of waiving it. It also needs the same treatment for a source rename's old name.
Evidence: GSTA-137 review outputs adversarial-native-5a1577b.txt and fix-check2.txt.
- Ngôn ngữ chính
- TypeScript
- Star
- 143k
- Fork
- 21k
- Merge trung bình
- 5 giờ 25 phút
- Pull request đã merge (30 ngày)
- 791
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của garrytan/gstack
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
garrytan/gstack#4971 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement S3
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
garrytan/gstack#4768 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement S3
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 60/100
garrytan/gstack#4766 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
S3
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
garrytan/gstack#4765 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement S3
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
garrytan/gstack#4764 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của garrytan/gstack
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
cloudhal-dev/podbay#235 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: bio enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Hilal-11/snaplnk.io#36 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
elecnix/bellwether#570 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
canblmz1/prefix-safe-json#135 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ionic-team/capacitor#8759 ·
Maintainer thường phản hồi trong vòng 1 ngày