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

Invalid condition on a trigger makes the trigger being evaluated each second #3072

Closed
loicmathieu opened this issue Feb 15, 2024 · 0 comments · Fixed by #3092
Closed

Invalid condition on a trigger makes the trigger being evaluated each second #3072

loicmathieu opened this issue Feb 15, 2024 · 0 comments · Fixed by #3092
Assignees
Labels
bug Something isn't working
Milestone

Comments

@loicmathieu
Copy link
Member

Describe the issue

Same kind of issue than #2811.

Example flow:

id: hello-polling-trigger-condition
namespace: company.team

triggers:
  - id: poling-trigger
    type: io.kestra.plugin.fs.http.Trigger
    uri: https://api.chucknorris.io/jokes/random
    responseCondition: "{{ response.statusCode == 200 }}" 
    conditions:
     - type: io.kestra.core.models.conditions.types.VariableCondition
       expression: "{{ trigger.date | date() < now() }}"

tasks:
  - id: hello
    type: io.kestra.core.tasks.log.Log
    message: Polling trigger

Environment

  • Kestra Version:
  • Operating System (OS/Docker/Kubernetes):
  • Java Version (if you don't run kestra in Docker):
@loicmathieu loicmathieu added the bug Something isn't working label Feb 15, 2024
@loicmathieu loicmathieu self-assigned this Feb 15, 2024
@loicmathieu loicmathieu added this to the v0.15.0 milestone Feb 15, 2024
loicmathieu added a commit that referenced this issue Feb 15, 2024
loicmathieu added a commit that referenced this issue Feb 19, 2024
loicmathieu added a commit that referenced this issue Feb 19, 2024
loicmathieu added a commit that referenced this issue Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant