Hi, I am trying to find why cljdoc gives me an "analysis-job-failed" error but I am clueless. The project is https://github.com/green-coder/girouette, and I can reproduce the problem on my project's master branch from a local instance of cljdoc.
To build girouette.jar and pom.xml:
⢠clone the repo
⢠cd lib/girouette
⢠clojure -X:depstar
404 š
probably there is a problem with CI, because for all jobs from cljdoc returns 404
Heya! I'll take a peek in a bit...
Seems like circleci changed their URL scheme maybe? https://app.circleci.com/jobs/github/cljdoc/builder/44546 is now reachable via?: https://app.circleci.com/pipelines/github/cljdoc/builder/jobs/44546
I just asked over on #circleci
Once we understand what's going on I'll update cljdoc to conform.
Nothing back from team CircleCI yet. We are using their v1 REST API and they told us a while back there was no need to switch to v2. But maybe they no longer test thoroughly using v1 anymore. I could switch us over to v2, I suppose.
(the 404 url we use, we get back from CircleCI, so technically a bug on their side)
@vincent.cantin I just reran girouette and the link back to circleci seems to be working now. Lemme know if you need a hand diagnosing analysis failure. (Iām assuming the 404 was your first issue?)
For analysis: Clojure analysis is passing, ClojureScript is failing. Is girouette also ClojureScript compatible today? If it is Clojure only you can https://github.com/cljdoc/cljdoc/blob/master/doc/userguide/for-library-authors.adoc#languages.
Normally, it should work for both cljs and clj. My problem is only with the analyzer, it seems that it doesn't like how I refer to record types defined in other namespaces, like garden.selectors.CSSSelector and garden.types.CSSAtRule .
Do you know the right way to do it?
http://github.com/green-coder/girouette/blob/34f8cabdd605e93bd2ced4e5be29f611557d4b76/lib/girouette/src/girouette/tw/common.cljc#L142-L142
http://github.com/green-coder/girouette/blob/34f8cabdd605e93bd2ced4e5be29f611557d4b76/lib/girouette/src/girouette/garden/util.cljc#L63-L63
Wait, I am trying a few things right now.
https://github.com/green-coder/girouette/commit/4870d58e65d1eea169333c3b92c0fb0dfdd64d36 fixed it š
Congrats @vincent.cantin!
Now @huxley, were you reporting a separate problem with the 404 error? If so, can you tell me more about it?
I just wanted to help Vincent, but the link to his failed build gave a 404
cljdoc works like gold and I haven't had a single problem since you've been messing with me ā¤ļø
Ah, thanks! I think that might have been a temporary issue from CircleCI, but am very interested to hear if it hits anybody again.