uranusjr commented on code in PR #77657:
URL: https://github.com/apache/airflow/pull/77657#discussion_r4716306591


##########
airflow-core/adr/lang-sdk/0018-task-execution-context-across-lang-sdks.md:
##########
@@ -0,0 +1,65 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+
+# ADR-0018: Task Execution Context Across Lang SDKs
+
+## Status
+
+Proposed.
+
+## Context
+
+The Python Task SDK context holds the same value in many places: 
`context["run_id"]`,
+`context["dag_run"].run_id`, `context["ti"].run_id` and 
`context["ti"].dag_run.run_id`. Each is
+mutable, so they can disagree. The Lang SDKs are drifting the same way, and 
since they are still
+experimental, fixing them now is cheap. The Python Task SDK is out of scope.

Review Comment:
   This is an ADR for Lang SDKs so it’s out of scope. Also the Python Taks SDK 
is not exprimental so we’ll need a devlist discussion for it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to