RxSwift icon indicating copy to clipboard operation
RxSwift copied to clipboard

Add fatal synchronization error hook

Open gabriellanata opened this issue 1 year ago • 1 comments

This change introduces a setting to trigger a fatal error when a synchronization error is detected. The FATAL_SYNCHRONIZATION flag has precedence over this setting and it does not change the current default behavior.

Reasoning: We're trying to work through many synchronization errors in our app, but this process is going to take a while. In the meantime, we want to prevent new errors from being added to places that don't have them already. Our approach is to enable this setting for tests and provide a way to disable it for specific tests that currently have synchronization issues. One of the things we need for this to be possible is a way to turn this feature on or off easily.

gabriellanata avatar Mar 22 '23 23:03 gabriellanata

This change introduces a setting to trigger a fatal error when a synchronization error is detected. The FATAL_SYNCHRONIZATION flag has precedence over this setting and it does not change the current default behavior.

Reasoning: We're trying to work through many synchronization errors in our app, but this process is going to take a while. In the meantime, we want to prevent new errors from being added to places that don't have them already. Our approach is to enable this setting for tests and provide a way to disable it for specific tests that currently have synchronization issues. One of the things we need for this to be possible is a way to turn this feature on or off easily.

I'm sorry for not replying so far, I guess you have worked around this in a different way but I'm wondering what's the reaosn to not add FATAL_SYNCHRONIZATION to your test suite directly, instead of an additional flag from the RxSwift side?

freak4pc avatar Oct 28 '23 20:10 freak4pc

No response, closing

freak4pc avatar Apr 20 '24 20:04 freak4pc