Chris @ Konnect3d
Changes aren't applying during wmill sync push as expected.
I'm having trouble understanding why everytime i try sync i'm getting a set of proposed changes to accept, even though i'm not making any changes.
$> wmill script generate-metadata --yes
...
No metadata to update
$> wmill sync push
...
~ flow f/flows/tally_registration.flow/flow.yaml
summary: ''
description: ''
...
required: []
visible_to_runner_only: false
ws_error_handler_muted: false
? Do you want to apply these 13 changes? (Y/n) › Yes
Applying changes to files ...
...
Done! All 13 changes pushed to the remote workspace k3-home named k3-home.
Then, if i run the same command again, without making any changes... i have more changes to apply... but they're the same (or overlapping?)
$> wmill sync push
...
~ flow f/flows/tally_registration.flow/flow.yaml
summary: ''
description: ''
...
required: []
visible_to_runner_only: false
ws_error_handler_muted: false
? Do you want to apply these 10 changes? (Y/n) › Yes
Applying changes to files ...
...
Done! All 10 changes pushed to the remote workspace k3-home named k3-home.
Note that time it was only 10... Now, if i keep running the same command over and over, it swaps between the 13 changes proposed and 10 changes proposed over and over infinitum.....
Where are the changes coming from? Why don't they seem to actually apply when i say yes?
Probably I'm just missing something obvious... or misunderstanding something.
Your advice is appreciated. Video reference attached.
10 replies
ERROR: A script with same hash (...) already exists! (RESOLVED)
Running into some strange issues today...
I've run the same command hundreds of times, but all the sudden i'm getting back an error when trying to sync push my latest changes. 15mm ago i didn't get the error. It's possible i broke something, but again, i'm not sure how or if in fact it is on my side at all. Your advice and support to debug is greatly appreciated.
$> wmill script generate-metadata --yes
... OK
$> wmill sync push --yes
...
Applying changes to files ...
Creating script with a parent f/configs/status
Creating script with a parent f/lib/airtable
Creating script with a parent f/lib/common
Creating script with a parent f/lib/tally
Server failed. Bad Request: Bad request: A script with same hash (hence same path, description, summary, content) already exists!
error: Uncaught (in promise) ApiError: Bad Request
at catchErrorCodes (file:///Users/cward/Library/Caches/deno/npm/registry.npmjs.org/windmill-client/1.319.1/dist/core/request.js:224:15)
at file:///Users/cward/Library/Caches/deno/npm/registry.npmjs.org/windmill-client/1.319.1/dist/core/request.js:269:45
at Generator.next (<anonymous>)
at fulfilled (file:///Users/cward/Library/Caches/deno/npm/registry.npmjs.org/windmill-client/1.319.1/dist/core/request.js:5:58)
at eventLoopTick (ext:core/01_core.js:168:7)
5 replies
Failed to request tarball from API Bad RequestSql error (RESOLVED)
Hi, i'm encountering a strange error.
$> wmill sync push
No defaultTs defined in your wmill.yaml. Using 'bun' as default.
Computing the files to update on the remote to match local (taking .wmillignore into account)
Failed to request tarball from API Bad Request
error: Uncaught (in promise) Error: Sql error: no column found for name: starred
throw new Error(await zipResponse.text());
^
at downloadZip (https://deno.land/x/wmill@v1.342.0/pull.ts:56:11)
at eventLoopTick (ext:core/01_core.js:168:7)
at async Command.push [as actionHandler] (https://deno.land/x/wmill@v1.342.0/sync.ts:1060:6)
at async Command.execute (https://deno.land/x/cliffy@v1.0.0-rc.4/command/command.ts:1937:7)
at async Command.parseCommand (https://deno.land/x/cliffy@v1.0.0-rc.4/command/command.ts:1769:14)
at async https://deno.land/x/wmill@v1.342.0/main.ts:156:3
I'm unsure where to begin to debug. Any pointers?
11 replies
Debug Webhook 500 error from Tally
Hi, I'm trying to post a form submission from Tally via webhook. I'm able to mock the webhook call via Postman, including Authorization Bearer token and json body; but when tally tries to call the webhook itself, i get a 500 response. Is there any way to debug the call to find what is causing the 500? I'm on windmill cloud.
6 replies