docs: 2026-07-07 dashboard mess postmortem (SP25 follow-up)
This commit is contained in:
@@ -1427,8 +1427,12 @@ def recover_ingest_cmd(
|
||||
cyclic ``parse-837`` / ``parse-835`` CLI only emits JSON (it does
|
||||
NOT write to the DB) and ``submit-batch`` was never called.
|
||||
"""
|
||||
from cyclone import db as db_mod
|
||||
from cyclone.submission.recover import recover_file
|
||||
|
||||
# Pull-inbound convention — must init_db() before any SQL access.
|
||||
db_mod.init_db()
|
||||
|
||||
click.echo(f"Recovering {len(files)} file(s) under sftp_block={sftp_block_name!r}")
|
||||
any_ok = False
|
||||
failed = 0
|
||||
|
||||
Reference in New Issue
Block a user