Replies: 1 comment 2 replies
-
Hi @Alex293, can you please provide a test that fails that demonstrates the problem you are seeing? I can't reproduce this: Also, nothing stands out to me in the diff between 1.16 and 1.16.1 to explain this. For the moment I'm not sure there is a regression here and so I am going to convert this to a discussion. If you can provide a failing test we can convert this back to an issue. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Hi, we noticed a regression in our tests, we identified that the regression was introduced in 1.16.1 ; 1.16.0 is working as expected. I'll update the issue with a failing test case / reproducer ASAP. The issue is 100% deterministically reproducible.
Checklist
main
branch of this package.Expected behavior
Shared's value should be readable synchronously right after writing to it.
ex :
in state :
In reducer :
expected:
po state.someShared != nil
should betrue
Actual behavior
Same code, no change between test except the TCA version, clean
Shared's value is nil.
po state.someShared != nil
yieldsfalse
Reproducing project
No response
The Composable Architecture version information
1.16.1
Destination operating system
18.0, 18.2, 17.0 (initial list of tested versions, I expect this is not iOS version related)
Xcode version information
Xcode 16.0, 16.1, 16.2 (beta)
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions