Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A flow with an "if" where the only task in the "then" path is disabled seems to run forever #6658

Open
bertusk opened this issue Jan 8, 2025 · 0 comments
Labels
area/backend Needs backend code changes bug Something isn't working

Comments

@bertusk
Copy link

bertusk commented Jan 8, 2025

Describe the issue

Probably a bit of a edge case but, this flow seems to run forever or at least for a very long time.
When the disabled: true is removed the flow runs normally.

id: myflow
namespace: company.team

variables:
  numeric_variable: 42

tasks:
  - id: if
    type: io.kestra.plugin.core.flow.If
    condition: "{{ vars.numeric_variable > 0 }}"
    then:
      - id: log1
        disabled: true
        type: io.kestra.plugin.core.log.Log
        message: Log 1

Environment

  • Kestra Version: 0.20.10
@bertusk bertusk added area/backend Needs backend code changes area/frontend Needs frontend code changes bug Something isn't working labels Jan 8, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Issues Jan 8, 2025
@MilosPaunovic MilosPaunovic removed the area/frontend Needs frontend code changes label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend Needs backend code changes bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

2 participants