Page MenuHomePhabricator

Feature/pageviews does not build
Closed, ResolvedPublicBUG REPORT

Description

The dashboard pageviews functionality introduced a change that causes bb uberjar to fail with an error, making it impossible to deploy.

Related Objects

StatusSubtypeAssignedTask
In ProgressKBach
In ProgressKBach
ResolvedKBach
ResolvedKBach
ResolvedBUG REPORTKBach

Event Timeline

KBach changed the task status from Open to In Progress.Aug 28 2023, 12:50 PM
KBach triaged this task as High priority.
KBach created this task.
KBach changed the subtype of this task from "Task" to "Bug Report".

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.

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.