Skip to content

[Bug] Golang workers are broken #279

@JorTurFer

Description

@JorTurFer

During this PR, how the worker parameters are read changed

Image

The problem is that where that code was invoked, the argument was "" and not "worker", so this change has changed the input parameters from build-id to worker-build-id (just an example)

Image

As soon as we execute it, it fails

2026-01-10T12:48:45.662Z	INFO	workers/run.go:146	Starting worker with command: [./program --task-queue omes-test --server-address=temporal-temporal-test.temporal-test-ns.svc.cluster.local:7233 --build-id=1.1.1]
Error: unknown flag: --build-id

We use this repository for the e2e test runner that we use for KEDA and that's how I've discovered it, so it's not something super urgent but it'd be nice if you can review the PR I'll prepare to fix this 🙏

Metadata

Metadata

Assignees

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