Skip to content

test: cover unique enqueue_at conflict schedules - #136

Merged
reneklacan merged 1 commit into
mainfrom
reneklacan/fix-unique-enqueue-at-conflict
Aug 12, 2026
Merged

test: cover unique enqueue_at conflict schedules#136
reneklacan merged 1 commit into
mainfrom
reneklacan/fix-unique-enqueue-at-conflict

Conversation

@reneklacan

@reneklacan reneklacan commented Aug 12, 2026

Copy link
Copy Markdown
Member

Summary

  • verify unique enqueue_at with Skip preserves the original schedule and payload
  • verify unique enqueue_at with Replace uses the new schedule and payload
  • assert sorted schedule ordering through the public Storage API

Testing

  • cargo fmt --all -- --check
  • cargo clippy --all-features --workspace --all-targets -- -D warnings
  • cargo test -p oxana

Note

Low Risk
Test-only additions with no production code changes.

Overview
Adds integration coverage for unique job conflicts on scheduled enqueue via enqueue_at.

Skip keeps the original scheduled_at and payload when a duplicate unique job is enqueued later. Replace updates both the schedule and payload, and schedule order is checked through list_scheduled.

Reviewed by Cursor Bugbot for commit 373df4d. Bugbot is set up for automated code reviews on this repo. Configure here.

@reneklacan
reneklacan merged commit 0509edd into main Aug 12, 2026
2 checks passed
@reneklacan
reneklacan deleted the reneklacan/fix-unique-enqueue-at-conflict branch August 12, 2026 11:19
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