You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mileslane@timlkelly In case is still not working for you folks please share the codeclimate links of the repos so I can debug it. With codeclimate links I mean https://codeclimate.com/repos/<YOUR-REPO-ID>
Locally with the CodeClimate CLI, I get the same error.
❯ codeclimate version
0.85.24
❯ codeclimate validate-config
WARNING: unknown engine or channel <rubocop:rubocop-1-18-3>
I can't see this error on CodeClimate, so I am not sure what is happening there. But it is telling me that existing Rubocop offenses have been resolved (they haven't, they still break locally). So that leads me to believe something is not working correctly.
the codeclimate CLI gets its valid list of channels from here which is very outdated. it works fine for codeclimate-hosted builds though. to get it working locally just run:
what's strange to me, though, is that running the afore-mentioned command gives me many (correct) rubocop offenses which do not show up in codeclimate.com builds 🤔
the same "extra" issues show up when i run rubocop directly, so they are legit. they are mostly from rubocop-rspec and rubocop-rails, though. it looks like this engine should support rubocop-rspec at least.
I can confirm that, on codeclimate.com, our rubocop tests are now running as expected.
I think I may now have some understanding of the problem.
When I expanded the builder pull-engines section of the test output on codeclimate.com, I did not see codeclimate-rubocop:rubocop-1-18-3. Instead, I saw codeclimate-rubocop:b845
This indicates to me that there is some mapping within codeclimate.com between a branch name and a git tag.
In this case, rubocop-1-18-3 is causing the b845 tagged docker image to be used.
I have to guess that the reason this was not working earlier is that connection was not set up earlier.
@timlkelly@jakeonfire The CLI and the platform (codeclimate.com) work pretty much independently, which btw other things menas that they need to be updated separately and we still haven't updated the CLI to account for rubocop-1-18-3.
@timlkelly that's right I was also expecting for rubocop-graphql to be available on rubocop-1-18-3. We can talk about that separately.
@fede-moya got it, thank you! Regarding rubocop-graphql, that is working now. I was upgrading these two separately but it does work off of the 1-18-3 channel. Thank you for your help!
I believe the CLI is separate from the platform per @fede-moya's response above:
The CLI and the platform (codeclimate.com) work pretty much independently, which btw other things means that they need to be updated separately and we still haven't updated the CLI to account for rubocop-1-18-3.
Activity
timlkelly commentedon Jul 12, 2021
While the branches have been added, I think we're still waiting on another step for them to be available, see #290 (comment).
f-moya commentedon Jul 12, 2021
@mileslane @timlkelly It should be available by now. I'll check tomorrow morning why that's not the case.
f-moya commentedon Jul 12, 2021
@mileslane @timlkelly I have just gave it a shot and seems to be working just fine. Still isn't that the case ?
f-moya commentedon Jul 12, 2021
@mileslane @timlkelly In case is still not working for you folks please share the codeclimate links of the repos so I can debug it. With codeclimate links I mean
https://codeclimate.com/repos/<YOUR-REPO-ID>timlkelly commentedon Jul 13, 2021
Locally with the CodeClimate CLI, I get the same error.
I can't see this error on CodeClimate, so I am not sure what is happening there. But it is telling me that existing Rubocop offenses have been resolved (they haven't, they still break locally). So that leads me to believe something is not working correctly.
Separately, it does error when I try to use
rubocop-grapql, I know that is separate from the original issue reported but I thought it would also be available with the release. Details here, https://codeclimate.com/repos/51ca05b156b1023b0f002c42/builds/15424jakeonfire commentedon Jul 13, 2021
the codeclimate CLI gets its valid list of channels from here which is very outdated. it works fine for codeclimate-hosted builds though.
to get it working locally just run:Edit: i think i'm using the
--devflag incorrectly. there is probably a way to download theb845build and run it locally, though.jakeonfire commentedon Jul 13, 2021
what's strange to me, though, is that running the afore-mentioned command gives me many (correct) rubocop offenses which do not show up in codeclimate.com builds 🤔
the same "extra" issues show up when i run rubocop directly, so they are legit. they are mostly from
rubocop-rspecandrubocop-rails, though. it looks like this engine should supportrubocop-rspecat least.mileslane commentedon Jul 13, 2021
I can confirm that, on codeclimate.com, our rubocop tests are now running as expected.

I think I may now have some understanding of the problem.
When I expanded the
builder pull-enginessection of the test output on codeclimate.com, I did not seecodeclimate-rubocop:rubocop-1-18-3. Instead, I sawcodeclimate-rubocop:b845This indicates to me that there is some mapping within codeclimate.com between a branch name and a git tag.
In this case, rubocop-1-18-3 is causing the b845 tagged docker image to be used.
I have to guess that the reason this was not working earlier is that connection was not set up earlier.
The repo's .codeclimate.yml contains:
I would very much like it if these configuration issues could be fully explained here: https://docs.codeclimate.com/docs/rubocop
mileslane commentedon Jul 13, 2021
Thanks! :-)
f-moya commentedon Jul 13, 2021
@timlkelly @jakeonfire The CLI and the platform (codeclimate.com) work pretty much independently, which btw other things menas that they need to be updated separately and we still haven't updated the CLI to account for rubocop-1-18-3.
@timlkelly that's right I was also expecting for rubocop-graphql to be available on rubocop-1-18-3. We can talk about that separately.
timlkelly commentedon Jul 13, 2021
@fede-moya got it, thank you! Regarding rubocop-graphql, that is working now. I was upgrading these two separately but it does work off of the 1-18-3 channel. Thank you for your help!
f-moya commentedon Jul 13, 2021
@timlkelly great, good news! 🙌🏼 , anytime.
jakeonfire commentedon Jul 13, 2021
how does
rubocop-graphqlwork when it's not a dependency of the engine? i'm not getting my extensions to work via codeclimate.com...timlkelly commentedon Jul 13, 2021
@jakeonfire it works for me by using the latest channel (1-18-3) and then loading the gem as an extension.
f-moya commentedon Jul 19, 2021
@mileslane Hey! 🙌🏼 , working now ?
jakeonfire commentedon Jul 22, 2021
works for me! 🙌
anirudhchronus commentedon Sep 9, 2021
@mileslane @timlkelly Any update on this?
timlkelly commentedon Sep 9, 2021
@anirudhchronus
channel-1-18-3has been working as expected for me since my previous comments. AFAIK, this issue is resolved.katelovescode commentedon Sep 16, 2021
Still not working for me in the CLI:
timlkelly commentedon Sep 17, 2021
I believe the CLI is separate from the platform per @fede-moya's response above:
f-moya commentedon Sep 17, 2021
Thanks @timlkelly, yes, that's the case. @katelovescode I can trigger a CLI release including more recent rubocop versions, that sounds good ?
katelovescode commentedon Sep 19, 2021
Yes please, @fede-moya , that'd be amazing!
vladimirtemnikov commentedon Oct 1, 2021
@fede-moya Hello, looks like there is a problem with publishing new version of codeclimate with new rubocop versions :(
https://app.circleci.com/pipelines/github/codeclimate/codeclimate/203/workflows/a85684a4-46da-4bcd-a1ed-730f4259425e/jobs/2780
Is there a new docker image?
Looks like it never comes to pushing to docker hub/rubygems because of login failure to rubygems step.
BrianHawley commentedon Nov 16, 2021
This should be working now.