trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

[TRI-1274] Manual refreshing the Run page with a Task selected throws `Cannot read properties of undefined (reading 'length')`

Open matt-aitken opened this issue 2 years ago • 4 comments

To reproduce

On the Run page, click on a Task. Then manually refresh the page in your browser.

Solution

I think this is to do with us using Suspense. The error points at accessing properties.length.

From SyncLinear.com | TRI-1274

matt-aitken avatar Sep 13 '23 10:09 matt-aitken

I think we can get rid of the defer/Suspense stuff here, as most of the improvement in perf was from not syntax highlighting larger task outputs.

ericallam avatar Sep 13 '23 11:09 ericallam

what's the status on this?

siddharth-movaliya avatar Sep 26 '23 08:09 siddharth-movaliya

I'm unable to reproduce this issue on the latest version. @Siddharth-2382 are you still seeing this problem? Are you self-hosting or using the cloud product?

matt-aitken avatar Oct 02 '23 15:10 matt-aitken

@matt-aitken I tried reproducing this using self hosting and I too was unable to reproduce this issue.

siddharth-movaliya avatar Oct 03 '23 13:10 siddharth-movaliya