René's URL Explorer Experiment


Title: Add worker IDs to Java gRPC requests by bachuv · Pull Request #314 · microsoft/durabletask-java · GitHub

Open Graph Title: Add worker IDs to Java gRPC requests by bachuv · Pull Request #314 · microsoft/durabletask-java

X Title: Add worker IDs to Java gRPC requests by bachuv · Pull Request #314 · microsoft/durabletask-java

Description: Issue describing the changes in this PR N/A - no linked issue. Add a workerid gRPC header so the scheduler can associate requests with individual Java worker instances. Generate a hostname:pid:uuid ID once per worker instance and attach it through a worker-local channel wrapper before applying registered interceptors. This includes failure completions sent directly by the large-payload interceptor. The ID remains stable across requests, token refresh, and reconnects. Workers sharing a channel or builder retain distinct IDs, and clients using the shared channel do not acquire a worker ID. PID discovery remains compatible with Java 8, with explicit errors when the PID or hostname cannot be determined. Pull request checklist My changes do not require documentation changes Otherwise: Documentation issue linked to PR My changes are added to the CHANGELOG.md I have added all required tests (Unit tests, E2E tests) Additional information Validation passed: .\gradlew.bat :client:test --tests '*OrchestratorChunkingTest' :azuremanaged:test --tests '*AudienceTransportTest' :azure-blob-payloads:test --tests '*LargePayloadInterceptorTest' -x :client:downloadProtoFiles --console=plain --quiet (68 tests, zero failures). Coverage verifies the hostname/PID/UUID format, per-worker uniqueness with shared builders and channels, stable IDs across repeated requests and transport reconnects, unchanged client requests, invalid-PID handling, and worker IDs on failure completions after a payload download returns HTTP 404. The protobuf download task is excluded to preserve the checked-in definitions. Local DTS end-to-end validation also passed against mcr.microsoft.com/dts/dts-emulator:latest and Azurite: 6 tests, zero failures or skips. This covers single activities, activity fan-out, sub-orchestrations, a 1.5 MB payload round trip, and scheduler redelivery after transient activity/orchestration upload failures. The actual DTS emulator logs recorded six distinct Java worker IDs in the expected hostname:pid:uuid format. Exact integration command: .\gradlew.bat :client:testClasses :azure-blob-payloads:testClasses :client:integrationTest --tests '*IntegrationTests.singleActivity' --tests '*IntegrationTests.activityFanOut' --tests '*IntegrationTests.subOrchestration' :azure-blob-payloads:integrationTest --tests '*LargePayloadIntegrationTest.roundTrip_largeInput_activityEchoesBack' --tests '*LargePayloadIntegrationTest.transientActivityUploadFailure_isRedeliveredAndCompletes' --tests '*LargePayloadIntegrationTest.transientOrchestrationUploadFailure_isRedeliveredAndCompletes' -x :client:build -x :azure-blob-payloads:build -x :client:downloadProtoFiles -PskipSigning --console=plain --quiet

Open Graph Description: Issue describing the changes in this PR N/A - no linked issue. Add a workerid gRPC header so the scheduler can associate requests with individual Java worker instances. Generate a hostname:pid:uuid...

X Description: Issue describing the changes in this PR N/A - no linked issue. Add a workerid gRPC header so the scheduler can associate requests with individual Java worker instances. Generate a hostname:pid:uuid...

Opengraph URL: https://github.com/microsoft/durabletask-java/pull/314

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f98e31e9-09ad-8794-fbfb-1ff6cc81d1d5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA234:3F0C:5AE24:73D93:6AFE3FDF
html-safe-noncebc9d6715acf3e0aeb969b4a463ce22e434c1ea83fd3df1fe4ed1da9551c4ef2f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjM0OjNGMEM6NUFFMjQ6NzNEOTM6NkFGRTNGREYiLCJ2aXNpdG9yX2lkIjoiNjkzNzg2MjgxNzY1OTYzMzYzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8e5c3ddf68397a24f66ca401f2472a45d19a807bdd97defa0412e640d3a0509e
hovercard-subject-tagpull_request:5302407429
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/microsoft/durabletask-java/pull/314/files
twitter:imagehttps://avatars.githubusercontent.com/u/15795068?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/15795068?s=400&v=4
og:image:altIssue describing the changes in this PR N/A - no linked issue. Add a workerid gRPC header so the scheduler can associate requests with individual Java worker instances. Generate a hostname:pid:uuid...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef1a5901e2377b0af2a0b303f9528678f1475d04b9219dca1e993344196eaa07c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/microsoft/durabletask-java git https://github.com/microsoft/durabletask-java.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id452823832
octolytics-dimension-repository_nwomicrosoft/durabletask-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id452823832
octolytics-dimension-repository_network_root_nwomicrosoft/durabletask-java
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec4447fdce9ed0f33af959d2b6680d0bc18212a6a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/durabletask-java/pull/314/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-java%2Fpull%2F314%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-java%2Fpull%2F314%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=microsoft%2Fdurabletask-java
Reloadhttps://github.com/microsoft/durabletask-java/pull/314/files
Reloadhttps://github.com/microsoft/durabletask-java/pull/314/files
Reloadhttps://github.com/microsoft/durabletask-java/pull/314/files
microsofthttps://github.com/microsoft
durabletask-javahttps://github.com/microsoft/durabletask-java
Codehttps://github.com/microsoft/durabletask-java
Issues47 (47)https://github.com/microsoft/durabletask-java/issues
Pull requests4 (4)https://github.com/microsoft/durabletask-java/pulls
Actionshttps://github.com/microsoft/durabletask-java/actions
Projectshttps://github.com/microsoft/durabletask-java/projects
Security and qualityhttps://github.com/microsoft/durabletask-java/security
Insightshttps://github.com/microsoft/durabletask-java/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fmicrosoft%2Fdurabletask-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmicrosoft%2Fdurabletask-java%2Fissues%2Fnew%2Fchoose
Tomer Rosenthal (torosent)https://github.com/torosent
mainhttps://github.com/microsoft/durabletask-java/tree/main
vabachu/workeridhttps://github.com/microsoft/durabletask-java/tree/vabachu/workerid
Conversation 4 https://github.com/microsoft/durabletask-java/pull/314
Commits 3 https://github.com/microsoft/durabletask-java/pull/314/commits
Checks 8 https://github.com/microsoft/durabletask-java/pull/314/checks
Files changed https://github.com/microsoft/durabletask-java/pull/314/files
Please reload this pagehttps://github.com/microsoft/durabletask-java/pull/314/files
Add worker IDs to Java gRPC requests https://github.com/microsoft/durabletask-java/pull/314/files#top
Show all changes 3 commits https://github.com/microsoft/durabletask-java/pull/314/files
e7bd4f5 Add per-worker IDs to gRPC requests with Python parity bachuv Nov 13, 2026 https://github.com/microsoft/durabletask-java/pull/314/commits/e7bd4f57c146e6c70b0030837da614a40f816c8e
2b4cfec Report invalid worker process IDs with a clear error bachuv Nov 13, 2026 https://github.com/microsoft/durabletask-java/pull/314/commits/2b4cfec487c553bde387e95bbb6de4b7f005217e
6f605ed Preserve worker IDs on interceptor-generated failure completions bachuv Nov 13, 2026 https://github.com/microsoft/durabletask-java/pull/314/commits/6f605ed44c2320f56eb0b714cafee0c18aafaf44
Clear filters https://github.com/microsoft/durabletask-java/pull/314/files
Please reload this pagehttps://github.com/microsoft/durabletask-java/pull/314/files
Please reload this pagehttps://github.com/microsoft/durabletask-java/pull/314/files
CHANGELOG.md https://github.com/microsoft/durabletask-java/pull/314/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
LargePayloadInterceptorTest.java https://github.com/microsoft/durabletask-java/pull/314/files#diff-fc44a50f64ab91fd99389a1a28f425a94eff395bd70d4682b0032046881bd6d0
AudienceTransportTest.java https://github.com/microsoft/durabletask-java/pull/314/files#diff-67ce7e0749f732a654f73eb135dc5aace563ae624e8b143da7532c0ea4a02cf7
DurableTaskGrpcWorker.java https://github.com/microsoft/durabletask-java/pull/314/files#diff-974b2a8f9416f0e25de88425b03571089062806416833779bbba3bdfa096c8f1
OrchestratorChunkingTest.java https://github.com/microsoft/durabletask-java/pull/314/files#diff-df23b8b05ab195c6a850dc726f40117373391ee5dbaa2bcaa2d9eb6e8be2a529
https://github.com/microsoft/durabletask-java/blob/main/CODEOWNERS#L11
CHANGELOG.mdhttps://github.com/microsoft/durabletask-java/pull/314/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/microsoft/durabletask-java/blob/6f605ed44c2320f56eb0b714cafee0c18aafaf44/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-java/pull/314/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-java/pull/314/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/microsoft/durabletask-java/blob/main/CODEOWNERS#L11
...rc/test/java/com/microsoft/durabletask/azureblobpayloads/LargePayloadInterceptorTest.javahttps://github.com/microsoft/durabletask-java/pull/314/files#diff-fc44a50f64ab91fd99389a1a28f425a94eff395bd70d4682b0032046881bd6d0
View file https://github.com/microsoft/durabletask-java/blob/6f605ed44c2320f56eb0b714cafee0c18aafaf44/azure-blob-payloads/src/test/java/com/microsoft/durabletask/azureblobpayloads/LargePayloadInterceptorTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-java/pull/314/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-java/pull/314/files#diff-fc44a50f64ab91fd99389a1a28f425a94eff395bd70d4682b0032046881bd6d0
https://github.com/microsoft/durabletask-java/pull/314/files#diff-fc44a50f64ab91fd99389a1a28f425a94eff395bd70d4682b0032046881bd6d0
https://github.com/microsoft/durabletask-java/pull/314/files#diff-fc44a50f64ab91fd99389a1a28f425a94eff395bd70d4682b0032046881bd6d0
https://github.com/microsoft/durabletask-java/pull/314/files#diff-fc44a50f64ab91fd99389a1a28f425a94eff395bd70d4682b0032046881bd6d0
https://github.com/microsoft/durabletask-java/pull/314/files#diff-fc44a50f64ab91fd99389a1a28f425a94eff395bd70d4682b0032046881bd6d0
https://github.com/microsoft/durabletask-java/blob/main/CODEOWNERS#L11
azuremanaged/src/test/java/com/microsoft/durabletask/azuremanaged/AudienceTransportTest.javahttps://github.com/microsoft/durabletask-java/pull/314/files#diff-67ce7e0749f732a654f73eb135dc5aace563ae624e8b143da7532c0ea4a02cf7
View file https://github.com/microsoft/durabletask-java/blob/6f605ed44c2320f56eb0b714cafee0c18aafaf44/azuremanaged/src/test/java/com/microsoft/durabletask/azuremanaged/AudienceTransportTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-java/pull/314/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-java/pull/314/files#diff-67ce7e0749f732a654f73eb135dc5aace563ae624e8b143da7532c0ea4a02cf7
https://github.com/microsoft/durabletask-java/pull/314/files#diff-67ce7e0749f732a654f73eb135dc5aace563ae624e8b143da7532c0ea4a02cf7
https://github.com/microsoft/durabletask-java/pull/314/files#diff-67ce7e0749f732a654f73eb135dc5aace563ae624e8b143da7532c0ea4a02cf7
https://github.com/microsoft/durabletask-java/pull/314/files#diff-67ce7e0749f732a654f73eb135dc5aace563ae624e8b143da7532c0ea4a02cf7
https://github.com/microsoft/durabletask-java/pull/314/files#diff-67ce7e0749f732a654f73eb135dc5aace563ae624e8b143da7532c0ea4a02cf7
https://github.com/microsoft/durabletask-java/pull/314/files#diff-67ce7e0749f732a654f73eb135dc5aace563ae624e8b143da7532c0ea4a02cf7
https://github.com/microsoft/durabletask-java/pull/314/files#diff-67ce7e0749f732a654f73eb135dc5aace563ae624e8b143da7532c0ea4a02cf7
https://github.com/microsoft/durabletask-java/pull/314/files#diff-67ce7e0749f732a654f73eb135dc5aace563ae624e8b143da7532c0ea4a02cf7
https://github.com/microsoft/durabletask-java/blob/main/CODEOWNERS#L11
client/src/main/java/com/microsoft/durabletask/DurableTaskGrpcWorker.javahttps://github.com/microsoft/durabletask-java/pull/314/files#diff-974b2a8f9416f0e25de88425b03571089062806416833779bbba3bdfa096c8f1
View file https://github.com/microsoft/durabletask-java/blob/6f605ed44c2320f56eb0b714cafee0c18aafaf44/client/src/main/java/com/microsoft/durabletask/DurableTaskGrpcWorker.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-java/pull/314/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-java/pull/314/files#diff-974b2a8f9416f0e25de88425b03571089062806416833779bbba3bdfa096c8f1
https://github.com/microsoft/durabletask-java/pull/314/files#diff-974b2a8f9416f0e25de88425b03571089062806416833779bbba3bdfa096c8f1
https://github.com/microsoft/durabletask-java/pull/314/files#diff-974b2a8f9416f0e25de88425b03571089062806416833779bbba3bdfa096c8f1
https://github.com/microsoft/durabletask-java/pull/314/files#diff-974b2a8f9416f0e25de88425b03571089062806416833779bbba3bdfa096c8f1
https://github.com/microsoft/durabletask-java/pull/314/files#diff-974b2a8f9416f0e25de88425b03571089062806416833779bbba3bdfa096c8f1
https://github.com/microsoft/durabletask-java/pull/314/files#diff-974b2a8f9416f0e25de88425b03571089062806416833779bbba3bdfa096c8f1
https://github.com/microsoft/durabletask-java/pull/314/files#diff-974b2a8f9416f0e25de88425b03571089062806416833779bbba3bdfa096c8f1
https://github.com/microsoft/durabletask-java/pull/314/files#diff-974b2a8f9416f0e25de88425b03571089062806416833779bbba3bdfa096c8f1
https://github.com/microsoft/durabletask-java/blob/main/CODEOWNERS#L11
client/src/test/java/com/microsoft/durabletask/OrchestratorChunkingTest.javahttps://github.com/microsoft/durabletask-java/pull/314/files#diff-df23b8b05ab195c6a850dc726f40117373391ee5dbaa2bcaa2d9eb6e8be2a529
View file https://github.com/microsoft/durabletask-java/blob/6f605ed44c2320f56eb0b714cafee0c18aafaf44/client/src/test/java/com/microsoft/durabletask/OrchestratorChunkingTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-java/pull/314/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-java/pull/314/files#diff-df23b8b05ab195c6a850dc726f40117373391ee5dbaa2bcaa2d9eb6e8be2a529
https://github.com/microsoft/durabletask-java/pull/314/files#diff-df23b8b05ab195c6a850dc726f40117373391ee5dbaa2bcaa2d9eb6e8be2a529
https://github.com/microsoft/durabletask-java/pull/314/files#diff-df23b8b05ab195c6a850dc726f40117373391ee5dbaa2bcaa2d9eb6e8be2a529
https://github.com/microsoft/durabletask-java/pull/314/files#diff-df23b8b05ab195c6a850dc726f40117373391ee5dbaa2bcaa2d9eb6e8be2a529
https://github.com/microsoft/durabletask-java/pull/314/files#diff-df23b8b05ab195c6a850dc726f40117373391ee5dbaa2bcaa2d9eb6e8be2a529
https://github.com/microsoft/durabletask-java/pull/314/files#diff-df23b8b05ab195c6a850dc726f40117373391ee5dbaa2bcaa2d9eb6e8be2a529
Please reload this pagehttps://github.com/microsoft/durabletask-java/pull/314/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.