Repository navigation
Commit 384295e
committed
fix(server): a resumed Codex goal run stays open until the goal is active
The 5 second wait for Codex to start the next goal turn began when the
resume run was held, before thread/goal/set had returned. If reactivating
the goal took longer than that, the run settled first, and the turn Codex
started afterwards was paused and interrupted as having no run.
The wait now starts once the goal activation has finished. The same applies
to /goal when its first turn ends before the goal is active.1 parent 7167433 commit 384295e
2 files changed
Lines changed: 77 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8919 | 8919 | | |
8920 | 8920 | | |
8921 | 8921 | | |
| 8922 | + | |
| 8923 | + | |
| 8924 | + | |
| 8925 | + | |
| 8926 | + | |
| 8927 | + | |
| 8928 | + | |
| 8929 | + | |
| 8930 | + | |
| 8931 | + | |
| 8932 | + | |
| 8933 | + | |
| 8934 | + | |
| 8935 | + | |
| 8936 | + | |
| 8937 | + | |
| 8938 | + | |
| 8939 | + | |
| 8940 | + | |
| 8941 | + | |
| 8942 | + | |
| 8943 | + | |
| 8944 | + | |
| 8945 | + | |
| 8946 | + | |
| 8947 | + | |
| 8948 | + | |
| 8949 | + | |
| 8950 | + | |
| 8951 | + | |
| 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 | + | |
8922 | 8983 | | |
8923 | 8984 | | |
8924 | 8985 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5631 | 5631 | | |
5632 | 5632 | | |
5633 | 5633 | | |
| 5634 | + | |
| 5635 | + | |
| 5636 | + | |
| 5637 | + | |
| 5638 | + | |
| 5639 | + | |
| 5640 | + | |
| 5641 | + | |
5634 | 5642 | | |
5635 | 5643 | | |
5636 | 5644 | | |
| |||
5665 | 5673 | | |
5666 | 5674 | | |
5667 | 5675 | | |
5668 | | - | |
5669 | | - | |
5670 | | - | |
5671 | | - | |
5672 | | - | |
5673 | | - | |
| 5676 | + | |
| 5677 | + | |
| 5678 | + | |
| 5679 | + | |
| 5680 | + | |
5674 | 5681 | | |
5675 | 5682 | | |
5676 | 5683 | | |
| |||
6367 | 6374 | | |
6368 | 6375 | | |
6369 | 6376 | | |
| 6377 | + | |
| 6378 | + | |
| 6379 | + | |
6370 | 6380 | | |
6371 | 6381 | | |
6372 | 6382 | | |
| |||
0 commit comments