cljdoc 2022-06-03

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

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

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

I just asked over on #circleci

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

šŸ‘ 2
šŸ™ 1

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

šŸŽ‰ 1

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.

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

1

cljdoc works like gold and I haven't had a single problem since you've been messing with me ā¤ļø

ā¤ļø 1

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