Skip to content

Preserve queue names during storage recovery#1418

Open
abishekgiri wants to merge 1 commit intoiii-hq:mainfrom
abishekgiri:queue-recovery-name-parsing
Open

Preserve queue names during storage recovery#1418
abishekgiri wants to merge 1 commit intoiii-hq:mainfrom
abishekgiri:queue-recovery-name-parsing

Conversation

@abishekgiri
Copy link
Copy Markdown
Contributor

@abishekgiri abishekgiri commented Apr 7, 2026

Summary

  • preserve queue names when rebuilding persisted file-based queues
  • parse stored job keys from the right so queue names containing : or :jobs: are not truncated
  • add a regression test covering a queue name like billing:jobs:v2

Testing

  • cargo test -p iii test_rebuild_from_storage_preserves_queue_names_with_colons -- --nocapture

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 7, 2026

@abishekgiri is attempting to deploy a commit to the motia Team on Vercel.

A member of the Team first needs to authorize it.

@abishekgiri
Copy link
Copy Markdown
Contributor Author

Updated the file-based queue recovery path so persisted job keys keep the full queue name, even when the queue name contains or . This also adds a regression test that rebuilds a delayed job from after persistence.

@abishekgiri
Copy link
Copy Markdown
Contributor Author

Updated the file-based queue recovery path so persisted job keys keep the full queue name, even when the queue name contains colons or the literal segment :jobs:. This also adds a regression test that rebuilds a delayed job from billing:jobs:v2 after persistence.

@abishekgiri abishekgiri marked this pull request as ready for review April 7, 2026 00:58
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.

1 participant