Skip to content

Conversation

@chaptersix
Copy link
Contributor

@chaptersix chaptersix commented Oct 2, 2025

What changed?

Added some log statements to the TestMaxBufferedEventsLimit functional test to help debug why the test is failing. I also added require.Eventually blocks to repeatedly check the conditions.

Why?

This tests has been very flaky but I can't seem to reproduce the failure in single tests runs or locally. Logs are too verbose to glean anything meaningful from them.

I also tried visualizing the traces and nothing seemed to stick out. (Could just be me). Hopefully these changes either fix the issue or make it easier to see what's happening.

How did you test it?

  • built
  • run locally and tested manually

}
s.Logger.Info("workflow completed",
// not the actual workflow ID
tag.WorkflowID("TestBufferedEventsMutableStateSizeLimit"))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@stephanos is there a better way to tag this?

Copy link
Contributor

@stephanos stephanos Oct 2, 2025

Choose a reason for hiding this comment

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

Tag is good 👍 Why not make it debug; since we know we have debug logs for tests enabled. This way production stays clean.

@chaptersix chaptersix closed this Oct 24, 2025
@chaptersix chaptersix deleted the alex/flat_TestBufferedEventsMutableStateSizeLimit branch October 29, 2025 00:50
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.

3 participants