Commit 86a52a4
feat: two-phase status polling via lightweight /status endpoint (#446)
* initial commit
* quick fix
* Rebase
* fix: poll rollout status asynchronously
Use the lightweight status endpoint from RemoteRolloutProcessor via the shared aiohttp session and avoid the logs backfill after terminal status is observed.
Made-with: Cursor
* fix: keep polling running rollout statuses
Continue polling when the lightweight status endpoint returns RUNNING so the remote rollout processor only exits the poll loop for terminal statuses.
Made-with: Cursor
* fix: preserve rollout status extras
Read rollout status extras from the top-level status response so RemoteRolloutProcessor preserves metadata that previously came from log entries.
Made-with: Cursor
---------
Co-authored-by: Derek Xu <xzrderek@gmail.com>1 parent 6b9bea9 commit 86a52a4
2 files changed
Lines changed: 51 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
378 | 409 | | |
379 | 410 | | |
380 | 411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
127 | 128 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
150 | 135 | | |
151 | 136 | | |
152 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
153 | 140 | | |
154 | 141 | | |
155 | | - | |
156 | | - | |
157 | | - | |
| 142 | + | |
| 143 | + | |
158 | 144 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | 145 | | |
165 | 146 | | |
166 | 147 | | |
| |||
171 | 152 | | |
172 | 153 | | |
173 | 154 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
178 | 161 | | |
179 | 162 | | |
180 | 163 | | |
| |||
0 commit comments