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

Add flowId to base job params #46

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add flowId to base job params #46

wants to merge 1 commit into from

Conversation

jmezo
Copy link
Contributor

@jmezo jmezo commented Sep 12, 2024

This pr fixes a bug with the core2 gate1 access flow. The core2 listener saves jobs done count by flow id in redis, and since the queues doesn't include it in the job params it gets returned as null.
Because of this running a status update on a role a second time will not trigger the checkIfAllDone logic because roleSummary.Count will be more than allDone.

I didn't test it yet just wanted your opinion on it, maybe you'll immediately see if there's something wrong with it. I'm not sure if it will mess up the flows where there's no flowId in the redis hasmap. Although I tried it in redis and it just returns nil in that case.

@jmezo jmezo requested a review from Devidxyz September 12, 2024 11:57
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