Commit f47c32d
fix(run-ops split): wire batch-results route with split read-through deps
The api.v1.batches.$batchParam.results route constructed ApiBatchResultsPresenter
with no read-through deps, collapsing call() to a passthrough read off the
control-plane replica only. A NEW-resident (ksuid) batch on the dedicated run-ops
DB was invisible to that read and the route returned 404. Wire the presenter with
splitEnabled + newClient + legacyReplica, mirroring the batch-list and waitpoint
token read routes.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 4dfbd17 commit f47c32d
1 file changed
Lines changed: 6 additions & 1 deletion
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
0 commit comments