Replies: 3 comments 3 replies
-
In the immediate term, you can view this coverage just fine in the github ui using our browser extension (if you use Chrome or Firefox): This is, of course, not the ideal answer but I'm providing it here in the event that you just need to see line coverage immediately while we work on a solution to get this supported in the ui. My guess is you're correct, this is a 30,000 LoC file which is an edge case for us but is still something we should try to render. We'll dig into this and try to see if we can figure out the bottleneck to loading a file this large. Question, has this file worked recently in the UI? When was the last time you viewed this file in the Codecov UI it rendered properly? |
Beta Was this translation helpful? Give feedback.
-
@bqqbarbhg This is actually due to the GitHub API. Here is what is returned when we query that file:
Please note from GitHub's docs: https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#get-repository-content
Your In order to be able to fetch this file, we would need to refactor our API client to request the file in "raw". I am not sure what the work required to do this would involve. FYI: @eliatcodecov |
Beta Was this translation helpful? Give feedback.
-
This seems to be fixed, the reports load and render quite fast even given the large source size. Thank you and great work, I really appreciate the care for performance! |
Beta Was this translation helpful? Give feedback.
-
Hi! I've been happily using Codecov for multiple years now. The service has been able to handle large files in the past, the performance even had improved at one point. However, lately the performance has been dropping substantially, taking up to 60 seconds to display a large file (mostly in CSS layout according to the dev tools). Now it seems that the site is not able to display large files at all:
https://app.codecov.io/gh/ufbx/ufbx/blob/master/ufbx.c
This results in an "There was a problem getting the source code from your provider. Unable to show line by line coverage." error for me. The page used to work and the repository is configured correctly, you can see that the header loads correctly:
https://app.codecov.io/gh/ufbx/ufbx/blob/master/ufbx.h
This leads me to assume that the size of the file is the issue here. This regression unfortunately makes Codecov unusable for my project, even though it used to work. Is there anything that can be done about this?
Beta Was this translation helpful? Give feedback.
All reactions