windmill-labs / windmill-labs/windmill

bug: Workflow-as-Code Python template didn't be recognized as "wac" auto kind

Open
#8,945 0 comments 0 reactions 1 assignee View on GitHub

@rubenfiszel is already working on this.

Since Apr 27, 2026.

bug
Dominant language
Rust
Stars
18k
Forks
1.1k
Avg merge
1d 1h
Merged PRs (30d)
328

Description

Describe the bug

The workflow-as-code Python template didn't be recognized correctly and have no "was" label on table rows. Also checked the rows in script table, the auto_kind is NULL value.

To reproduce
  1. Create a workflow-as-code with python
  2. Click "deploy" directly
  3. The home script didn't include correct "wac" label
Expected behavior

It should be recognized as workflow-as-code with "wac" label showing.

Screenshots

The Python template shows as normal script, while TS one has label of "wac"

Browser information

No response

Application version

No response

Additional Context

If change the main function to other (such as test) and it will show correct label:

# ... all other same as Python template
@workflow
async def test(x: str):
# ...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.