Skip to content

test(app): count the model call before publishing it in the MicroVM child test - #2350

Merged
jhrozek merged 1 commit into
mainfrom
fix/microvm-child-test-resume-deadlock
Oct 15, 2026
Merged

jhrozek merged 1 commit into
mainfrom
fix/microvm-child-test-resume-deadlock

Conversation

@jhrozek

@jhrozek jhrozek commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

The request observer sent the request to the test and only then incremented the call counter. The test could start the second run in that gap, so the second call was counted as the first and parked on resume, which only closes after that run is drained. Increment first, then publish.

Co-Authored-By: mecatl [email protected]

…hild test

The request observer sent the request to the test and only then incremented the call counter. The test could start the second run in that gap, so the second call was counted as the first and parked on resume, which only closes after that run is drained. Increment first, then publish.

Co-Authored-By: mecatl <[email protected]>
@jhrozek
jhrozek merged commit 6270383 into main Oct 15, 2026
37 checks passed
@jhrozek
jhrozek deleted the fix/microvm-child-test-resume-deadlock branch October 15, 2026 09:29
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Oct 20, 2026
2 tasks
@jbeda jbeda mentioned this pull request Oct 31, 2026
10 of 14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant