diff options
| author | Mohamed Hegazy <8000722+mhegazy@users.noreply.github.com> | 2026-10-15 14:32:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-15 21:32:20 +0000 |
| commit | 59bb3e8b43a3dbab62933ae404a059bb1258c0ea (patch) | |
| tree | 363497e32de81b25a9124a1e239ead304930a198 /plugins/code-modernization | |
| parent | 4c12e0797dafb29971a6f6e5db650e2cf4c5983c (diff) | |
security-guidance: stop re-reviewing untracked files past the snapshot cap (#6541)
* security-guidance: stop re-reviewing untracked files past the snapshot cap
The untracked-file snapshot stops at 2,000 entries. Every pre-existing untracked file past the cap looked new on each turn, so the same files were reviewed again and again.
Record when a capped snapshot was taken and treat unlisted files older than that as pre-existing.
* security-guidance: test the metric that shows the capped-snapshot path
preexisting_untracked_excluded stays at the 2,000 cap before this fix and rises above it after, which is how the fix can be confirmed from metrics. No new key.
Diffstat (limited to 'plugins/code-modernization')
0 files changed, 0 insertions, 0 deletions
