hardhat-gas-reporter icon indicating copy to clipboard operation
hardhat-gas-reporter copied to clipboard

request: other options aside from code checks which isn't under active development anymore

Open matthewlilley opened this issue 2 years ago • 3 comments

As the title suggests, code checks is no longer under active development. It would be great to have some other options here.

matthewlilley avatar Jul 19 '21 17:07 matthewlilley

Agree. I love codechecks so much. Tears. And more tears.

cgewecke avatar Aug 27 '21 00:08 cgewecke

@cgewecke any ideas for some kind of a similar setup? I'd really like to see this.

matthewlilley avatar Jan 10 '22 09:01 matthewlilley

@matthewlilley

Yes. I think there is (theoretically) a way to do it without an external service (Chris Kaczor the codechecks maintainer suggested this to me a couple years ago...)

You would use your CI service's artifacts or long-term storage API as a simple file "database". Check results would be stored there instead of on the codechecks backend. CircleCI has an API like this and I believe Github actions has one too:

https://circleci.com/docs/2.0/artifacts/

I think it should be possible to trigger Github checks within CI somehow...like maybe by spinning up a Probots dev instance as part of the CI run. (That might be more complicated than it needs to be).

In the worst case you would need to host your own probots service in the cloud somewhere.

An example of a probots github check that uses a similar feature set to CodeChecks is here:

https://github.com/tianhaoz95/check-group

I would also love to see a free standing solution for this worked out.

One note... I think Codechecks received some funding from OptimismPBC so maybe it will see further development. Not sure what the status of the optimism grants is exactly - this project was also awarded something but idk if they've distributed anything yet or not.

cgewecke avatar Jan 11 '22 01:01 cgewecke