Skip to content

Conversation

@phlego
Copy link
Contributor

@phlego phlego commented Oct 19, 2025

What was changed

This PR correct the error message for the start method of WorkerFactory.
The fix correctly shows State.Initial and State.Started as the expected states.
The PR also remove a unused variable and several unused imports.

Why?

The original code had State.Initial.name() duplicated in the error message, which was likely a copy-paste error.

Checklist

  1. Closes
    N/A

  2. How was this tested:
    N/A

  3. Any docs updates needed?
    No

@phlego phlego requested a review from a team as a code owner October 19, 2025 17:32
@CLAassistant
Copy link

CLAassistant commented Oct 19, 2025

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@phlego
Copy link
Contributor Author

phlego commented Oct 21, 2025

Hi @Quinn-With-Two-Ns
I'm not sure the integration tests are flaky or something is wrong with my PR.
It seems that you helped rerun the pipeline once a couple days ago.
Wonder if you could help me out?

@Quinn-With-Two-Ns
Copy link
Contributor

Hi @phlego thank you for the contribution, please see these instructions #2686 (comment) to fix CI thanks

@phlego
Copy link
Contributor Author

phlego commented Oct 22, 2025

Done @Quinn-With-Two-Ns
Thanks a lot for your support 🙏

The original code had `State.Initial.name()` duplicated in the error message,
which was likely a copy-paste error. The fix correctly shows `State.Initial`
and `State.Started` as the expected states.
@Quinn-With-Two-Ns Quinn-With-Two-Ns force-pushed the correct-preconditions-error-message-in-workerfactory branch from 405ffbd to 388c3eb Compare October 22, 2025 20:31
@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit f864e8a into temporalio:master Oct 22, 2025
15 checks passed
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.

3 participants