Skip to content

Commit ad3c691

Browse files
committed
fix: change xcom push to false as default to unblock deployment for now
1 parent 82b0244 commit ad3c691

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ext/scheduler/airflow/dag/dag.py.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ init_container = k8s.V1Container(
157157
depends_on_past={{ if .JobDetails.Schedule.DependsOnPast }}True{{- else -}}False{{- end -}},
158158
in_cluster=True,
159159
is_delete_operator_pod=True,
160-
do_xcom_push=True,
160+
do_xcom_push=False,
161161
env_vars=executor_env_vars,
162162
{{- if gt .SLAMissDuration 0 }}
163163
sla=timedelta(seconds={{ .SLAMissDuration }}),
@@ -204,7 +204,7 @@ hook_{{$hookName}} = SuperKubernetesPodOperator(
204204
dag=dag,
205205
in_cluster=True,
206206
is_delete_operator_pod=True,
207-
do_xcom_push=True,
207+
do_xcom_push=False,
208208
env_vars=executor_env_vars,
209209
{{- if $t.IsFailHook }}
210210
trigger_rule="one_failed",

ext/scheduler/airflow/dag/expected_dag.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
depends_on_past=False,
127127
in_cluster=True,
128128
is_delete_operator_pod=True,
129-
do_xcom_push=True,
129+
do_xcom_push=False,
130130
env_vars=executor_env_vars,
131131
sla=timedelta(seconds=7200),
132132
resources=resources,
@@ -167,7 +167,7 @@
167167
dag=dag,
168168
in_cluster=True,
169169
is_delete_operator_pod=True,
170-
do_xcom_push=True,
170+
do_xcom_push=False,
171171
env_vars=executor_env_vars,
172172
resources=resources,
173173
reattach_on_restart=True,
@@ -205,7 +205,7 @@
205205
dag=dag,
206206
in_cluster=True,
207207
is_delete_operator_pod=True,
208-
do_xcom_push=True,
208+
do_xcom_push=False,
209209
env_vars=executor_env_vars,
210210
resources=resources,
211211
reattach_on_restart=True,
@@ -243,7 +243,7 @@
243243
dag=dag,
244244
in_cluster=True,
245245
is_delete_operator_pod=True,
246-
do_xcom_push=True,
246+
do_xcom_push=False,
247247
env_vars=executor_env_vars,
248248
trigger_rule="one_failed",
249249
resources=resources,

0 commit comments

Comments
 (0)