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
stop-interrupted-crawl leaves a Ctrl-C'd crawl paused instead of stopped #1672
Found while reviewing the crawl status guards (#1671). apps/cli/src/.../stop-interrupted-crawl.ts marks a crawl stopped with raw SQL filtered on status = 'running'. After Ctrl-C, stop() writes paused first, so the filter no-ops and the crawl stays paused. --resume accepts paused, so resuming works, but the stored status says paused where the user stopped the audit. It also bypasses the transition table in core-contracts.
Acceptance Criteria
After Ctrl-C during a crawl, the stored crawl status is the one the status table says (stopped or paused, decided and documented), not whatever the raw SQL filter happens to match
The write goes through the same guarded storage path as every other status write, not raw SQL
A test interrupts a running crawl and asserts the stored status and that --resume still resumes it
Activity
fix(crawler): Ctrl-C records the crawl stopped through the guarded st…
fix(crawler): Ctrl-C records the crawl stopped through the guarded st…