I've created https://github.com/apache/solr/pull/3358 that should solve this issue and allow the production flag to be set to false again.
On Tue, May 20, 2025 at 8:05 AM Rahul Goswami <rahul196...@gmail.com> wrote: > Thanks Christos. The "production=true" workaround worked for me. > > Regards, > Rahul > > On Sat, May 17, 2025 at 9:20 AM Christos Malliaridis < > c.malliari...@gmail.com> wrote: > > > Thanks for reporting this. > > > > Jason has reported similar issues on Slack and I forgot to investigate > it. > > You should be able to workaround this by using `production=true` in your > > gradle.properties file. I have also found a few reports online and > > workarounds that didn't work straight away, so I will investigate and > > report back here. > > > > Here is the slack thread where we discussed that: > > https://the-asf.slack.com/archives/CEKUCUNE9/p1740068881794669 > > > > Best, > > Christos > > > > On Fri, May 16, 2025 at 8:14 PM Rahul Goswami <rahul196...@gmail.com> > > wrote: > > > > > Getting a weird error while running "gradlew assemble" on a feature > > branch > > > for a PR. On both Windows and MacOS. > > > > > > > > > gradle is not my area of expertise, and so wanted to check if the issue > > is > > > obvious to anyone before I go down the path of following the resolution > > > steps. Or maybe even something that might need fixing(?). Thank you! > > > > > > > > > > > > > > > FAILURE: Build failed with an exception. > > > > > > > > > * What went wrong: > > > > > > A problem was found with the configuration of task > > > ':solr:ui:wasmJsProductionExecutableCompileSync' (type > > > 'DefaultIncrementalSyncTask'). > > > > > > - Gradle detected a problem with the following location: > > > > > > > > > '/Users/rahulgoswami/Desktop/OpenSource_Repos/Solr-RG/solr/build/js/packages/composeApp/kotlin'. > > > > > > > > > > > > Reason: Task ':solr:ui:wasmJsBrowserDevelopmentWebpack' uses this > > > output of task ':solr:ui:wasmJsProductionExecutableCompileSync' without > > > declaring an explicit or implicit dependency. This can lead to > incorrect > > > results being produced, depending on what order the tasks are executed. > > > > > > > > > > > > Possible solutions: > > > > > > 1. Declare task ':solr:ui:wasmJsProductionExecutableCompileSync' > as > > > an input of ':solr:ui:wasmJsBrowserDevelopmentWebpack'. > > > > > > 2. Declare an explicit dependency on > > > ':solr:ui:wasmJsProductionExecutableCompileSync' from > > > ':solr:ui:wasmJsBrowserDevelopmentWebpack' using Task#dependsOn. > > > > > > 3. Declare an explicit dependency on > > > ':solr:ui:wasmJsProductionExecutableCompileSync' from > > > ':solr:ui:wasmJsBrowserDevelopmentWebpack' using Task#mustRunAfter. > > > > > > > > > > > > -Rahul > > > > > >