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

[AIRFLOW-6506] do_xcom_push defaulting to True #7122

Merged
merged 1 commit into from
Jan 10, 2020

Conversation

dimberman
Copy link
Contributor

@dimberman dimberman commented Jan 10, 2020


Issue link: AIRFLOW-6506

As of airflow 1.10.7, do_xcom_push defaults to true on the BaseOperator. The KubePodOperator was not setting the do_xcom_push variables so it was stuck as True.

  • Description above provides context of the change
  • Commit message/PR title starts with [AIRFLOW-NNNN]. AIRFLOW-NNNN = JIRA ID*
  • Unit tests coverage for changes (not needed for documentation changes)
  • Commits follow "How to write a good git commit message"
  • Relevant documentation is updated including usage instructions.
  • I will engage committers as explained in Contribution Workflow Example.

* For document-only changes commit message can start with [AIRFLOW-XXXX].


In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.

@boring-cyborg boring-cyborg bot added the k8s label Jan 10, 2020
@dimberman dimberman force-pushed the AIRFLOW-6506_do_xcom_push_fix branch from e8fa532 to f3385cb Compare January 10, 2020 05:35
@codecov-io
Copy link

codecov-io commented Jan 10, 2020

Codecov Report

Merging #7122 into master will decrease coverage by 0.27%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7122      +/-   ##
==========================================
- Coverage   85.24%   84.96%   -0.28%     
==========================================
  Files         683      683              
  Lines       39152    39153       +1     
==========================================
- Hits        33375    33267     -108     
- Misses       5777     5886     +109
Impacted Files Coverage Δ
...rflow/contrib/operators/kubernetes_pod_operator.py 78.31% <100%> (-20.47%) ⬇️
airflow/operators/postgres_operator.py 100% <0%> (ø) ⬆️
airflow/operators/mysql_operator.py 100% <0%> (ø) ⬆️
airflow/operators/mysql_to_hive.py 100% <0%> (ø) ⬆️
airflow/operators/generic_transfer.py 100% <0%> (ø) ⬆️
airflow/kubernetes/volume_mount.py 44.44% <0%> (-55.56%) ⬇️
airflow/kubernetes/volume.py 52.94% <0%> (-47.06%) ⬇️
airflow/kubernetes/pod_launcher.py 45.25% <0%> (-46.72%) ⬇️
airflow/executors/celery_executor.py 88.43% <0%> (ø) ⬆️
airflow/kubernetes/refresh_config.py 50.98% <0%> (-23.53%) ⬇️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 445ed2f...f3385cb. Read the comment docs.

@dimberman dimberman merged commit 86f525f into apache:master Jan 10, 2020
kaxil pushed a commit that referenced this pull request Jan 11, 2020
kaxil pushed a commit to astronomer/airflow that referenced this pull request Jan 11, 2020
potiuk pushed a commit that referenced this pull request Jan 21, 2020
kaxil pushed a commit that referenced this pull request Jan 23, 2020
galuszkak pushed a commit to FlyrInc/apache-airflow that referenced this pull request Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants