Coverage URL in dashboard broken for some projects
- Dominant language
- Shell
- Stars
- 12.6k
- Forks
- 2.9k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 62
Description
I recently tried to view the code coverage for `cxxopts` and ended up getting an error page. This is the button I pressed (which works for other projects);

This is the error I got;

I after some experimenting with the normal URL style on OSS-fuzz I ended up being able to find the coverage url for `cxxopts`;
https://storage.googleapis.com/oss-fuzz-coverage/cxxopts/reports/20230221/linux/report.html
It's also worth noting that you need to navigate down several layers of directories to get to actual useful coverage information. I assume this has something to do with how Bazel manages code coverage information. e.g.
https://storage.googleapis.com/oss-fuzz-coverage/cxxopts/reports/20230221/linux/proc/self/cwd/bazel-out/k8-opt-ST-70f88549d21b/bin/report.html
Contributor guide
Research direction
Compare the dashboard's coverage URL for cxxopts with the working OSS-Fuzz storage URL and the nested Bazel report path shown in the issue. Trace how the coverage button constructs its destination, then verify that the resulting link opens the useful report page for projects with this layout.
Written by the indexing model from the issue text.
Assessment
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100