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

transcripts: Reset error state for all blocks #5579

Merged
merged 2 commits into from
Feb 13, 2025

Conversation

sellout
Copy link
Contributor

@sellout sellout commented Feb 13, 2025

Overview

Previously, once there was an :error (or :bug) block, all following blocks would behave as if they had had an error. Except ucm blocks would correctly reset the state so that following blocks would behave correctly again.

This moves the state reset to be shared by all blocks.

Fixes #5575.

Test coverage

There’s a new transcript specifically for this issue. There was also another transcript that had an incorrect :error that worked around this bug.

Previously, once there was an `:error` (or `:bug`) block, all following
blocks would behave as if they had had an error. Except  `ucm` blocks
would correctly reset the state so that following blocks would behave
correctly again.

This moves the state reset to be shared by all blocks.

Fixes unisonweb#5575.
@aryairani aryairani merged commit bb88817 into unisonweb:trunk Feb 13, 2025
17 checks passed
@aryairani
Copy link
Contributor

Great!

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.

second unison :error in transcript doesn't seem to function properly
2 participants