CRAP: newly scored platform-apple simulator boot retry and macOS helper file listing
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- mobile-dev, testing-qa
Hướng nghiên cứu
Start with packages/platform-apple/src/core/simulator.ts and its simulator boot entry point; add coverage for shouldRetry and classifyReason through that public path. Then inspect packages/platform-apple/src/os/macos/helper.ts and test listMacOsHelperSourceFiles through its owning module. Run pnpm check:coverage-crap --all on a branch containing #3448 and finish with pnpm check:affected --run; #3323 also edits the helper file.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Purpose
These findings were exposed by #3448, which patches the coverage tooling (part of #3425) so the six files that used to be unscored now get scores. Re-scoring them (full pnpm test:coverage on #3448's head, then pnpm check:coverage-crap --all) adds three functions at or above CRAP 30.
Findings (head 18d22c745 of #3448)
| Function | CRAP | CC | Coverage |
|---|---|---|---|
packages/platform-apple/src/core/simulator.ts:142 shouldRetry (boot retry policy) |
72 | 8 | 0% |
packages/platform-apple/src/core/simulator.ts:156 classifyReason (boot deadline classifier) |
56 | 7 | 0% |
packages/platform-apple/src/os/macos/helper.ts:190 files (listMacOsHelperSourceFiles entry mapper) |
42 | 6 | 0% |
Owned files
packages/platform-apple/src/core/simulator.tspackages/platform-apple/src/os/macos/helper.ts
Notes
shouldRetry,classifyReasonand thecatchblock each rebuild the sameclassifyBootFailureinput frombootStatusResult?.stdout ?? bootResult?.stdout. One local classifier closure would remove most of that branching, so covering the retry and deadline paths through the simulator boot entry point may need only a small production change.- Open #3323 also edits
os/macos/helper.ts. Add tests only for that file, or rebase onto #3323 first. - These scores depend on #3448's patches. Without them, the two files stay unscored on
main, so measure on a branch that includes #3448 (or after it merges).
Completion
- None of the three functions is listed by
pnpm check:coverage-crap --allon the PR head (with #3448's patches). - Tests go through the owning module's public entry point. No new production exports for tests and no test-only DI.
pnpm check:affected --runpasses on the pushed head.
Part of #3414.
- Ngôn ngữ chính
- TypeScript
- Star
- 5k
- Fork
- 334
- Merge trung bình
- 13 giờ 19 phút
- Pull request đã merge (30 ngày)
- 630
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 callstack/agent-device
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
callstack/agent-device#3627 ·
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 88/100
callstack/agent-device#3353 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
callstack/agent-device#1869 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
iOS 26: `_UIFloatingBarContainerView` marks sheet content (and sometimes whole screens) as coveredĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
callstack/agent-device#3628 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
on-hold refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 40/100
callstack/agent-device#3607 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của callstack/agent-device
Issue tương tự
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OWASP/cve-lite-cli#1335 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Windows: main-screen mouse tracking requires WT_SESSION, so it never enables inside herdr panesĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
code-yeongyu/senpi#3353 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Channels status: needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
mastra-ai/mastra#27093 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement needs-triage ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày