Slather and DataDog CI collide due to searching for CodeCoverage directories
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- ruby
- Lĩnh vực
- testing-qa
Hướng nghiên cứu
The issue points to lib/slather/project.rb lines 214–226 and provides a fork commit with a proposed change. Read that code and compare it with the linked commit, then check how the CodeCoverage framework is handled when locating binaries. Done means the reported Datadog framework no longer triggers the old Xcode coverage folder handling; the payload names no test file to run.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
So DataDog has a Swift Test Optimization SDK which happens to have an internal framework named CodeCoverage.
This code in project.rb does not like this framework as it thinks it's an old Xcode CodeCoverage data folder: https://github.com/SlatherOrg/slather/blob/d0d5dd0e725459949f218f24556e388e6683e16e/lib/slather/project.rb#L214-L226
this leads to errors like:
slather-2.8.4/lib/slather/project.rb:607:in `find_binary_files': No product binary found in fastlaneDerivedDataOutput/Build/Products/Debug-iphonesimulator/DatadogSDKTesting.framework/Frameworks/CodeCoverage.framework/CodeCoverage. (StandardError)
I've got a fork with this change in it: https://github.com/SlatherOrg/slather/commit/da5f8e0bb49c65e4a3545b66accc20ced4b664cd
This seems to fix it but I'm not a ruby dev and I don't know this library much at all.
- Ngôn ngữ chính
- Ruby
- Star
- 1.6k
- Fork
- 239
- Merge trung bình
- 10 giờ 19 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 SlatherOrg/slather
-
2.8.6: NoMethodError "undefined method 'first'" in profdata_coverage_dir whenever --scheme is usedCó thể đã có người làm @MirekNalepa đã nhận 2 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
SlatherOrg/slather#586 · 4 bình luận · 4 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
SlatherOrg/slather#582 · 1 bình luận ·
-
is xcode 26 already supported?Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
SlatherOrg/slather#580 · 9 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 56/100
SlatherOrg/slather#578 · 3 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
SlatherOrg/slather#576 · 2 bình luận ·
Tất cả issue của SlatherOrg/slather
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
iOS podspec depends on `React-Codegen`, which resolves to an unrelated pod on CocoaPods trunkĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
GantMan/jail-monkey#380 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
voxpupuli/puppet-wireguard#151 ·
-
bug
Độ 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
-
bug f:search
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày