Is it possible (or planned) to hot-load NEW workflow types into a running worker without redeploying?
We work in insurance document processing (PDF, Excel, etc.), and we frequently add new workflow types. Currently, adding a new workflow requires building a new worker image, deploying a new worker, and stopping the old worker once the new one comes up. This approach works and avoids downtime through blue-green deployment, but it still adds operational overhead.
What we already understand is that determinism prevents changing existing workflow logic, versioning must be used when modifying existing workflows, activities are isolated for us, worker code is loaded at startup, and Temporal does not support dynamic registration today. Our requirement is only about adding brand-new workflow types, not modifying old ones.
What we wish existed is a way to register new workflow types at runtime through an API, which would eliminate even the small deployment step and make the system easier to operate.
Our main questions are:
- Is hot-loading new workflow types fundamentally impossible in Temporal’s architecture?
- Is the limitation due to determinism, worker initialization design, or simply missing SDK support?
- Is something like this planned, discussed, or considered for the future?
- If not possible, what is the core architectural reason?
We want to understand whether this is a hard ‘never’, or simply ‘not implemented yet’, so we can plan our systems accordingly.
Thank you!