Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unique and expiring jobs (Enterprise Faktory) #45

Merged
merged 19 commits into from
Jan 7, 2024

Conversation

rustworthy
Copy link
Collaborator

@rustworthy rustworthy commented Jan 3, 2024

Putting those features under the feature called "ent", because looks like it is already a common abbreviation/label for Enterprise Faktory.

Referencing the Faktory's wiki with regard to API.

Covering these Ent Faktory features:


Will be added as separate PRs:


This change is Reviewable

Copy link

codecov bot commented Jan 3, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (03775db) 72.5% compared to head (b2ef2ac) 74.3%.

Additional details and impacted files
Files Coverage Δ
src/proto/single/ent.rs 100.0% <100.0%> (ø)
src/proto/single/mod.rs 94.4% <100.0%> (+1.1%) ⬆️
src/error.rs 44.0% <0.0%> (-1.9%) ⬇️

Copy link
Owner

@jonhoo jonhoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thanks for taking it on!

Only a few smaller notes.

.github/workflows/ent.yaml Outdated Show resolved Hide resolved
.github/workflows/ent.yaml Show resolved Hide resolved
src/proto/single/ent.rs Outdated Show resolved Hide resolved
src/proto/single/ent.rs Show resolved Hide resolved
src/proto/single/mod.rs Outdated Show resolved Hide resolved
tests/real/enterprise.rs Outdated Show resolved Hide resolved
tests/real/enterprise.rs Outdated Show resolved Hide resolved
tests/real/enterprise.rs Outdated Show resolved Hide resolved
tests/real/enterprise.rs Outdated Show resolved Hide resolved
tests/real/enterprise.rs Show resolved Hide resolved
@rustworthy rustworthy requested a review from jonhoo January 6, 2024 17:05
assert_eq!(msg, "Job not unique");
} else {
panic!("Expected protocol error.")
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also check that both job1 and job2 were enqueued?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be addressed in PR

Copy link
Owner

@jonhoo jonhoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jonhoo jonhoo merged commit a8a3ebc into jonhoo:main Jan 7, 2024
17 checks passed
@jonhoo
Copy link
Owner

jonhoo commented Jan 7, 2024

Released in 0.12.3 🎉

@rustworthy rustworthy deleted the feat/ent-faktory-unique-and-expiring branch January 8, 2024 07:26
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.

2 participants