Skip to content

Continue analysing other namespaces after a failure #57

@danielcompton

Description

@danielcompton

I noticed shadow-cljs imports were failing. Looking at a recent build, I could see the error was:

Execution error (ClassNotFoundException) at java.net.URLClassLoader/findClass (URLClassLoader.java:476).\norg.graalvm.polyglot.PolyglotException$StackFrame\n",
  :clojure.main/triage
  {:clojure.error/class java.lang.ClassNotFoundException,
   :clojure.error/line 476,
   :clojure.error/cause
   "org.graalvm.polyglot.PolyglotException$StackFrame",
   :clojure.error/symbol java.net.URLClassLoader/findClass,
   :clojure.error/source "URLClassLoader.java",
   :clojure.error/phase :execution},

Even if we can't analyse that one namespace, there are probably other namespaces that could be analysed. It seems like it would be good to have an option to keep analysing other namespaces. At the end of the analysis, cljdoc could still show that there were errors, and in the namespace sidebar show the failed namespace in red.

This would let the rest of the library continue to be analysed, even if one part fails.

I'm not well versed in how this all works, so maybe this isn't possible/a good idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions