Skip to content

Fix/dev server cluster id prefix#1049

Closed
NasitSony wants to merge 6 commits into
temporalio:mainfrom
NasitSony:fix/dev-server-cluster-id-prefix
Closed

Fix/dev server cluster id prefix#1049
NasitSony wants to merge 6 commits into
temporalio:mainfrom
NasitSony:fix/dev-server-cluster-id-prefix

Conversation

@NasitSony
Copy link
Copy Markdown
Contributor

What was changed

  • Prefix generated dev server cluster IDs with "dev-server-" for better identification
  • Add TEMPORAL_DEV_SERVER_CLUSTER_ID environment variable to allow cluster ID override

Why?

Dev server cluster IDs were plain UUIDs with no indication they came from a dev server. Prefixing with "dev-server-" makes them identifiable. The env var override allows users to set a consistent cluster ID across restarts without relying on the persisted config file.

Checklist

  1. Closes [Feature Request] Prefix cluster ID with "dev-server-" (or similar) and allow env var override #609
  2. How was this tested: All existing tests pass (go test ./...). Build succeeds.
  3. Any docs updates needed? No — the env var name TEMPORAL_DEV_SERVER_CLUSTER_ID is self-explanatory.

NasitSony added 4 commits May 22, 2026 16:47
…tScheduleMatchingTimes RPC in the CLI.

Allows users to preview when a schedule will fire within
a given time range without executing workflows.                                                                                                                                                                       Closes temporalio#1030
Convert SearchAttributes using CustomJSONMarshalOptions before
assigning to printableSchedule, ensuring typed fields serialize
correctly through standard json.Marshal.

Fixes temporalio#590
- Prefix generated cluster IDs with 'dev-server-' for better identification
- Add TEMPORAL_DEV_SERVER_CLUSTER_ID env var to allow override

Fixes temporalio#609
@NasitSony NasitSony requested a review from a team as a code owner May 23, 2026 18:04
@chaptersix
Copy link
Copy Markdown
Contributor

@NasitSony please fix your conflict.

IMO I don't think it's worth providing an env var to override the cluster id. I'm good with the prefix and closing the issue without adding an env var.

@NasitSony
Copy link
Copy Markdown
Contributor Author

@chaptersix Removed the env var override, keeping just the dev-server- prefix. Conflict resolved and tests passing. Ready for review.

@NasitSony
Copy link
Copy Markdown
Contributor Author

@chaptersix Closing in favor of #1059 — cleaner branch without extra commits.

@NasitSony NasitSony closed this May 30, 2026
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.

[Feature Request] Prefix cluster ID with "dev-server-" (or similar) and allow env var override

2 participants