-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade jape #742
Upgrade jape #742
Conversation
That's odd. Before we merged the jape changes I tested it on a copy of renterd at https://github.com/test5000009/renterd/actions/runs/6747834229 and it found the unused routes in Edit:
Looks like jape v0.10.0 is being used which predates my changes (despite the fact that v0.11.0 was published and should work). The analyzer adds @Head if a version isn't requested so it should be getting the latest version. |
I got this configuration:
working on my test repository, using |
Thanks @chris124567 - took me one hour this morning to come to that same conclusion you left on my PR 🤣 |
Hm @chris124567 it seems that the jape analyzer has an NDF now where it claims the client is missing methods for every single route. Any clue why that might be? If I run
https://github.com/SiaFoundation/renterd/actions/runs/6891677726/job/18747258490?pr=742 |
I got:
on latest renterd. But if I run it multiple times I sometimes get your output. Looks like this is a concurrency related issue (when multiple directories are passed they are are all analyzed in parallel). If I run jape built locally with |
OK I made SiaFoundation/jape#16. On that branch I get the same output 100% of the time and no races. Sorry for the bug - guess I just got lucky in testing because it didn't show up then.
|
... there we go. |
jape
hasn't been running for some time again and it shows because our clients have a small issue here and there (fixed here. Special thanks to @chris124567 for updatingjape
so it can handle client definitions in sub-packages and extending the GH action to support passing in directories