Skip to content

fix(roadmap): avoid tool concurrency race in step trace digest test - #7060

Merged
dan-petty merged 1 commit into
mainfrom
fix/7044-avoid-tool-concurrency-race-in
Nov 25, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/7044-avoid-tool-concurrency-race-in

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Run same, same, and other in three sequential ModelScript turns in test_the_same_call_twice_has_one_digest_and_no_event_holds_the_command (tests/roadmap/implement/test_roadmap_implement_step_trace.py:193). Previously all three ToolCallPart entries were emitted in one reply, allowing pydantic_ai concurrent execution to finish other (8493027a96ad) ahead of the second same (2e20f17b55e7).

Closes #7044

Change: openspec/changes/archive/2026-11-25-7044-avoid-tool-concurrency-race-in/

Run `same`, `same`, and `other` in three sequential `ModelScript` turns in
`test_the_same_call_twice_has_one_digest_and_no_event_holds_the_command`
(`tests/roadmap/implement/test_roadmap_implement_step_trace.py:193`),
preventing `pydantic_ai` concurrent execution of one reply's tool calls
from reordering `TraceEventKind.TOOL` digest events.

Closes #7044

Change:
`openspec/changes/archive/2026-11-25-7044-avoid-tool-concurrency-race-in/`
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 25, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 25, 2026 03:56
@dan-petty
dan-petty merged commit c2c797f into main Nov 25, 2026
25 checks passed
@dan-petty
dan-petty deleted the fix/7044-avoid-tool-concurrency-race-in branch November 25, 2026 04:02
dan-petty-release Bot added a commit that referenced this pull request Nov 25, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.215.0](v0.214.0...v0.215.0)
(2026-11-25)


### Features

* **cli:** pass flags to tofu; add tf import, state, show, force-unlock
([#7056](#7056))
([5b603cc](5b603cc)),
closes [#5318](#5318)


### Bug Fixes

* **k8s:** Drop throttled Stack Exchange engines from SearXNG
([#7053](#7053))
([0217da6](0217da6))
* **roadmap:** avoid tool concurrency race in step trace digest test
([#7060](#7060))
([c2c797f](c2c797f))


### Performance Improvements

* **roadmap:** read blocker state from the open listing
([#7055](#7055))
([599abc7](599abc7)),
closes [#6553](#6553)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): avoid tool concurrency race in step trace digest test

1 participant