[FEATURE] Allow opt-in optimization of SQLite databases larger than 100 MiB - #1409
[FEATURE] Allow opt-in optimization of SQLite databases larger than 100 MiB#1409r266-tech wants to merge 5 commits into
Conversation
|
Updates the bounded, unit-bearing --database-max-size implementation by replacing the ShellCheck-incompatible suffix expansion with Bash-compatible literal suffix branches, and corrects the CLI propagation test mock to read the production run_with_timeout argument position. Verified: ./scripts/check.sh --format, the four filtered mo optimize tests, all 18 optimize_db tests, and make check passed. The complete shell suite exceeded its runtime budget and was not completed. |
|
Adds a deterministic Verified: |
|
SQLite databases above 100 MiB were skipped before freelist inspection, with no bounded opt-in for larger curated databases. This change adds The CLI propagation regression now uses deterministic, side-effect-free SQLite responses and an explicit no-color presentation mode, so the dry-run summary assertion is independent of ambient terminal settings. Verified:
All listed commands passed. The local |
Adds a bounded, unit-bearing database size option, probe-before-policy classification, scaled timeout limits, temporary-space checks, factual skip reporting, and operation logging.
The patch was applied to the frozen base.
Focused optimize and SQLite regression tests completed with no failures beyond the frozen-base baseline.
make checkpassed.