Skip to content

feat: allow customizing test server startup timeout - #1678

Merged
chris-olszewski merged 1 commit into
mainfrom
olszewski/feat_customize_startup_timeout
Oct 19, 2026
Merged

chris-olszewski merged 1 commit into
mainfrom
olszewski/feat_customize_startup_timeout

Conversation

@chris-olszewski

Copy link
Copy Markdown
Member

What was changed

  • Add startup_timeout to test server options so end users can configure a timeout
  • Use timeout to bound how long we wait for the server to come up. Previously we just tried 50 times with a 100ms sleep in between each try...

Why?

See #1675, but TL;DR it is useful to extend this if on a machine with a lot of contention. Also having a real timeout vs just 50 attempts with a 100ms sleep in between is just better.

Checklist

  1. Closes Ephemeral dev server: make the startup wait configurable and include the last connection error in the timeout message #1675

  2. How was this tested:
    Added 2 unit tests to verify timeout is respected along with the fact that a slow GetSystemInfo request doesn't result in an overrun of the startup timeout.

  3. Any docs updates needed?
    N/A

@chris-olszewski
chris-olszewski marked this pull request as ready for review October 19, 2026 14:17
@chris-olszewski
chris-olszewski requested a review from a team as a code owner October 19, 2026 14:17
@chris-olszewski
chris-olszewski merged commit 994bab3 into main Oct 19, 2026
42 of 43 checks passed
@chris-olszewski
chris-olszewski deleted the olszewski/feat_customize_startup_timeout branch October 19, 2026 20:33
johanngan added a commit to temporalio/sdk-ruby that referenced this pull request Nov 6, 2026
Ran core:update's tool and cargo fetch, and regenerated the protos
Core's API update changed. The previous pin, c8d9191, is the pre-squash
commit of temporalio/sdk-rust#1678 and isn't on main, so the submodule
was first moved to its merged equivalent, 994bab3c.

Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

Ephemeral dev server: make the startup wait configurable and include the last connection error in the timeout message

2 participants