Skip to content

feat: report PHP SDK identity in worker heartbeats via sdk-go SdkName option - #791

Merged
rustatian merged 5 commits into
masterfrom
feature/heartbeat-sdk-name-option
Aug 21, 2026
Merged

feat: report PHP SDK identity in worker heartbeats via sdk-go SdkName option#791
rustatian merged 5 commits into
masterfrom
feature/heartbeat-sdk-name-option

Conversation

@xepozz

@xepozz xepozz commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Report the PHP SDK in worker heartbeats by setting the new ClientOptions.SdkName/SdkVersion (added in go-sdk), instead of rewriting the heartbeat body in a gRPC interceptor.

Depends on a go.temporal.io/sdk release that exposes those options:
temporalio/sdk-go@main...xepozz:temporal-sdk-go:feature/worker-heartbeat-sdk-name-override

Until that lands, go.mod is intentionally not bumped, so CI stays red.

Wait temporalio/sdk-go#2511 to be merged
temporalio/sdk-php#720

@xepozz
xepozz requested a review from rustatian as a code owner July 31, 2026 13:55

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d5c214d643

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread internal.go
@xepozz
xepozz force-pushed the feature/heartbeat-sdk-name-option branch from d5c214d to 3aadd2b Compare July 31, 2026 14:05
Set ClientOptions.SdkName/SdkVersion (new in go-sdk) so worker heartbeats report
temporal-php. Requires a go.temporal.io/sdk release that adds the option.

Signed-off-by: Dmitriy Derepko <xepozz@list.ru>
@xepozz
xepozz force-pushed the feature/heartbeat-sdk-name-option branch from 3aadd2b to 4b8555d Compare July 31, 2026 14:09
@xepozz xepozz changed the title feat: report PHP SDK identity via sdk-go SdkName option (instead of interceptor) feat: report PHP SDK identity in worker heartbeats via sdk-go SdkName option Jul 31, 2026
@xepozz
xepozz marked this pull request as draft July 31, 2026 14:11
@xepozz
xepozz marked this pull request as ready for review July 31, 2026 15:28
@xepozz
xepozz marked this pull request as draft July 31, 2026 15:28
xepozz added 3 commits August 9, 2026 17:30
Required for ClientOptions.SdkName/SdkVersion used by the worker heartbeat
identity change.

Signed-off-by: Dmitriy Derepko <xepozz@list.ru>
…dk-name-option

Signed-off-by: Dmitriy Derepko <xepozz@list.ru>

# Conflicts:
#	go.mod
#	go.sum
#	tests/go.mod
@xepozz
xepozz marked this pull request as ready for review August 19, 2026 18:46
@rustatian rustatian added the C-enhancement Category: enhancement. Meaning improvements of current module, transport, etc.. label Aug 21, 2026

@rustatian rustatian left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, thank you @xepozz

@rustatian
rustatian merged commit 146fbbc into master Aug 21, 2026
11 checks passed
@rustatian
rustatian deleted the feature/heartbeat-sdk-name-option branch August 21, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-enhancement Category: enhancement. Meaning improvements of current module, transport, etc..

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants