You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
audit reports success with 0 pages when the content store cannot be opened #403
SQUIRREL_CONTENT_STORE_PATH is a file path (it defaults to content-store.db). Point it at a directory and the audit still reports success, having stored nothing.
Pages fetch with HTTP 200 and then store as 0 bytes. The run exits 0, prints the success tick, and avg page 0 B in a debug line is the only signal that anything is wrong. Without --debug there is nothing at all.
Two things make this worse than a confusing error message:
The same run online charges the 50 credit audit base for an audit that produced nothing. (Observed on a non---offline run of the same shape.)
It is indistinguishable from a site that genuinely blocked the crawl. I spent a while concluding a site was blocking us before finding the real cause was my own path.
Opening the store is a precondition for the whole audit, so it should fail loudly at open rather than degrade to a silent no-op.
Acceptance Criteria
A SQUIRREL_CONTENT_STORE_PATH that cannot be opened as a SQLite database (a directory, an unwritable path, a corrupt file) aborts the audit before crawling, with an error naming the path and what was wrong with it
A run that aborts this way exits non-zero and charges no credits
A store that fails mid-run surfaces as a run failure rather than a success with fewer pages
A test asserts the abort for a directory path and for an unwritable path
Activity
fix(cli): name the local store an audit cannot write, before it starts …
fix(cli): name the local store an audit cannot write, before it starts …