Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reserve "__temporal_" prefix #1806

Merged
merged 3 commits into from
Feb 7, 2025

Conversation

yuandrew
Copy link
Contributor

@yuandrew yuandrew commented Feb 7, 2025

What was changed

Prevent users from using __temporal_ across workflows, activities, nexus operations/services, and signals.

Queries and updates already reserve the __ prefix

Why?

We want to reserve a prefix to throw any special behavior under.

Checklist

  1. Closes Special behavior for Temporal built-in prefixes #1779

  2. How was this tested:

Added tests

  1. Any docs updates needed?

…, signal, from using __temporal_ prefix. TODO: add tests for activities/workflows, all other scenarios.
@yuandrew yuandrew requested a review from a team as a code owner February 7, 2025 21:02
Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, may want @Quinn-With-Two-Ns to peek too

# Conflicts:
#	test/integration_test.go
@yuandrew yuandrew enabled auto-merge (squash) February 7, 2025 23:10
@yuandrew yuandrew merged commit 150b4bd into temporalio:master Feb 7, 2025
13 checks passed
@Quinn-With-Two-Ns
Copy link
Contributor

Checking the issue again are we also supposed to reserve task queue as well? @cretz @yuandrew

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