Skip to content

[Bug] Outdated and misconfigured Temporal makes excercise impossible to perform #7

@Norbiox

Description

@Norbiox

What are you really trying to do?

I'm trying to perform the excercise.

Describe the bug

I was unable to do it locally due to lack of dynamic configuration. I was unable to do it in Codespace due to the same issue and old version of temporal in command line.

Minimal Reproduction

In Part A of the excercise participant is required to edit src/worker.ts and run npm start. Then participant is asked to run temporal worker deployment describe --name="worker_versioning_demo" to get the description of deployment, but there's none. If participant opens Temporal UI and goes to Worker Deployments tab, it informs that worker deployment are disabled for namespace. I asked Kapa.ai and got answer to add dynamic config to the command starting Temporal. Below is the whole command that has worked for me:

temporal server start-dev --ui-port 8080 --db-filename clusterdata.db --dynamic-config-value frontend.workerVersioningWorkflowAPIs=true --dynamic-config-value system.enableDeploymentVersions=true

After I run this the worker deployment is being created. Though I cannot do the same in Codespace due to the lack of this config in codespace autostart command. Moreover in Codespace shell temporal version is 1.1.1 and lacks temporal worker deployments command.

Environment/Versions

  • OS and processor: Linux
  • Temporal Version 2.26
  • Are you using Docker or Kubernetes or building Temporal from source? No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions