temporalio / temporalio/sdk-java
Predictable log statement when test server is ready for use
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 433
- Forks
- 249
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 26
Description
Is your feature request related to a problem? Please describe.
External SDKs need to know when the test server is up and ready to use. Today SDKs just continually try to open a socket until it succeeds. Also, users might want to know also.
Describe the solution you'd like
Create some kind of output (stdout or stderr) that is somewhat predictable (e.g. starts with a common string or something) and would be the first output of the test server process when the server is successfully started and ready for use. This way an SDK can wait for the first bit of stdout or stderr to know whether something failed or server has started.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the test server process startup entry point and inspect how it reports successful startup and failures. Define a predictable first stdout or stderr message that external SDKs can wait for, then verify that it appears only after the server is ready and does not hide startup errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100