Commit bd4b7d5
committed
fix(vcs): limit unpushed git commit queries
The VCS panel should not walk the entire ahead history on every refresh. Bound the Git unpushed-commit query to a recent window so refresh cost stays predictable on long-lived branches.
Constraint: The panel still needs enough recent commit context to be useful
Rejected: Keep the query unbounded and rely on fast repos | large ahead histories make refresh cost user-visible
Confidence: high
Scope-risk: narrow
Directive: Any UI-driven VCS history query should be explicitly bounded unless the user asked for full history1 parent eb0a6ce commit bd4b7d5
1 file changed
Lines changed: 34 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
263 | 265 | | |
264 | 266 | | |
265 | 267 | | |
266 | | - | |
| 268 | + | |
267 | 269 | | |
268 | 270 | | |
269 | 271 | | |
270 | 272 | | |
271 | 273 | | |
272 | | - | |
| 274 | + | |
273 | 275 | | |
274 | 276 | | |
275 | 277 | | |
| |||
850 | 852 | | |
851 | 853 | | |
852 | 854 | | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
853 | 866 | | |
854 | 867 | | |
855 | 868 | | |
| |||
1066 | 1079 | | |
1067 | 1080 | | |
1068 | 1081 | | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
1073 | 1086 | | |
1074 | 1087 | | |
1075 | 1088 | | |
| |||
1215 | 1228 | | |
1216 | 1229 | | |
1217 | 1230 | | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
1218 | 1246 | | |
1219 | 1247 | | |
1220 | 1248 | | |
| |||
0 commit comments