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

fix: use right execution_dates to fetch airflow job runs for varying schedule intervals #396

Merged
merged 3 commits into from
Jun 8, 2022

Conversation

sravankorumilli
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Jun 3, 2022

Pull Request Test Coverage Report for Build 2460876434

  • 48 of 48 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 77.129%

Totals Coverage Status
Change from base Build 2452027336: 0.03%
Covered Lines: 7136
Relevant Lines: 9252

💛 - Coveralls

@sravankorumilli sravankorumilli force-pushed the airflow-jobruns-varying-schedules-fix branch from a5bccfe to 873165d Compare June 7, 2022 19:38
@sravankorumilli sravankorumilli marked this pull request as ready for review June 8, 2022 07:52
@@ -36,9 +36,36 @@ func ParseCronSchedule(interval string) (*ScheduleSpec, error) {
}, nil
}

// Interval accepts the time and returns
func (s *ScheduleSpec) Interval(t time.Time) time.Duration {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be unused now, can we remove it?

@sravankorumilli sravankorumilli merged commit 36a5111 into main Jun 8, 2022
@sravankorumilli sravankorumilli deleted the airflow-jobruns-varying-schedules-fix branch June 8, 2022 11:28
sravankorumilli added a commit that referenced this pull request Jul 4, 2022
…schedule intervals (#396)

* fix: getjobruns on varying schedules

* fix: fix lint issues

* refactor: remove unused code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants