Skip to content

Pass Rendering if any Conflations changed state #1296

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
Apr 23, 2025

Conversation

steve-the-edwards
Copy link
Contributor

We were short circuiting if the last action handled did not change state - but that's wrong. We cannot short circuit unless all of the actions processed so far have not changed state (otherwise we might not pass the updated Rendering to the UI ever).

Found this in register, added test to red-green repro the scenario.

@@ -1632,6 +1630,90 @@ class RenderWorkflowInTest {
}
}

@Test
fun for_conflate_and_render_only_when_state_changed_we_do_not_conflate_stacked_actions_into_one_rendering_if_previous_rendering_changed() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Couldn't get goose to summarize this paragraph for you? 😜

@steve-the-edwards steve-the-edwards merged commit 10814b1 into main Apr 23, 2025
43 checks passed
@steve-the-edwards steve-the-edwards deleted the sedwards/fix-no-change branch April 23, 2025 12:56
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