Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Slather and DataDog CI collide due to searching for CodeCoverage directories

Đang mở
#577 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của SlatherOrg/slather

Tất cả issue của SlatherOrg/slather

Issue tương tự

Thêm issue về Ruby

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.