Title: [DX] GAP-07: SDK's own CreateTask type not registered with msgpack, produces warning on every resume · Issue #1500 · UiPath/uipath-python · GitHub
Open Graph Title: [DX] GAP-07: SDK's own CreateTask type not registered with msgpack, produces warning on every resume · Issue #1500 · UiPath/uipath-python
X Title: [DX] GAP-07: SDK's own CreateTask type not registered with msgpack, produces warning on every resume · Issue #1500 · UiPath/uipath-python
Description: Summary Every --resume run prints a noisy deserialization warning for CreateTask, which is a first-party SDK type. The warning cannot be silenced without patching the SDK or suppressing log output globally. Observed Output Deserializing ...
Open Graph Description: Summary Every --resume run prints a noisy deserialization warning for CreateTask, which is a first-party SDK type. The warning cannot be silenced without patching the SDK or suppressing log output ...
X Description: Summary Every --resume run prints a noisy deserialization warning for CreateTask, which is a first-party SDK type. The warning cannot be silenced without patching the SDK or suppressing log output ...
Opengraph URL: https://github.com/UiPath/uipath-python/issues/1500
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[DX] GAP-07: SDK's own CreateTask type not registered with msgpack, produces warning on every resume","articleBody":"## Summary\n\nEvery `--resume` run prints a noisy deserialization warning for `CreateTask`, which is a first-party SDK type. The warning cannot be silenced without patching the SDK or suppressing log output globally.\n\n## Observed Output\n\n```\nDeserializing unregistered type uipath.platform.common.interrupt_models.CreateTask\nfrom checkpoint. This will be blocked in a future version.\nAdd to allowed_msgpack_modules to silence: [('uipath.platform.common.interrupt_models', 'CreateTask')]\n```\n\n## Root Cause\n\n`CreateTask` is defined in `uipath.platform.common.interrupt_models` but is not auto-registered with the msgpack serializer used for checkpoint persistence. LangGraph's msgpack serializer requires types to be explicitly registered in `allowed_msgpack_modules` to deserialize them without a warning.\n\nSince `CreateTask` is a first-party SDK type that the SDK itself places in checkpoints (via `interrupt()`), users should never have to manually register it.\n\n## Workaround\n\nNone without patching the SDK or suppressing the warning at the logging level. The suggested fix in the warning message (`allowed_msgpack_modules`) would require the user to configure LangGraph internals.\n\n## Suggested Fix\n\nAuto-register all first-party interrupt model types (at minimum `CreateTask`, and any other types from `uipath.platform.common.interrupt_models`) with msgpack on import. This is a one-line fix:\n\n```python\n# In the SDK's initialization code\nfrom langgraph.checkpoint.serde.jsonplus import JsonPlusSerializer\n# or equivalent msgpack registration\n```\n\nThis warning appears on every resume and buries actual errors in the log output, making it harder to spot real problems.\n\n## Impact\n\n- Severity: **Low** (functional but noisy)\n- Every user of HITL with `--resume` sees this warning\n- The warning says \"This will be blocked in a future version\" — when that happens, this becomes a breaking change for all HITL agents","author":{"url":"https://github.com/AlexBizon","@type":"Person","name":"AlexBizon"},"datePublished":"2026-03-26T15:22:57Z","url":"https://github.com/UiPath/uipath-python/issues/1500"}
| 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:5f0f6472-c620-ec3d-e3b4-a4d20983ee93 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D994:189136:185408:218C76:6AFF625E |
| html-safe-nonce | cadedf35fedba7eae68dda38980eda6a0a1632967ea6fdeaa2bace0c495ea5a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTk0OjE4OTEzNjoxODU0MDg6MjE4Qzc2OjZBRkY2MjVFIiwidmlzaXRvcl9pZCI6Ijg4OTEzNDQ0NDIxNjY4Mjk2NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 12de214527406c86a6575110b06c253aba66f35ba7cdac8b9146198f4631dda3 |
| hovercard-subject-tag | issue:4144975069 |
| 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/UiPath/uipath-python/1500/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a10de84b62f08bae16abcda0ca88ceadedbc7a18085b31c56989aeb9a9b0a36b/UiPath/uipath-python/issues/1500 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a10de84b62f08bae16abcda0ca88ceadedbc7a18085b31c56989aeb9a9b0a36b/UiPath/uipath-python/issues/1500 |
| og:image:alt | Summary Every --resume run prints a noisy deserialization warning for CreateTask, which is a first-party SDK type. The warning cannot be silenced without patching the SDK or suppressing log output ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlexBizon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b58589a1c4eda1e3c8904144a412b88ca4455f63ca2ad3629f2e9f3c3a1d12 |
| turbo-cache-control | no-preview |
| go-import | github.com/UiPath/uipath-python git https://github.com/UiPath/uipath-python.git |
| octolytics-dimension-user_id | 375663 |
| octolytics-dimension-user_login | UiPath |
| octolytics-dimension-repository_id | 925171912 |
| octolytics-dimension-repository_nwo | UiPath/uipath-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 925171912 |
| octolytics-dimension-repository_network_root_nwo | UiPath/uipath-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 | 8968d6d6acc65d74e4df332d23932dd3fd0502a4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width