ghaar00G
Windmillโ€ข13mo agoโ€ข
22 replies
ghaar00

Can't cancel any jobs

I've deployed Windmill (self-hosted on DigitalOcean) and the deployment went great, everything for the most part is running great. Except that every time I launch a flow that loops over some data or may contain a bug of some sort, I have no way to stop it - even after restarting the VM. Every time I've tried to hit Cancel or Force Cancel I get "could not cancel job" and I also have several "zombie jobs" stacking up now.

Here's an example Flow where I am simply trying to download a list of events from an external API, then loop through each event and query the event's Listings/Sales via API.

summary: Seatgeek
description: ""
value:
modules:
- id: a
value:
path: f/trident/fetch_events_to_sync
type: script
is_trigger: false
input_transforms: {}
summary: Fetch Eligible Events
continue_on_error: false
- id: b
value:
type: forloopflow
modules:
- id: c
value:
path: f/trident/seatgeek_event_handler
type: script
is_trigger: false
input_transforms:
event_id:
expr: flow_input.iter.value[0]
type: javascript
operation:
expr: flow_input.iter.value[1]
type: javascript
summary: Sync Listings / Sales
continue_on_error: false
iterator:
expr: results.a.slice(0,6)
type: javascript
parallel: false
parallelism: null
skip_failures: true
summary: For Each Event
same_worker: false
schema:
$schema: https://json-schema.org/draft/2020-12/schema
properties: {}
required: []
type: object
order: []


Happy to provide any additional details here. I'd love to buy licenses for Windmill, this seems to be the only real issue I'm having with it but it's a big one!
Was this page helpful?