Commit 33ef6bb
Fix: use stricter isCronRunSessionKey in timer and sweep all agent stores
- Replace overbroad isCronRunKey (/:run:/) in timer.ts with the stricter
isCronRunSessionKey from sweeper.ts (/:cron:[^:]+:run:[^:]+$/)
- Update sweepStaleCronRunSessions to iterate over all configured agent
session stores via listAgentIds(), not just the default agent
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 086679c commit 33ef6bb
2 files changed
+24
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 17 | | |
22 | 18 | | |
23 | 19 | | |
| |||
276 | 272 | | |
277 | 273 | | |
278 | 274 | | |
279 | | - | |
| 275 | + | |
280 | 276 | | |
281 | 277 | | |
282 | 278 | | |
| |||
519 | 515 | | |
520 | 516 | | |
521 | 517 | | |
522 | | - | |
| 518 | + | |
523 | 519 | | |
524 | 520 | | |
525 | 521 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
| 148 | + | |
150 | 149 | | |
151 | 150 | | |
152 | 151 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
164 | 166 | | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
169 | 171 | | |
170 | 172 | | |
171 | 173 | | |
172 | | - | |
| 174 | + | |
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
0 commit comments