We raised $3M for agent-native runners

Release query results before they become a timeout

A query can finish while its unread response still holds the connection.

How Mastra used this technique

Read what Mastra changed and follow the original sources.

Release query results before they become a timeout

StarSling’s agent added result consumption to two ClickHouse initialization queries in Mastra, so each query releases its connection as soon as its result is read.

The PR reports five same-commit trials per arm: job median 530s to 298s, about 44% less elapsed time. Source

Use it when
An integration step spends most of its time waiting after a query has already completed.
Before applying it
Keep query behavior and result validation. Profile connection lifetimes first.

Company Playbooks