• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

airbnb / airflow / 5876
69%
master: 0%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 04 Apr 2017 06:41AM UTC
Jobs 6
Files 155
Run time 13min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5876

push

travis-ci

Bolke de Bruin
<a href="https://github.com/airbnb/airflow/commit/<a class=hub.com/airbnb/airflow/commit/2bebeaf9554d35710de6eb1b4006157e105ac79b">2bebeaf95<a href="https://github.com/airbnb/airflow/commit/2bebeaf9554d35710de6eb1b4006157e105ac79b">&quot;&gt;[AIRFLOW-1011] Fix bug in BackfillJob._execute() for SubDAGs

BackfillJob._execute() checks that the next run
date is less than
or equal to the end date before creating a DAG run
and task
instances. For SubDAGs, the next run date is not
relevant,
i.e. schedule_interval can be anything other than
None
or &amp;#39;@once&amp;#39; and should be ignored. However, current
code calculates
the next run date for a SubDAG and the condition
check mentioned
above always fails for SubDAG triggered manually.

This change adds a simple check to determine if
this is a SubDAG
and, if so, sets next run date to DAG run&amp;#39;s start
date.

Closes #2179 from joeschmid/AIRFLOW-1011-fix-bug-
backfill-execute-for-subdags

(cherry picked from commit </a><a class="double-link" href="https://github.com/airbnb/airflow/commit/<a class="double-link" href="https://github.com/airbnb/airflow/commit/56501e6062df9456f7ac4efe94e21940734dd5bc">56501e606</a>">56501e606</a><a href="https://github.com/airbnb/airflow/commit/2bebeaf9554d35710de6eb1b4006157e105ac79b">)
Signed-off-by: Bolke de Bruin <bolke@xs4all.nl>

7235 of 10682 relevant lines covered (67.73%)

4.03 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5876.1 (TOX_ENV=py27-cdh-airflow_backend_mysql) 04 Apr 2017 06:49AM UTC 0
67.39
Travis Job 5876.1
2 5876.2 (TOX_ENV=py27-cdh-airflow_backend_sqlite) 04 Apr 2017 06:41AM UTC 0
67.43
Travis Job 5876.2
3 5876.3 (TOX_ENV=py27-cdh-airflow_backend_postgres) 04 Apr 2017 06:47AM UTC 0
67.4
Travis Job 5876.3
4 5876.4 (TOX_ENV=py34-cdh-airflow_backend_mysql) 04 Apr 2017 06:53AM UTC 0
67.01
Travis Job 5876.4
5 5876.5 (TOX_ENV=py34-cdh-airflow_backend_sqlite) 04 Apr 2017 06:48AM UTC 0
67.05
Travis Job 5876.5
6 5876.6 (TOX_ENV=py34-cdh-airflow_backend_postgres) 04 Apr 2017 06:54AM UTC 0
67.0
Travis Job 5876.6
Source Files on build 5876
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5876
  • 2bebeaf9 on github
  • Prev Build on v1-8-test (#5860)
  • Next Build on v1-8-test (#5878)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc