Skip to content

fix: testing environment config file ignored and needlessly wait for timeout#735

Open
mtorromeo wants to merge 2 commits intotemporalio:masterfrom
mtorromeo:fix-testing-environment
Open

fix: testing environment config file ignored and needlessly wait for timeout#735
mtorromeo wants to merge 2 commits intotemporalio:masterfrom
mtorromeo:fix-testing-environment

Conversation

@mtorromeo
Copy link

What was changed

Changed Temporal\Testing\Environment::startRoadRunner to actually use the $configFile parameter and to not wait for timeout if the process is not running.

Why?

  1. In Temporal\Testing\Environment the startRoadRunner has a $configFile parameter, which is also passed through the start method's $roadRunnerConfigFile parameter but that is completely ignored.

  2. In startRoadRunner if the executed process crashes/exists before $commandTimeout triggers (which is 10 seconds by default but could also be much longer) then the function will wait needlessly for the timeout while it could return right away.

Checklist

Confirmed by testing it on my own project, also with a misconfigured command that does not start correctly.

@mtorromeo mtorromeo requested review from a team, roxblnfk and wolfy-j as code owners March 25, 2026 10:37
@vercel
Copy link

vercel bot commented Mar 25, 2026

@mtorromeo is attempting to deploy a commit to the Temporal Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant
Copy link

CLAassistant commented Mar 25, 2026

CLA assistant check
All committers have signed the CLA.

@mtorromeo mtorromeo changed the title fix: broken testing environment start due to changes in startTemporal… fix: testing environment config file ignored and needlessly wait for timeout Mar 25, 2026
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.

2 participants