codecov / codecov-ruby

Ruby uploader for Codecov
https://codecov.io
MIT License
72 stars 82 forks source link

`0.2.0` and `0.1.20` worked, but becomes broken #72

Closed AlexWayfer closed 3 years ago

AlexWayfer commented 3 years ago

https://github.com/AlexWayfer/alt_memery/pull/9

https://cirrus-ci.com/task/6006359470637056?command=test#L0

image

AlexWayfer commented 3 years ago

0.1.20 is affected too:

https://github.com/AlexWayfer/module_methods/pull/5

https://cirrus-ci.com/task/6445327207104512

image

ShockwaveNN commented 3 years ago

Same here, seems there is some problems on back-end

steveburkett commented 3 years ago

seeing this problem right now.

->  Uploading to Codecov
https://codecov.io//upload/v2?token=x&flags&package=ruby-0.2.0&branch=sb%2F16-setup-ci&commit=c987544b38779b9bc799beecb09544dfca381126.rvm/gems/ruby-2.6.5@event-capture-api/gems/json-2.3.1/lib/json/common.rb:263:in `parse': 784: unexpected token at '<!DOCTYPE html> (JSON::ParserError)
<html lang="en">
<head>

looks like someone changed the codecov BE to return html, not JSON as it was expecting :)

thomasrockhu commented 3 years ago

Hi @steveburkett, can you share a build URL for the above?

thomasrockhu commented 3 years ago

@AlexWayfer, for your case, the token you are providing is not a UUID. Can you double-check how you are supplying CODECOV_TOKEN?

AlexWayfer commented 3 years ago

@AlexWayfer, for your case, the token you are providing is not a UUID. Can you double-check how you are supplying CODECOV_TOKEN?

Yes, it's encrypted by Cirrus CI.

thomasrockhu commented 3 years ago

We just released 0.2.1 of the gem, would you be able to see what happens now?

steveburkett commented 3 years ago

@thomasrockhu that fixed it! awesome!

AlexWayfer commented 3 years ago

We just released 0.2.1 of the gem, would you be able to see what happens now?

Now it works as I see, thank you.