wandb / weave

Weave is a toolkit for developing AI-powered applications, built by Weights & Biases.
https://wandb.me/weave
Apache License 2.0
697 stars 62 forks source link

chore: small hack fix for objects page when reading huge objects #2652

Open gtarpenning opened 2 weeks ago

gtarpenning commented 2 weeks ago

This pr:

In prod, this query tries to load all the objects, which is actually a reasonably quick db query. However, the query eventually 500s, with no error trace at all. This could possibly be caused by a maximum 500,000 rows error. Or perhaps more plausibly a memory error.

In prod, the following times out after 50 seconds:

Screenshot 2024-10-10 at 11 42 33 AM

This branch:

Screenshot 2024-10-10 at 11 42 07 AM

Note: this will not work when object deletion is enabled, but in that case we can add the version_count on the object which should be the correct number.