The dashboard pageviews functionality introduced a change that causes bb uberjar to fail with an error, making it impossible to deploy.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
In Progress | KBach | T334839 Build a documentation metrics dashboard | |||
In Progress | KBach | T334843 Implement MVP | |||
Resolved | KBach | T337216 R6 - Available metrics | |||
Resolved | KBach | T344986 T3 - Production deployment on Toolforge | |||
Resolved | BUG REPORT | KBach | T345073 Feature/pageviews does not build |
Event Timeline
Comment Actions
Confirmed on macOS, does not occur on Linux. It is caused by case insensitivity of the OS. One workaround might be to exclude the file that causes the error in build.clj as described in https://clojure.github.io/tools.build/clojure.tools.build.api.html#var-uber.
Comment Actions
After review and discussion we have decided to keep the uberjar build as is. Our intention is to use the uberjar build only as a backup deployment mechanism, which will likely happen on Linux anyway (the uberjar build works on Linux).
Workaround
On macOS and Windows, you can use the new jar build process (bb jar or clojure -T:build jar) to verify that the application compiles correctly.