chore(🐙): add runtime reload lifecycle diagnostic#429
Conversation
| }, | ||
| { | ||
| screen: "Diagnostics", | ||
| title: "⚠️ Tests", |
There was a problem hiding this comment.
can you move it to this sublist?
|
love it! Thank you for this. Now if I try this example as is, it will crash? |
|
No, this results in loss of context on reboot, rn-webgl devices simply stop working (no adapter or no device). |
|
love it, let me try it now |
|
Can you explain me the folow to reproduce the issue, I wasn't able to do it? Is this Android/iOS physical devices? |
|
The original issue was reproducible in our app on Expo SDK 55 with react-native-webgpu 0.5.9. After expo-updates reloadAsync(), WebGPU became unavailable — we could no longer acquire an adapter or device. |
|
if apps/example would use expo instead RNTA would that help with reproducing the issue on our side? |
|
I think, no at this moment. I checked on my app and for now it works fine on RN0.86+Expo SDK 57. |
|
There is still one robustness scenario from #427 that may be worth preserving: a reload can happen while asynchronous WebGPU work is still in flight — for example during createComputePipelineAsync(), mapAsync(), queue.onSubmittedWorkDone(), or while device.lost and error listeners are registered. |
moved lifecycle diagnostic from PR #427