Skip to content

error-out if we can't Subscribe to membershipResolver #6290

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

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

dkrotx
Copy link
Member

@dkrotx dkrotx commented Sep 17, 2024

Should never happen, but it returns error on duplicate subscription
(name)

What changed?
Error-out when matching can't subscribe to membership change to track task-list ownership changes.

Why?
Returned error should always be handled

How did you test it?
unit-test that checks for error-message and checks the subscription function fails

Potential risks
Don't see any. This should never happen, and if it happens it is really an error

Release notes

Documentation Changes

Should never happen, but it returns error on duplicate subscription
(name)
Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.11%. Comparing base (e86b73e) to head (b3f7cd0).
Report is 1 commits behind head on master.

Additional details and impacted files
Files with missing lines Coverage Δ
service/matching/handler/membership.go 87.50% <100.00%> (+0.40%) ⬆️

... and 4 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e86b73e...b3f7cd0. Read the comment docs.

@dkrotx dkrotx merged commit 1737b97 into cadence-workflow:master Sep 17, 2024
20 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.

2 participants