René's URL Explorer Experiment


Title: fix(client): propagate resolved instance ID and version to schedule request builder by hardikkaurani · Pull Request #345 · microsoft/durabletask-python · GitHub

Open Graph Title: fix(client): propagate resolved instance ID and version to schedule request builder by hardikkaurani · Pull Request #345 · microsoft/durabletask-python

X Title: fix(client): propagate resolved instance ID and version to schedule request builder by hardikkaurani · Pull Request #345 · microsoft/durabletask-python

Description: Summary of Changes Closes #343 When schedule_new_orchestration() is invoked without an explicit instance_id, resolved_instance_id is computed for the OpenTelemetry create-orchestration producer span. Previously, however, instance_id=instance_id (which is None) was passed to build_schedule_new_orchestration_req(). As a result, build_schedule_new_orchestration_req() generated a second random UUID for the backend CreateInstanceRequest. This caused the emitted OpenTelemetry span to record an instance ID that did not match the actual scheduled orchestration instance ID. Changes Across Commits Commit 1: fix(client): pass resolved instance ID and version to schedule request builder Updated both TaskHubGrpcClient.schedule_new_orchestration() and AsyncTaskHubGrpcClient.schedule_new_orchestration() to pass instance_id=resolved_instance_id and version=resolved_version to build_schedule_new_orchestration_req(). Commit 2: test(tracing): verify sync schedule_new_orchestration matches OTel span instance ID Added a unit test asserting that the instance ID generated by synchronous schedule_new_orchestration() matches the durabletask.task.instance_id attribute on the emitted producer span. Commit 3: test(tracing): verify async schedule_new_orchestration matches OTel span instance ID Added an async unit test verifying that AsyncTaskHubGrpcClient.schedule_new_orchestration() with an auto-generated instance ID records the same ID in the emitted producer span. Commit 4: docs(client): document instance ID and version resolution propagation in schedule_new_orchestration Documented instance ID and version resolution propagation in both client docstrings. Verification pytest tests/durabletask/test_client.py tests/durabletask/test_tracing.py 147 tests passed.

Open Graph Description: Summary of Changes Closes #343 When schedule_new_orchestration() is invoked without an explicit instance_id, resolved_instance_id is computed for the OpenTelemetry create-orchestration producer spa...

X Description: Summary of Changes Closes #343 When schedule_new_orchestration() is invoked without an explicit instance_id, resolved_instance_id is computed for the OpenTelemetry create-orchestration producer spa...

Opengraph URL: https://github.com/microsoft/durabletask-python/pull/345

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:c6836a59-0b84-6636-fe52-8d015b7f5635
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8000:1103C3:3E8CE:526DA:6AFE4150
html-safe-noncef65e010bb9efbca0ae437818375f0e7ea718e5b0eb0e29a3bd90cc1decf51595
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDAwOjExMDNDMzozRThDRTo1MjZEQTo2QUZFNDE1MCIsInZpc2l0b3JfaWQiOiIxOTQ1ODg0NzkxMjI4MjE5NzI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2776102a2a08d926b8644cb2916865e2c8402adc5e1c2d1b86b00ea58d9c07a5
hovercard-subject-tagpull_request:5175746379
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-python/pull/345/files
twitter:imagehttps://avatars.githubusercontent.com/u/224249943?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/224249943?s=400&v=4
og:image:altSummary of Changes Closes #343 When schedule_new_orchestration() is invoked without an explicit instance_id, resolved_instance_id is computed for the OpenTelemetry create-orchestration producer spa...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef1a5901e2377b0af2a0b303f9528678f1475d04b9219dca1e993344196eaa07c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/microsoft/durabletask-python git https://github.com/microsoft/durabletask-python.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id627664515
octolytics-dimension-repository_nwomicrosoft/durabletask-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627664515
octolytics-dimension-repository_network_root_nwomicrosoft/durabletask-python
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-python/pull/345/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fpull%2F345%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-python%2Fpull%2F345%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-python
Reloadhttps://github.com/microsoft/durabletask-python/pull/345/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/345/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/345/files
microsofthttps://github.com/microsoft
durabletask-pythonhttps://github.com/microsoft/durabletask-python
Codehttps://github.com/microsoft/durabletask-python
Issues15 (15)https://github.com/microsoft/durabletask-python/issues
Pull requests12 (12)https://github.com/microsoft/durabletask-python/pulls
Actionshttps://github.com/microsoft/durabletask-python/actions
Projectshttps://github.com/microsoft/durabletask-python/projects
Security and qualityhttps://github.com/microsoft/durabletask-python/security
Insightshttps://github.com/microsoft/durabletask-python/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fmicrosoft%2Fdurabletask-python%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-python%2Fissues%2Fnew%2Fchoose
andystapleshttps://github.com/andystaples
microsoft:mainhttps://github.com/microsoft/durabletask-python/tree/main
hardikkaurani:fix/schedule-orchestration-span-instance-idhttps://github.com/hardikkaurani/durabletask-python/tree/fix/schedule-orchestration-span-instance-id
Conversation 3 https://github.com/microsoft/durabletask-python/pull/345
Commits 4 https://github.com/microsoft/durabletask-python/pull/345/commits
Checks 24 https://github.com/microsoft/durabletask-python/pull/345/checks
Files changed https://github.com/microsoft/durabletask-python/pull/345/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/345/files
fix(client): propagate resolved instance ID and version to schedule request builder https://github.com/microsoft/durabletask-python/pull/345/files#top
Show all changes 4 commits https://github.com/microsoft/durabletask-python/pull/345/files
8653a50 fix(client): pass resolved instance ID and version to schedule reques… hardikkaurani Nov 5, 2026 https://github.com/microsoft/durabletask-python/pull/345/commits/8653a501072d000140b3118ec45e3b7754186344
25ca468 test(tracing): verify sync schedule_new_orchestration matches OTel sp… hardikkaurani Nov 5, 2026 https://github.com/microsoft/durabletask-python/pull/345/commits/25ca468bb8ed5fdf6f4a289cda3c43e625e44abe
622b1a4 test(tracing): verify async schedule_new_orchestration matches OTel s… hardikkaurani Nov 5, 2026 https://github.com/microsoft/durabletask-python/pull/345/commits/622b1a4393860e43a4a476bd78de80e3383aaa46
8333dcc docs(client): document instance ID and version resolution propagation… hardikkaurani Nov 5, 2026 https://github.com/microsoft/durabletask-python/pull/345/commits/8333dcc45800013d5a4f4118845bf862bc9aa92a
Clear filters https://github.com/microsoft/durabletask-python/pull/345/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/345/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/345/files
client.py https://github.com/microsoft/durabletask-python/pull/345/files#diff-f0512f394f3ddc252f276dab47495f8cbce0db620cd4f59c12c9ced8549600db
test_tracing.py https://github.com/microsoft/durabletask-python/pull/345/files#diff-f51555af92b3013117d17837128a791b560271693452432a1610d75f8aeb3581
durabletask/client.pyhttps://github.com/microsoft/durabletask-python/pull/345/files#diff-f0512f394f3ddc252f276dab47495f8cbce0db620cd4f59c12c9ced8549600db
View file https://github.com/hardikkaurani/durabletask-python/blob/8333dcc45800013d5a4f4118845bf862bc9aa92a/durabletask/client.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/345/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/345/files#diff-f0512f394f3ddc252f276dab47495f8cbce0db620cd4f59c12c9ced8549600db
https://github.com/microsoft/durabletask-python/pull/345/files#diff-f0512f394f3ddc252f276dab47495f8cbce0db620cd4f59c12c9ced8549600db
https://github.com/microsoft/durabletask-python/pull/345/files#diff-f0512f394f3ddc252f276dab47495f8cbce0db620cd4f59c12c9ced8549600db
https://github.com/microsoft/durabletask-python/pull/345/files#diff-f0512f394f3ddc252f276dab47495f8cbce0db620cd4f59c12c9ced8549600db
https://github.com/microsoft/durabletask-python/pull/345/files#diff-f0512f394f3ddc252f276dab47495f8cbce0db620cd4f59c12c9ced8549600db
https://github.com/microsoft/durabletask-python/pull/345/files#diff-f0512f394f3ddc252f276dab47495f8cbce0db620cd4f59c12c9ced8549600db
tests/durabletask/test_tracing.pyhttps://github.com/microsoft/durabletask-python/pull/345/files#diff-f51555af92b3013117d17837128a791b560271693452432a1610d75f8aeb3581
View file https://github.com/hardikkaurani/durabletask-python/blob/8333dcc45800013d5a4f4118845bf862bc9aa92a/tests/durabletask/test_tracing.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/345/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/345/files#diff-f51555af92b3013117d17837128a791b560271693452432a1610d75f8aeb3581
https://github.com/microsoft/durabletask-python/pull/345/files#diff-f51555af92b3013117d17837128a791b560271693452432a1610d75f8aeb3581
https://github.com/microsoft/durabletask-python/pull/345/files#diff-f51555af92b3013117d17837128a791b560271693452432a1610d75f8aeb3581
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/345/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.