Repository navigation
Commit 794dc5e
authored
fix(workflow): carry the caller principal onto the node runtime path
main now runs a root LlmAgent through the node runtime, which builds its
own invocation context. Thread caller_principal through _run_node_async
into _node_runner_utils.run_node_async and set it on the context after
construction, the way abort_signal is, so a principal set by a serving
layer reaches the confirmation gate on that path too. Without this the
gate saw None (in-process caller) for every A2A-served root agent.1 parent 96c13a2 commit 794dc5e
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
126 | 134 | | |
127 | 135 | | |
128 | 136 | | |
| |||
0 commit comments