René's URL Explorer Experiment


Title: Schedules hotfix for DTS dashboard by andystaples · Pull Request #169 · microsoft/durabletask-python · GitHub

Open Graph Title: Schedules hotfix for DTS dashboard by andystaples · Pull Request #169 · microsoft/durabletask-python

X Title: Schedules hotfix for DTS dashboard by andystaples · Pull Request #169 · microsoft/durabletask-python

Description: Summary Schedules created with durabletask.scheduled were failing to load in the Durable Task Scheduler (DTS) dashboard. The dashboard backend reads the raw schedule entity state and deserializes it into .NET types with System.Text.Json (Web defaults), but the Python SDK persisted the state in a Python-native shape. This PR aligns the persisted schedule entity state (ScheduleState / ScheduleConfiguration) with the .NET SDK wire format so the dashboard can read it. In-memory representations are unchanged; only the persisted JSON shape is adjusted (with tolerant reads for round-tripping). Fixes status as a numeric enum, not a string. System.Text.Json (Web defaults) has no string-enum converter, so it expects the ordinal. ScheduleStatus is now serialized as its .NET ordinal (Uninitialized=0, Active=1, Paused=2). Fixes the original could not be converted to ... ScheduleStatus. Path: $.status error. interval as a .NET TimeSpan string, not interval_seconds. The interval is now formatted/parsed as [-][d.]hh:mm:ss[.fffffff] (e.g. 01:00:00) to match the .NET TimeSpan JSON converter. OrchestrationInput as a JSON-encoded string, not a raw object. .NET types the field as string?; Python held it as Any. A dict/object input serialized to a JSON object and was rejected (Cannot get the value of a token type 'StartObject' as a string. Path: $.ScheduleConfiguration.OrchestrationInput). It is now serialized to a JSON string on persist and decoded back on read; the in-memory value stays a raw object so the orchestration still starts with the correct input. PascalCase property names throughout. ScheduleState and ScheduleConfiguration now emit .NET property names (Status, ExecutionToken, ScheduleConfiguration, ScheduleId, Interval, etc.) so case-insensitive matching in the backend succeeds (snake_case underscores previously broke the match). Backward compatibility from_json on both types tolerates the legacy snake_case/string shapes (numeric or string status, interval_seconds, raw input) so states persisted by earlier Python workers still round-trip. Review feedback addressed _from_iso only normalizes a trailing Z (no longer replaces every Z in the string). ScheduleStatus.from_dotnet uses a PEP 604 union (int | str | None); removed the now-unused typing.Union import. ScheduleState.from_json preserves the __init__-generated execution_token when the field is absent, instead of overwriting it with None (which would make every run_schedule signal look stale and silently stop the schedule). Testing Added regression tests for the .NET-compatible JSON shape (numeric status, TimeSpan interval, JSON-string input), legacy-format deserialization, and execution-token preservation. All tests/durabletask/scheduled/ tests pass; flake8 clean. Verified end-to-end against the DTS emulator: created a schedule with a dictionary orchestration_input (the exact shape that previously failed) and confirmed the dashboard's GET /api/v1/taskhubs/schedules endpoint deserializes and lists it without error.

Open Graph Description: Summary Schedules created with durabletask.scheduled were failing to load in the Durable Task Scheduler (DTS) dashboard. The dashboard backend reads the raw schedule entity state and deserializes i...

X Description: Summary Schedules created with durabletask.scheduled were failing to load in the Durable Task Scheduler (DTS) dashboard. The dashboard backend reads the raw schedule entity state and deserializes i...

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

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:3d7853ba-72c2-4e5b-6c4b-c382d47f2d6c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id84C8:14DE81:8FA2C:C24A3:6AFE3232
html-safe-nonce4fae1f96da78daec0a5d853f3cc29a4d8a0a58dc848a08dcccc5fb08434851fb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEM4OjE0REU4MTo4RkEyQzpDMjRBMzo2QUZFMzIzMiIsInZpc2l0b3JfaWQiOiIxNjMwMTcwNjA1ODE2Nzg3NTA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdcbb8a71cf71d225702c50ced139a9df6995f9ce0d19c265bb6c750453331208
hovercard-subject-tagpull_request:4001871910
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/169/files
twitter:imagehttps://avatars.githubusercontent.com/u/77818326?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/77818326?s=400&v=4
og:image:altSummary Schedules created with durabletask.scheduled were failing to load in the Durable Task Scheduler (DTS) dashboard. The dashboard backend reads the raw schedule entity state and deserializes i...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned70e31220a67f6376c108d2416fa8e7df854c1065b1672ab7a88ab6dc3a809e2
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
releaseccb88d9c92abe69245b429398c8a57ae87070c7c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/durabletask-python/pull/169/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fpull%2F169%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%2F169%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/169/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/169/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/169/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
andystaples:andystaples/fix-schedules-dts-dashboardhttps://github.com/andystaples/durabletask-python/tree/andystaples/fix-schedules-dts-dashboard
Conversation 11 https://github.com/microsoft/durabletask-python/pull/169
Commits 2 https://github.com/microsoft/durabletask-python/pull/169/commits
Checks 17 https://github.com/microsoft/durabletask-python/pull/169/checks
Files changed https://github.com/microsoft/durabletask-python/pull/169/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/169/files
Schedules hotfix for DTS dashboard https://github.com/microsoft/durabletask-python/pull/169/files#top
Show all changes 2 commits https://github.com/microsoft/durabletask-python/pull/169/files
eb67c35 Schedules hotfix for DTS dashboard andystaples Jul 6, 2026 https://github.com/microsoft/durabletask-python/pull/169/commits/eb67c35302dd3fc418d50b5d332f980ba431f469
bcf9de0 Serialize schedule input as .NET string; address PR review andystaples Jul 8, 2026 https://github.com/microsoft/durabletask-python/pull/169/commits/bcf9de0676c6cdc0ea023ef90ecc4d8b511bb6c2
Clear filters https://github.com/microsoft/durabletask-python/pull/169/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/169/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/169/files
CHANGELOG.md https://github.com/microsoft/durabletask-python/pull/169/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
models.py https://github.com/microsoft/durabletask-python/pull/169/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
schedule_status.py https://github.com/microsoft/durabletask-python/pull/169/files#diff-c58483c7866a401c1d2cd86b14812ac385d8f99b652b05c556c081600f73c53a
test_models.py https://github.com/microsoft/durabletask-python/pull/169/files#diff-b7b9018614c0b999da7d8b6ab1d5f2e848ee225ead1f79456543ab1a97b51616
CHANGELOG.mdhttps://github.com/microsoft/durabletask-python/pull/169/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/andystaples/durabletask-python/blob/bcf9de0676c6cdc0ea023ef90ecc4d8b511bb6c2/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/169/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/169/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/microsoft/durabletask-python/pull/169/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
durabletask/scheduled/models.pyhttps://github.com/microsoft/durabletask-python/pull/169/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
View file https://github.com/andystaples/durabletask-python/blob/bcf9de0676c6cdc0ea023ef90ecc4d8b511bb6c2/durabletask/scheduled/models.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/169/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/169/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
https://github.com/microsoft/durabletask-python/pull/169/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
https://github.com/microsoft/durabletask-python/pull/169/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
https://github.com/microsoft/durabletask-python/pull/169/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
https://github.com/microsoft/durabletask-python/pull/169/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
https://github.com/microsoft/durabletask-python/pull/169/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
https://github.com/microsoft/durabletask-python/pull/169/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
https://github.com/microsoft/durabletask-python/pull/169/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
durabletask/scheduled/schedule_status.pyhttps://github.com/microsoft/durabletask-python/pull/169/files#diff-c58483c7866a401c1d2cd86b14812ac385d8f99b652b05c556c081600f73c53a
View file https://github.com/andystaples/durabletask-python/blob/bcf9de0676c6cdc0ea023ef90ecc4d8b511bb6c2/durabletask/scheduled/schedule_status.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/169/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/169/files#diff-c58483c7866a401c1d2cd86b14812ac385d8f99b652b05c556c081600f73c53a
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/169/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/169/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.