Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Improve logs to detect double activity events #6839

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

Conversation

fimanishi
Copy link
Member

What changed?
Split down the logs and added them in better locations to be able to identify whether the duplication comes from when the events are added, when they are being buffered or after that.

Why?
Previously it would not be possible to know where the duplication came from.

How did you test it?
Unit test and local tests

Potential risks
There may be some latency added when flushing buffered events, but it shouldn't be significative.

Release notes

Documentation Changes

// this can be removed after the root cause is identified and fixed
// TODO: remove this after the root cause is identified and fixed or add deduplication
e.logDuplicatedActivityEvents(e.bufferedEvents)
e.logDuplicatedActivityEvents(e.updateBufferedEvents)
Copy link
Member

Choose a reason for hiding this comment

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

are you going to be able to disambiguate these two events if they're logged?

@fimanishi fimanishi merged commit 3085f6c into cadence-workflow:master Apr 21, 2025
23 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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.