Fork me on GitHub
#cljdoc
<
2022-06-03
>
Vincent Cantin10:06:20

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.

Vincent Cantin10:06:31

To build girouette.jar and pom.xml: • clone the repo • cd lib/girouetteclojure -X:depstar

ribelo11:06:56

probably there is a problem with CI, because for all jobs from cljdoc returns 404

lread12:06:00

Heya! I'll take a peek in a bit...

lread12:06:01

I just asked over on #circleci

lread12:06:14

Once we understand what's going on I'll update cljdoc to conform.

👍 2
🙏 1
lread19:06:06

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.

lread19:06:22

(the 404 url we use, we get back from CircleCI, so technically a bug on their side)

lread19:06:19

@U8MJBRSR5 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?)

🎉 1
lread19:06:39

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.

Vincent Cantin07:06:45

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

Vincent Cantin08:06:32

Wait, I am trying a few things right now.

lread14:06:56

Now @U0BBFDED7, were you reporting a separate problem with the 404 error? If so, can you tell me more about it?

ribelo14:06:55

I just wanted to help Vincent, but the link to his failed build gave a 404

gratitude 1
ribelo14:06:10

cljdoc works like gold and I haven't had a single problem since you've been messing with me ❤️

❤️ 1
lread14:06:44

Ah, thanks! I think that might have been a temporary issue from CircleCI, but am very interested to hear if it hits anybody again.