404 on file view when the branch have a "/" character

Description

Hello dear Codecov community,

When trying to view the coverage of a specific file and the branch contains a / like the following: bugfix/my-fix the UI responds with a 404 error.

There’s no issue when we try to display the build via the commit or if the branch name doesn’t have a /

Here are two links for reference:
branch: Codecov
commit: https://codecov.io/gh/scality/Arsenal/commit/5d4b51c7ccdd6eb5ce5f145dbaba47403d247399/

CI/CD URL

Github action build

Codecov Output

Run codecov/codecov-action@v2
==> linux OS detected
https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (330066ecce62f2cdcfd2fe1845095475f51bbad9649dce81ac7b663dc884bbef  codecov)
==> Running version latest
==> Running version v0.1.9
/home/runner/work/_actions/codecov/codecov-action/v2/dist/codecov -n  -Q github-action-2.1.0
[2022-01-19T23:35:22.907Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/

  Codecov report uploader 0.1.15
[2022-01-19T23:35:22.915Z] ['info'] => Project root located at: /home/runner/work/Arsenal/Arsenal
[2022-01-19T23:35:22.917Z] ['info'] -> No token specified or token is empty
[2022-01-19T23:35:22.927Z] ['info'] Searching for coverage files...
[2022-01-19T23:35:22.986Z] ['info'] Warning: Some files located via search were excluded from upload.
[2022-01-19T23:35:22.986Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
[2022-01-19T23:35:22.986Z] ['info'] => Found 1 possible coverage files:
  coverage/lcov.info
[2022-01-19T23:35:22.987Z] ['info'] Processing /home/runner/work/Arsenal/Arsenal/coverage/lcov.info...
[2022-01-19T23:35:23.011Z] ['info'] Detected GitHub Actions as the CI provider.
[2022-01-19T23:35:23.013Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-2.1.0-uploader-0.1.15&token=*******&branch=bugfix%2FARSN-51-codecov-file-not-displaying&build=1720775925&build_url=https%3A%2F%2Fgithub.com%2Fscality%2FArsenal%2Factions%2Fruns%2F1720775925&commit=5d4b51c7ccdd6eb5ce5f145dbaba47403d247399&job=tests&pr=&service=github-actions&slug=scality%2FArsenal&name=&tag=&flags=&parent=
[2022-01-19T23:35:24.228Z] ['info'] Uploading...
[2022-01-19T23:35:24.442Z] ['info'] {"status":"success","resultURL":"https://codecov.io/github/scality/Arsenal/commit/5d4b51c7ccdd6eb5ce5f145dbaba47403d247399"}

Expected Results

When clicking on the following link Codecov I expect to see the file view with it’s coverage.

Actual Results

I get a 404 error

Additional Information

To reproduce the issue try creating a new branch with a / in the name and check if you are able to use the file view.

Thanks in advance for your help!

@tcarmet sorry for the delay here, I’ll have the product team take a look.

Thank you @tom, no worries about the delay.

If you need any additional information to help the product team please feel free to ask

Kind regards,

Thomas

@tcarmet thanks for the patience here. This should be resolved now.