Repository navigation
[v3-4-test] Let non task callers set and delete variables over execution API (#76375) - #76436
Merged
Merged
Conversation
vatsrahul1001
requested review from
amoghrajesh,
ashb and
kaxil
as code owners
November 4, 2026 12:29
Merged
1 task done
vatsrahul1001
force-pushed
the
backport-bd8cad6b-v3-4-test
branch
from
November 4, 2026 14:28
27b2918 to
61c57d7
Compare
Contributor
|
RunsOn re-runs them automatically when the run finishes; no action is needed. |
ashb
approved these changes
Nov 4, 2026
amoghrajesh
approved these changes
Nov 4, 2026
) * Let non task callers set and delete variables over execution API * review from jed (cherry picked from commit bd8cad6)
vatsrahul1001
force-pushed
the
backport-bd8cad6b-v3-4-test
branch
from
November 4, 2026 14:58
61c57d7 to
4fcfa85
Compare
1 task done
vatsrahul1001
added a commit
that referenced
this pull request
Nov 4, 2026
) (#76436) * Let non task callers set and delete variables over execution API * review from jed (cherry picked from commit bd8cad6) Co-authored-by: Amogh Desai <[email protected]>
vatsrahul1001
added a commit
that referenced
this pull request
Nov 5, 2026
) (#76436) * Let non task callers set and delete variables over execution API * review from jed (cherry picked from commit bd8cad6) Co-authored-by: Amogh Desai <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #76375 ("Let non task callers set and delete variables over execution API") to
v3-4-test.Conflicts / adaptations:
routes/variables.pyimport block reconciled to the branch's token set +allow_non_ti_writer.tests/.../test_security.pyimports re-added (DagModel,DagBundleModel,Team,conf_vars,clear_db_teams), which pre-existed on main.route_class=ExecutionAPIRoute. Let non task callers set and delete variables over execution API #76375'sallow_non_ti_writerescape inrequire_authreadsroute.allow_non_ti_writer, which is only populated when the route is anExecutionAPIRoute. Onmainthe variables router was switched toExecutionAPIRouteby Add scoped Execution API access for Dag processors #74370; v3-4-test still had a plainAPIRouter(), so without this line the decorator was a no-op and the non-TI/archived variable writes returned 404/410. Every other execution-API router already usesExecutionAPIRoute; this aligns variables with them. Add scoped Execution API access for Dag processors #74370 itself is not required — only this wiring line.Verified locally (
breeze testing core-tests):TestAttemptLiveness+ bothversions/*/test_variables.pysuites → 56 passed, 0 failed. The 3 feature tests (test_non_ti_identity_can_write_variables[unknown|archived],test_archived_attempt_writes_variable_to_its_team) now pass.Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 4.8)