Repository navigation
Commit 9f76d13
committed
harden close-verdict cache against target-branch drift
A close verdict (for example implemented_on_main) depends on target-branch
code that is not in the content digest, because the live main sha advances on
every merge and would collapse the cache. Gate cache hits for close verdicts on
the stored main_sha matching the current one, so a main-branch change forces a
full re-review before any close and a close is never carried across
target-branch state it was not verified against. keep_open verdicts still cache
on content alone.1 parent 08928d4 commit 9f76d13
3 files changed
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| 342 | + | |
342 | 343 | | |
343 | 344 | | |
344 | 345 | | |
| |||
5361 | 5362 | | |
5362 | 5363 | | |
5363 | 5364 | | |
| 5365 | + | |
5364 | 5366 | | |
5365 | 5367 | | |
5366 | 5368 | | |
| |||
5391 | 5393 | | |
5392 | 5394 | | |
5393 | 5395 | | |
| 5396 | + | |
5394 | 5397 | | |
5395 | 5398 | | |
5396 | 5399 | | |
| |||
16787 | 16790 | | |
16788 | 16791 | | |
16789 | 16792 | | |
| 16793 | + | |
16790 | 16794 | | |
16791 | 16795 | | |
16792 | 16796 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| 152 | + | |
150 | 153 | | |
151 | 154 | | |
152 | 155 | | |
| |||
156 | 159 | | |
157 | 160 | | |
158 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
159 | 168 | | |
160 | 169 | | |
161 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
0 commit comments