Skip to content

CSR pass old rendering, do not render again if can skip #1306

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
May 8, 2025

Conversation

steve-the-edwards
Copy link
Contributor

@steve-the-edwards steve-the-edwards commented May 8, 2025

If there was a change from any previous rendering with CSR then we need to make sure to pass the updated rendering out of the runtime and to the UI in case the current action is the last.

However, we can still skip rendering if our current action has not actually changed state, so we do that and then pass the rendering. The bug that we were not doing this was introduced with #1296 when we tried to fix the previous bug.

Unique edge case that we only just caught. I've added a test for it that fails without this logic.

@steve-the-edwards steve-the-edwards merged commit f2775dc into main May 8, 2025
43 checks passed
@steve-the-edwards steve-the-edwards deleted the sedward/csr-handling branch May 8, 2025 18:42
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