Commit d46aab2
fix(run-ops split): make passthrough assertEnvExists a no-op in single-DB
The passthrough resolver runs single-DB, so a run and its environment share
one database and there is no cross-seam FK to replace (matches main, which
dropped the TaskRun env FK). Skip the always-on hot-path findFirst; the
split-aware resolver still enforces env existence when the split makes a
DB-level FK impossible.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 58f9232 commit d46aab2
2 files changed
Lines changed: 6 additions & 11 deletions
File tree
- internal-packages/run-engine/src/engine
- tests
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
192 | 186 | | |
193 | 187 | | |
194 | 188 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
106 | | - | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
0 commit comments