Files
reverse-engineering-anything/docs/guides/data
morluto 30be941a5a feat(limits)!: raise disk-backed admission defaults for large ordinary targets (#14653)
* feat(limits)!: raise disk-backed admission defaults for large ordinary targets

Raise four per-call input defaults whose work streams from disk or reads
by range, so large but ordinary targets are admitted without a retry:

- inspect_sqlite_database producer_limits.input_bytes: 256 MiB -> 2 GiB.
  The database and WAL stream into a private on-disk snapshot that
  node:sqlite reads by page with mmap disabled; the worker heap stays
  256 MiB.
- inspect_go_binary max_input_bytes: 256 MiB -> 2 GiB. One streaming
  hash pass, a header prefix and range reads with chunked build-info
  search.
- inspect_rust_binary producer_limits.input_bytes: 256 MiB -> 2 GiB.
  One streaming hash pass, a header prefix and a windowed rustc scan.
- inspect_nuget_nupkg max_file_bytes: 64 MiB -> 256 MiB, above
  nuget.org's 250 MB package ceiling. The ZIP is read by range; only
  the directory and .nuspec are retained.

Descriptions and remediation text that restated the old Rust and NuGet
values now derive from the owning constants.

BREAKING CHANGE: omitted input budgets for inspect_sqlite_database,
inspect_go_binary, inspect_rust_binary and inspect_nuget_nupkg now admit
larger files. Callers relying on the old default refusal must pass the
old value explicitly.

* test(nuget): pin the default max_file_bytes refusal boundary through CLI and MCP
2026-11-25 23:49:00 -05:00
..