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

The first scheduling interval is executed twice in backfills from the UI #6413

Open
anna-geller opened this issue Dec 11, 2024 · 4 comments
Open
Assignees
Labels
area/backend Needs backend code changes bug Something isn't working kind/bugfix-needed Issue that needs to be addressed in the next bugfix release

Comments

@anna-geller
Copy link
Member

anna-geller commented Dec 11, 2024

Describe the issue

reproducer:

id: backfill_test
namespace: company.team

variables:
  file: yellow_tripdata_{{trigger.date ?? execution.startDate | date("yyyy-MM")}}.parquet

tasks:
  - id: label
    type: io.kestra.plugin.core.execution.Labels
    labels:
      file: "{{render(vars.file)}}"
      
  - id: log
    type: io.kestra.plugin.core.log.Log
    message: file https://d37ci6vzurychx.cloudfront.net/trip-data/{{render(vars.file)}}

triggers:
  - id: schedule
    type: io.kestra.plugin.core.trigger.Schedule
    cron: 0 8 1 * *
    description: at 8:00 AM on the 1st day of every month

image

image

Environment

  • Kestra Version: latest 0.20.6
@anna-geller anna-geller added bug Something isn't working area/backend Needs backend code changes kind/bugfix-needed Issue that needs to be addressed in the next bugfix release labels Dec 11, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Issues Dec 11, 2024
@Harsh4902
Copy link
Contributor

@anna-geller can I work on this?

@MilosPaunovic
Copy link
Member

Sure, go ahead @Harsh4902! 🚀

@anna-geller
Copy link
Member Author

internal note: the bug is still there on develop built this morning
image

@anna-geller
Copy link
Member Author

hey @Harsh4902 - this issue requires knowledge of how the scheduler works under the hood. I'd recommend picking some alternative issue labeled as good-first-issue as this one is quite difficult.

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 kind/bugfix-needed Issue that needs to be addressed in the next bugfix release
Projects
Status: Backlog
Development

No branches or pull requests

3 participants