Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Slather and DataDog CI collide due to searching for CodeCoverage directories

Aperta
#577 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
ruby
Ambito
testing-qa

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Ruby
Stelle
1.6k
Fork
239
Merge medio
10h 19m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SlatherOrg/slather

Tutte le issue di SlatherOrg/slather

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.