Skip to content

Check only principal type for system worker classification#10172

Open
rkannan82 wants to merge 1 commit intomainfrom
kannan/system-worker-principal-type-only
Open

Check only principal type for system worker classification#10172
rkannan82 wants to merge 1 commit intomainfrom
kannan/system-worker-principal-type-only

Conversation

@rkannan82
Copy link
Copy Markdown
Contributor

@rkannan82 rkannan82 commented May 4, 2026

What

Simplify system worker detection to only check the principal type (temporal), without requiring a specific name.

Why

All workers with the temporal principal type are internal system workers regardless of their name.

How did you test it?

  • Unit tests updated

🤖 Generated with Claude Code

Only check principal.Type == "temporal" without requiring
principal.Name == "internal". All workers with the temporal
principal type are system workers regardless of name.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rkannan82 rkannan82 requested a review from ShahabT May 4, 2026 19:23
@rkannan82 rkannan82 marked this pull request as ready for review May 4, 2026 19:23
@rkannan82 rkannan82 requested a review from a team as a code owner May 4, 2026 19:23
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.

2 participants