Rico
Rico
Explore posts from servers
WWindmill
Created by Rico on 7/24/2024 in #help
After upgrading windmill, we are now seeing this error "string too long to represent as jsonb string
This is a new error after upgrading. Although we were many versions behind, there weren't any breaking changes listed. Some of the job which used to run successfully, now run into this error "string too long to represent as jsonb string". I am pretty sure this is a Postgres issue but unsure why it now starting showing up. Any guidance would be appreciated
9 replies
RRailway
Created by Rico on 3/8/2024 in #✋|help
Can the allocated disk space for a Postgres volume be increased past 50GB at least temporarily?
Log purging / rotation was not working properly and has exhausted our disk space. We are now troubleshooting but temporarily locked out of the DB. If we could allocate some more space to it we would be able to resolve the issue quicker. Any chance anyone could help?
17 replies
WWindmill
Created by Rico on 2/6/2024 in #help
GQL call requires SiteLocale as a string parameter but windmill infers its type as an object
I need to pass SiteLocale as a string but Windmill infers it as an object. I am unsure on how to override the custom UI for it. I am looking into JSON schemas but unsure how to edit it. Thanks.
1 replies
RRailway
Created by Rico on 1/18/2024 in #✋|help
Redis dropping connection and not restarting on multiple environments simultaneously
New to railway and hope someone can help. I have a Nest Api deployed on two environments (develop and production) and each are connected to a Redis instance via the public URL (am having issues with PRIVATE_URL but will test the "sleep 3" fix shortly). Unfortunately, once a day, the connection to Redis drops and it does not reconnect leaving my API service completely unavailable. This happens at the exact same time on both environments which makes me believe it's related to Railway or connected to a deploy somehow (although each env is associated with a different branch / deployment cycle). For context, this project is an NX monorepo. I saw another similar post but with no clear resolution and in my scenario, the APIs are getting hit regularly.
Has anyone experienced this? Any suggestions? PS: I will followup with the exact error when it happens again. I disabled redis on production env for now since it is not critical at the moment but will be soon. Thanks in advance.
10 replies
WWindmill
Created by Rico on 12/23/2023 in #help
How to handle a paginated graphQL request?
Hello, I have been really enjoying using windmill and I figure I am missing something but how should I handle paginated graphQL requests? I have a a graphQL request which takes a "first" prop to make paginated requests and I have used a while loop in the past to keep fetching pages until I retrieved all necessary records. However, I am unsure how to do it the Windmill way. To be clear, this is being used for a data pipeline so all the data needs to be fetched and processed so I need to paginate through it all. Any suggestions would be great. Thanks.
5 replies
WWindmill
Created by Rico on 10/26/2023 in #help
Using a function's output typescript types in the next step of the flow
I have a function whose output is properly typed but when I use that output as the next function's input, I am redefining the types. What is the recommended way for functions in a flow to share types?
2 replies