mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-10 09:40:23 -04:00
a7a12092b9
## Summary - require an explicit confirmation before `spacetime delete` sends an irreversible delete request - preserve `--yes` as the non-interactive override - add smoketests for aborting on `n`, deleting on `y`, and skipping the prompt with `--yes` Closes #4679. ## History note `spacetime delete` has never required confirmation for ordinary deletes. The command was added in commit `44df6c6e7` (`Initial commit`, 2023-08-01) without a prompt. Later, commit `a36f7091d` (`[teams 3/5] API authorization, CLI, smoketests`, 2025-11-11) added a confirmation flow only for the special case where deleting a database would also delete its children, but plain deletes still executed immediately until this change. ## Testing Added new smoketests --------- Co-authored-by: clockwork-labs-bot <clockwork-labs-bot@users.noreply.github.com> Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>