IcyyDicy
IcyyDicy•2y ago

App bricked after partially building it out

Hello, we're trying out windmill for the first time. One of my partners was building out a dashboard app and the entire web page became completely unresponsive. It's hard to say for sure what was done right before the freeze, but it looks like it was around the time they started connecting data to components. It appears that the task execution never finishes, and there is an unhandled promise rejection error in the console. Also, this breaks the entire UI. I need to go to the main windmill page manually, the home button no longer works. The app is currently saved as a draft and therefore only happens in the app's editor. We're trying to make a new app
24 Replies
rubenf
rubenf•2y ago
Hi @theicystar , I can investigate the error. Some errors will have the unfortunate effect of going up to the svelte runtime and make it completely unresponsive. Usually, our code is very defensive but it seems we missed that one.
IcyyDicy
IcyyDicyOP•2y ago
Thanks for looking into this! I'm here if you need anything from my end
rubenf
rubenf•2y ago
Does it break as soon as you enter the app editor ?
IcyyDicy
IcyyDicyOP•2y ago
Yes, immediately
rubenf
rubenf•2y ago
From the error, it looks like some code inside the tanstack table is throwing an exception. in particular $table.getHeaderGroup So I would wage that the input data is not in the correct format, however we should be able to be defensive about it
IcyyDicy
IcyyDicyOP•2y ago
Yeah, because the app became unresponsive we can't undo any of the things that broke anything
rubenf
rubenf•2y ago
I will do a quick fix I have a fix being deployed, pull in around 8 mins
IcyyDicy
IcyyDicyOP•2y ago
Awesome, thanks for the fast fix!
rubenf
rubenf•2y ago
is available now
IcyyDicy
IcyyDicyOP•2y ago
Unfortunately it's still happening
rubenf
rubenf•2y ago
can you check on what version of the app you are on you can go to account settings to display it also, don't forget to refresh the app after update by doing a full page refresh
IcyyDicy
IcyyDicyOP•2y ago
Windmill EE v1.119.0
rubenf
rubenf•2y ago
yeah that's not latest are you using helm ? or docker compose ? anyway you need main latest on tag main
IcyyDicy
IcyyDicyOP•2y ago
I'm using the cloud version, app.windmill.dev
rubenf
rubenf•2y ago
Ah then give me a few mins, I will update it should be available now available now b tw
IcyyDicy
IcyyDicyOP•2y ago
On the version Windmill EE v1.120.0-2-gee433bdd, Still errors, but a different error.
rubenf
rubenf•2y ago
that's progress 😉
IcyyDicy
IcyyDicyOP•2y ago
I'm converting the video for you right now Is there a way I can export the app for you to be able to replicate it in your environment?
rubenf
rubenf•2y ago
That looks like the previous error Is that after a page refresh ? THe version is the one of the b ackend
IcyyDicy
IcyyDicyOP•2y ago
Yes, tested on both firefox and chrome I will test it one more time though
rubenf
rubenf•2y ago
THere is one easy way, if you can give me the workspace id and path I can inspect directly
IcyyDicy
IcyyDicyOP•2y ago
Chrome after emptying and hard reload. I'll get you the ids now Not too sure if this is the actual ID but buymyspot-admin is the name of the workspace u/apetrov98/testapp1 is the path, I believe
rubenf
rubenf•2y ago
Perfect on it Ok I found and fixed the issue will redeploy in a few mins The issue was the empty field: "" Thanks for the report @theicystar
IcyyDicy
IcyyDicyOP•2y ago
Glad I could help, and thanks for your help!