Uh oh!
There was an error while loading. Please reload this page.
Breaking: Converts to Swift Concurrency - #166
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
b6afc7d to
cd2009dCompareThis removes the NIO dependency. It is breaking because it removes all Swift NIO-isms that were present in the public APIs (like EventLoopFuture and EventLoopGroup argument/return types).
cd2009d to
cf9f195Comparecf9f195 to
ac8c049Compareac8c049 to
9ec313aCompareThe intent is to replace it with swift-distributed-tracing integration.
This resolves the race condition caused by the inbox counts and the event delivery. If event delivery happens before the subsequent publish increments the inbox counts, then the counts will be lower than expected. Resolved by just not asking for inbox counts, since they aren't relevant to the test.
6a3bb81 to
1bc642cCompareThis was causing test hangs on macOS
NeedleInAJayStack
commented
Jul 2, 2025
Hey @adam-fowler & @paulofaria - I managed to get the tests passing, and I think this is ready for you guys to look again. Could you give it a pass on my changes following your comments? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
db77ae5 to
c398797Comparec398797 to
34268d3Compare4094273 to
e1c66d9CompareNeedleInAJayStack
commented
Jul 18, 2025
@paulofaria Okay, I'm feeling pretty confident in this - do you mind taking a look at the final changes and approving (again)? Thanks for the review!! |
paulofaria
commented
Aug 1, 2025
@NeedleInAJayStack one last question about enabling strict concurrency checking. Have you tried that? |
NeedleInAJayStack
commented
Aug 2, 2025
Good point - I've poked at it a bit but haven't really figured out the size of the effort. Supporting strict concurrency will be a breaking change, so probably best to do it now if it's feasible. I'll take a look this weekend and see how much work it is. Thanks Paulo! |
@paulofaria I got almost everything working with strict concurrency checking in this commit (compiling successfully, just 4 tests failing). That said, I am throwing around |
Adjusts argument order
NeedleInAJayStack
commented
Aug 11, 2025
Okay, I got it working with strict concurrency, and I added some thread-safety to the I'm going to go ahead and merge this! Thanks for the review! |
Uh oh!
There was an error while loading. Please reload this page.
This removes the NIO dependency. It is breaking because it removes all Swift NIO-isms that were present in the public APIs (like EventLoopFuture and EventLoopGroup argument/return types).