Commit d20fdf3
fix(gateway): mark active main sessions before restart shutdown aborts (#91357)
* Mark active main sessions during restart shutdown
* Type restart marker mock in close tests
* fix(gateway): preserve active run ownership across restart
* fix(gateway): preserve active runs across restart
* fix(gateway): close restart recovery edge cases
* fix(cron): preserve lifecycle ownership across restart
* fix(gateway): release rejected run contexts
* fix(gateway): preserve restart lifecycle ownership
* fix(cron): retain overlapping run ownership
* fix(agents): preserve restart terminal precedence
---------
Co-authored-by: Peter Steinberger <[email protected]>1 parent 689ebc8 commit d20fdf3
78 files changed
Lines changed: 6621 additions & 401 deletions
File tree
- packages/sdk/src
- src
- agents
- cli-runner
- command
- embedded-agent-runner
- run
- auto-reply/reply
- channels/message
- cli/gateway-cli
- commands
- config/sessions
- cron/isolated-agent
- gateway
- server-methods
- infra
- plugins
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| 98 | + | |
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
159 | 176 | | |
160 | 177 | | |
161 | 178 | | |
| |||
1209 | 1226 | | |
1210 | 1227 | | |
1211 | 1228 | | |
1212 | | - | |
| 1229 | + | |
1213 | 1230 | | |
1214 | 1231 | | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
1215 | 1280 | | |
1216 | 1281 | | |
1217 | 1282 | | |
| |||
1237 | 1302 | | |
1238 | 1303 | | |
1239 | 1304 | | |
1240 | | - | |
| 1305 | + | |
1241 | 1306 | | |
1242 | 1307 | | |
1243 | 1308 | | |
| |||
1261 | 1326 | | |
1262 | 1327 | | |
1263 | 1328 | | |
1264 | | - | |
| 1329 | + | |
1265 | 1330 | | |
1266 | 1331 | | |
1267 | 1332 | | |
| |||
1283 | 1348 | | |
1284 | 1349 | | |
1285 | 1350 | | |
1286 | | - | |
| 1351 | + | |
1287 | 1352 | | |
1288 | 1353 | | |
1289 | 1354 | | |
| |||
1305 | 1370 | | |
1306 | 1371 | | |
1307 | 1372 | | |
1308 | | - | |
| 1373 | + | |
1309 | 1374 | | |
1310 | 1375 | | |
1311 | 1376 | | |
| |||
1325 | 1390 | | |
1326 | 1391 | | |
1327 | 1392 | | |
1328 | | - | |
| 1393 | + | |
1329 | 1394 | | |
1330 | 1395 | | |
1331 | 1396 | | |
| |||
1343 | 1408 | | |
1344 | 1409 | | |
1345 | 1410 | | |
1346 | | - | |
| 1411 | + | |
1347 | 1412 | | |
1348 | 1413 | | |
1349 | 1414 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 34 | + | |
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
| |||
46 | 41 | | |
47 | 42 | | |
48 | 43 | | |
| 44 | + | |
49 | 45 | | |
50 | 46 | | |
51 | 47 | | |
52 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
53 | 61 | | |
54 | 62 | | |
55 | 63 | | |
| |||
91 | 99 | | |
92 | 100 | | |
93 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
94 | 105 | | |
95 | 106 | | |
96 | 107 | | |
| |||
0 commit comments