docs: 2026-07-07 dashboard mess postmortem (SP25 follow-up)

This commit is contained in:
Nora
2026-07-07 14:35:10 -06:00
parent 28835e2f1d
commit 01e5ee781e
2 changed files with 186 additions and 0 deletions
+4
View File
@@ -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