Repository navigation
Commit 61867e0
fix(server): count a replayed wake result's gateway reset from when it arrived
A wake result that arrives while no turn is active is buffered and replayed
when the continuation run starts. The wrapped gateway 503 reports a relative
"(reset after …)" duration, which was added to the replay time, so any time
the continuation spent queued was added to resetAt.
Record when each wake result is buffered and use that as the base for the
relative reset.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 3816296 commit 61867e0
2 files changed
Lines changed: 85 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8950 | 8950 | | |
8951 | 8951 | | |
8952 | 8952 | | |
| 8953 | + | |
| 8954 | + | |
| 8955 | + | |
| 8956 | + | |
| 8957 | + | |
| 8958 | + | |
| 8959 | + | |
| 8960 | + | |
| 8961 | + | |
| 8962 | + | |
| 8963 | + | |
| 8964 | + | |
| 8965 | + | |
| 8966 | + | |
| 8967 | + | |
| 8968 | + | |
| 8969 | + | |
| 8970 | + | |
| 8971 | + | |
| 8972 | + | |
| 8973 | + | |
| 8974 | + | |
| 8975 | + | |
| 8976 | + | |
| 8977 | + | |
| 8978 | + | |
| 8979 | + | |
| 8980 | + | |
| 8981 | + | |
| 8982 | + | |
| 8983 | + | |
| 8984 | + | |
| 8985 | + | |
| 8986 | + | |
| 8987 | + | |
| 8988 | + | |
| 8989 | + | |
| 8990 | + | |
| 8991 | + | |
| 8992 | + | |
| 8993 | + | |
| 8994 | + | |
| 8995 | + | |
| 8996 | + | |
| 8997 | + | |
| 8998 | + | |
| 8999 | + | |
| 9000 | + | |
| 9001 | + | |
| 9002 | + | |
| 9003 | + | |
| 9004 | + | |
| 9005 | + | |
| 9006 | + | |
| 9007 | + | |
| 9008 | + | |
| 9009 | + | |
| 9010 | + | |
| 9011 | + | |
| 9012 | + | |
| 9013 | + | |
| 9014 | + | |
| 9015 | + | |
| 9016 | + | |
| 9017 | + | |
| 9018 | + | |
| 9019 | + | |
| 9020 | + | |
| 9021 | + | |
| 9022 | + | |
| 9023 | + | |
| 9024 | + | |
8953 | 9025 | | |
8954 | 9026 | | |
8955 | 9027 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3429 | 3429 | | |
3430 | 3430 | | |
3431 | 3431 | | |
3432 | | - | |
| 3432 | + | |
3433 | 3433 | | |
3434 | 3434 | | |
3435 | 3435 | | |
| |||
3448 | 3448 | | |
3449 | 3449 | | |
3450 | 3450 | | |
3451 | | - | |
| 3451 | + | |
3452 | 3452 | | |
3453 | 3453 | | |
3454 | 3454 | | |
| |||
4464 | 4464 | | |
4465 | 4465 | | |
4466 | 4466 | | |
| 4467 | + | |
| 4468 | + | |
4467 | 4469 | | |
4468 | 4470 | | |
4469 | 4471 | | |
| |||
7520 | 7522 | | |
7521 | 7523 | | |
7522 | 7524 | | |
| 7525 | + | |
| 7526 | + | |
| 7527 | + | |
7523 | 7528 | | |
7524 | 7529 | | |
7525 | 7530 | | |
| |||
8950 | 8955 | | |
8951 | 8956 | | |
8952 | 8957 | | |
8953 | | - | |
| 8958 | + | |
| 8959 | + | |
| 8960 | + | |
| 8961 | + | |
| 8962 | + | |
| 8963 | + | |
8954 | 8964 | | |
8955 | 8965 | | |
8956 | 8966 | | |
| |||
0 commit comments