huskies: merge 489_story_sqlite_shadow_write_for_pipeline_state_via_sqlx

This commit is contained in:
dave
2026-04-07 13:09:48 +00:00
parent 0c9e120ba2
commit f1ef31d1ee
7 changed files with 815 additions and 1 deletions
+4
View File
@@ -65,6 +65,10 @@ fn move_item<'a>(
}
}
// Shadow-write the new stage to SQLite. This is fire-and-forget; a missing
// database (e.g. in tests) is silently ignored.
crate::db::shadow_write(story_id, target_dir, &target_path);
slog!("[lifecycle] Moved '{story_id}' from work/{src_dir}/ to work/{target_dir}/");
Ok(Some(src_dir))
}