CycloneDX / CycloneDX/cyclonedx-python-lib

chore: have coverage uploaded consitently

Đang mở
#966 0 bình luận 0 reaction 1 người được giao Được @jkowalleck nhận Xem trên GitHub
chore
Ngôn ngữ chính
Python
Star
116
Fork
67
Merge trung bình
8 ngày 2 giờ
Pull request đã merge (30 ngày)
2

Mô tả

tracking: https://github.com/codacy/codacy-coverage-reporter-action/issues/97

> The Codacy coverage reporter sometimes fails when sending the final coverage notification:
>
> ```text
> --> Codacy reporter codacy-coverage-reporter-linux already in cache
> Running command: /home/runner/.cache/codacy/coverage-reporter/14.1.3/codacy-coverage-reporter final --project-token *** -->
> 2026-04-22 19:42:24.313Z info [ConfigurationRules] API base URL: https://api.codacy.com/ - (ConfigurationRules.scala:82)
> 2026-04-22 19:42:24.314Z info [CommitUUIDProvider] CI/CD provider GitHub Actions found Commit UUID 4ef5bc3eddb7a9f86763bd50bd3a9dc69c7d31fa - (CommitUUIDProvider.scala:135)
> 2026-04-22 19:42:54.465Z error [CodacyCoverageReporter] Failed to send final coverage notification: Error doing a post to https://api.codacy.com/2.0/commit/4ef5bc3eddb7a9f86763bd50bd3a9dc69c7d31fa/coverageFinal: exhausted retries due to Read timed out - (CodacyCoverageReporter.scala:28)
>
> --> Failed!
> ```
>
> Occurrence:
https://github.com/CycloneDX/cyclonedx-python-lib/actions/runs/24752613346/job/72575940666#step:3:418
>
> Workflow definition:
https://github.com/CycloneDX/cyclonedx-python-lib/blob/4ef5bc3eddb7a9f86763bd50bd3a9dc69c7d31fa/.github/workflows/python.yml#L248-L256
>
> I can only speculate, but this might be related to the large amount of coverage data produced across our test matrix.
>
> ---
>
> It sometimes fails, and sometimes the upload works as expected — for example, this run passed:
https://github.com/CycloneDX/cyclonedx-python-lib/actions/runs/24696612747/job/72230869738#step:3:420

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.