Repository navigation
Add guarded podcast episode delete command and dry-run - #400
Merged
Merged
Conversation
This was referenced Nov 11, 2026
alexeygrigorev
force-pushed
the
podcast-episode-hard-delete-t2020u
branch
from
November 11, 2026 16:56
b2c7540 to
e68e528
Compare
alexeygrigorev
force-pushed
the
podcast-episode-hard-delete-t2020u
branch
from
November 11, 2026 17:12
e68e528 to
8617850
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Podcast register rows could only be cancelled from the CLI, and the API delete route had no test-row safeguards. Add
dataops podcast delete <episode-id> --dry-run|--yes, with an admin-only read-only preview and server checks for exact identity confirmation, version, cancelled status, publication history, Cards, Tasks and recording holds. Missing Cards with stale links are accepted. The only write is the version-conditional episode row delete.All four candidate policy entries remain unconfirmed.
--yescannot authorize them; production deletion remains blocked pending exact UUID confirmation on the private intake and a reviewed policy update. No email, calendar, or public event side effects.Validation: targeted CLI tests (29 passed), targeted podcast backend tests (17 passed), including read-only previews, protected identities, stale Card links, reference blockers, version conflicts, and show/list absence after synthetic authorized deletion. Full suites run in CI.
CI: two browser setup attempts failed before tests because the runner could not resolve its Azure Ubuntu mirror. A separate commit selects Ubuntu’s HTTPS archive directly before the unchanged full Playwright dependency install. Workflow YAML was parsed locally; CI runs all suites on the final head.