Skip to content

fix(meta): rollback video status when event publish fails (#242)#244

Merged
crrow merged 1 commit intomainfrom
issue-242-status-rollback
Mar 31, 2026
Merged

fix(meta): rollback video status when event publish fails (#242)#244
crrow merged 1 commit intomainfrom
issue-242-status-rollback

Conversation

@crrow
Copy link
Copy Markdown
Collaborator

@crrow crrow commented Mar 31, 2026

Closes #242

Summary

  • When VideoUploaded event publish fails after transitioning status to Processing, roll back video status to Uploading
  • Prevents the video from being permanently stuck in Processing state
  • Allows the client to retry the mark_uploaded request

Test plan

  • cargo check passes
  • cargo test -p stream-meta — 31 tests pass
  • cargo clippy clean

When VideoUploaded event publish fails after setting status to Processing,
roll back the video status to Uploading so the client can retry the request
instead of leaving the video permanently stuck.

Closes #242
@crrow crrow merged commit 89d2153 into main Mar 31, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(meta): rollback video status when event publish fails in mark_uploaded

1 participant