Skip to content

Native scripts will never complete in the default configuration#91

Description

@strugee

How to use GitHub

  • Please use the 馃憤 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Install a fresh Nextcloud Flow installation and go through setup
  2. Create a "TypeScript (Bun)" script
  3. Put //native as the first line and deploy it
  4. Try and run your script (this might need to be in a workflow, I haven't had time to fully repro this in a clean environment yet)

Expected behaviour

The script should run

Actual behaviour

The script will be stuck waiting for a worker forever

Server configuration

N/A

Browser

N/A

Additional details

Setting WORKER_TAGS=deno,python3,go,bash,powershell,dependency,flow,other,bun,php,rust,nativets,postgresql,mysql,graphql,snowflake,mssql,bigquery in /etc/environment in the container, then restarting the container, will drain the native queue. This tag list is what you get with the "Reset to all tags" button in the worker configuration screen, described here upstream.

Another solution is to automatically provision native workers.

Kind of disappointing that this really really basic bug slipped though even though Windmill integration was heavily featured at launch and is still being heavily promoted.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions