Title: Add task hub and instance ID prefix orchestration query filters · Issue #222 · microsoft/durabletask-python · GitHub
Open Graph Title: Add task hub and instance ID prefix orchestration query filters · Issue #222 · microsoft/durabletask-python
X Title: Add task hub and instance ID prefix orchestration query filters · Issue #222 · microsoft/durabletask-python
Description: Summary The protobuf InstanceQuery supports taskHubNames and instanceIdPrefix, and the .NET Durable Task client exposes both filters. Python's OrchestrationQuery and request builder currently omit them. Current behavior Python orchestrat...
Open Graph Description: Summary The protobuf InstanceQuery supports taskHubNames and instanceIdPrefix, and the .NET Durable Task client exposes both filters. Python's OrchestrationQuery and request builder currently omit ...
X Description: Summary The protobuf InstanceQuery supports taskHubNames and instanceIdPrefix, and the .NET Durable Task client exposes both filters. Python's OrchestrationQuery and request builder currently o...
Opengraph URL: https://github.com/microsoft/durabletask-python/issues/222
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add task hub and instance ID prefix orchestration query filters","articleBody":"## Summary\n\nThe protobuf `InstanceQuery` supports `taskHubNames` and `instanceIdPrefix`, and the .NET Durable Task client exposes both filters. Python's `OrchestrationQuery` and request builder currently omit them.\n\n## Current behavior\n\nPython orchestration queries support creation-time bounds, runtime status, result limits, and payload inclusion. There is no way to:\n\n- restrict results to one or more task hubs;\n- restrict results to instance IDs beginning with a prefix.\n\nThe generated protobuf already contains both fields, so no protocol update is required.\n\n## Expected parity\n\nExtend `OrchestrationQuery` with Python-style equivalents of:\n\n- `task_hub_names: list[str] | None`\n- `instance_id_prefix: str | None`\n\nSerialize these through `build_query_instances_req()` to `InstanceQuery.taskHubNames` and `InstanceQuery.instanceIdPrefix` for both sync and async clients.\n\n.NET references:\n\n- [`OrchestrationQuery`](https://github.com/microsoft/durabletask-dotnet/blob/main/src/Client/Core/OrchestrationQuery.cs)\n- [`GrpcDurableTaskClient.GetAllInstancesAsync`](https://github.com/microsoft/durabletask-dotnet/blob/main/src/Client/Grpc/GrpcDurableTaskClient.cs)\n\n## Acceptance criteria\n\n- Callers can filter orchestration queries by task hub names.\n- Callers can filter orchestration queries by instance ID prefix.\n- Both fields are serialized into the existing protobuf request.\n- Existing queries remain backward compatible when the fields are omitted.\n- Unit tests cover each filter independently and together.","author":{"url":"https://github.com/andystaples","@type":"Person","name":"andystaples"},"datePublished":"2026-07-28T20:29:28Z","url":"https://github.com/microsoft/durabletask-python/issues/222"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cd2edcd5-f453-85f9-e33a-48f3c7b49962 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA68:216E05:C3F158:113426A:6AFE2CE1 |
| html-safe-nonce | a1c9b2841301f0c626f53407572ac16e96cd287b49945b280b65b76da9312701 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTY4OjIxNkUwNTpDM0YxNTg6MTEzNDI2QTo2QUZFMkNFMSIsInZpc2l0b3JfaWQiOiIyMjI2NjgwODk2ODE4MTMwMTQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 79819c64b9bef34bbbe14cce0b64c51456e1dc097b5ef5ae25625b43227367df |
| hovercard-subject-tag | issue:5002723097 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/durabletask-python/222/issue_layout |
| twitter:image | https://opengraph.githubassets.com/514ec5c4e273c904a0b260302a1b92037c8435ec3423a8ff17d294424163e388/microsoft/durabletask-python/issues/222 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/514ec5c4e273c904a0b260302a1b92037c8435ec3423a8ff17d294424163e388/microsoft/durabletask-python/issues/222 |
| og:image:alt | Summary The protobuf InstanceQuery supports taskHubNames and instanceIdPrefix, and the .NET Durable Task client exposes both filters. Python's OrchestrationQuery and request builder currently omit ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andystaples |
| hostname | github.com |
| expected-hostname | github.com |
| None | e973f9ec3625f3faad8cac5c2d11a214b7ffe45f3cc563b828459b290ecaeed3 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/durabletask-python git https://github.com/microsoft/durabletask-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 627664515 |
| octolytics-dimension-repository_nwo | microsoft/durabletask-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627664515 |
| octolytics-dimension-repository_network_root_nwo | microsoft/durabletask-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1f92c367595b9190e0be293896078033886b1913 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width