119285f056
Avoid an N+1 item-directory scan when loading runtime thread details by grouping persisted items for all turns in one pass. Harvested from PR #3141. Co-authored-by: Hmbown <101357273+Hmbown@users.noreply.github.com> Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>