Repository navigation
Commit de41460
committed
fix(review): bound retry session.create, compose BIND fallback, entrypoint comment
- Wrap all 4 retry-path session.create (chat stream/non-stream,
responses + messages non-stream) in withTimeout so a hung backend
504s instead of stalling past REQUEST_TIMEOUT_MS; regression test
- Compose BIND_HOST chains OPENCODE_PROXY_BIND_HOST fallback instead
of shadowing it with a hard default
- Entrypoint wait comment distinguishes fast-refused (~180s, covered
by start_period 200s) from hung-backend worst case (~630s, wedged)1 parent 453a228 commit de41460
4 files changed
Lines changed: 39 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1961 | 1961 | | |
1962 | 1962 | | |
1963 | 1963 | | |
1964 | | - | |
| 1964 | + | |
| 1965 | + | |
1965 | 1966 | | |
1966 | 1967 | | |
1967 | 1968 | | |
| |||
2174 | 2175 | | |
2175 | 2176 | | |
2176 | 2177 | | |
2177 | | - | |
| 2178 | + | |
| 2179 | + | |
2178 | 2180 | | |
2179 | 2181 | | |
2180 | 2182 | | |
| |||
3073 | 3075 | | |
3074 | 3076 | | |
3075 | 3077 | | |
3076 | | - | |
| 3078 | + | |
| 3079 | + | |
3077 | 3080 | | |
3078 | 3081 | | |
3079 | 3082 | | |
| |||
3397 | 3400 | | |
3398 | 3401 | | |
3399 | 3402 | | |
3400 | | - | |
| 3403 | + | |
| 3404 | + | |
3401 | 3405 | | |
3402 | 3406 | | |
3403 | 3407 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
128 | 153 | | |
129 | 154 | | |
130 | 155 | | |
| |||
0 commit comments