mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-29 19:34:29 +01:00
The secrets check now scans an added file over 16 MiB in line-aligned, overlapping parts and reports each finding at its line in the file, instead of failing the whole file as HIGH with nothing to read. Why: gstack-redact refuses any input over 16 MiB, so every pull request that adds a large data file (harness-evals#609, a 60.5 MB trials.jsonl) was blocked with no way through. Nothing to do. A line that cannot be scanned with enough of the text before it still fails, and so does any part the scanner does not report on. Replaces #4792. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>