Repository navigation
Commit 4a17135
fix(opencode): stop timing out OpenCode 2 model reads before activation answers
On a busy host a cold OpenCode 2.2.7 took about 14 seconds to answer a
model read with its plugin-activation 503, and about 9 seconds for the
first successful read. Any fixed per-request timeout in the catalog
reader turned those reads into an empty list, so the activation retry
never ran. Drop the reader's timeout: the loader's activation deadline
bounds the first read and its settle budget bounds the rest, and the
per-project read keeps its own settle budget.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 636a46b commit 4a17135
2 files changed
Lines changed: 20 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | 98 | | |
110 | 99 | | |
111 | 100 | | |
| |||
119 | 108 | | |
120 | 109 | | |
121 | 110 | | |
122 | | - | |
| 111 | + | |
123 | 112 | | |
124 | 113 | | |
125 | 114 | | |
| 115 | + | |
126 | 116 | | |
127 | | - | |
128 | | - | |
129 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
130 | 121 | | |
131 | 122 | | |
132 | 123 | | |
| |||
138 | 129 | | |
139 | 130 | | |
140 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
141 | 144 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
| |||
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 23 | + | |
| 24 | + | |
30 | 25 | | |
31 | 26 | | |
32 | 27 | | |
| |||
0 commit comments