[ECO-5397, WIP] Investigate hangs in integration tests#456
[ECO-5397, WIP] Investigate hangs in integration tests#456lawrence-forooghian wants to merge 28 commits intomainfrom
Conversation
Investigating a hang.
to provoke hang
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Looking at https://github.com/ably/ably-chat-swift/actions/runs/18750083215/job/53487146062?pr=456 it seems that a
What's happening is:
This is presumably a bug in ably-cocoa but I haven't looked into it yet. Worth noting that we do have a test for RTL4i's ATTACHING case. |
|
It's a deadlock in This was excluded from the documentation on the site for some reason. I asked Claude what other synchronization methods can be used here, and it proposed to use UPD: seems like correct description of what's happening - ably/ably-cocoa#2131 (comment) |
|
I'm not sure what you intended to link to @maratal; the link you've posted is to a CI log. Please could you share a link to the ably-cocoa code that you believe is responsible for the deadlock? |
358fb24 to
70a852a
Compare
70a852a to
d78a11c
Compare
This reverts commit 0ffb874. (still hanging, will apply that fix plus some logging)
prompt: "Update the iOS job in @.github/workflows/check.yaml so that after 15 minutes it pauses the test process, attaches to it with a debugger, and prints out a backtrace of all of the threads"
This reverts commit e1a092d.
This branch runs the iOS tests in a loop to try and get a hang.