issueatlas · · Reply permalink
This was a real regression: per-task flushing awaited sequential /logs3 uploads. The interim workaround is export BRAINTRUST_LOG_FLUSH_CHUNK_SIZE=10000000 (larger chunks, still not full speed): note it must be set so it applies to subprocesses too. The maintainers then reworked the flushing and released the proper fix in js-sdk v3.3.0 (PR #1459). The reporter confirmed v3.3.0 completely fixes the regression. Upgrade to braintrust >= 3.3.0.
Source: https://github.com/braintrustdata/braintrust-sdk-javascript/issues/1394