René's URL Explorer Experiment


Title: feat(workspace): add ManagedWorkspace to build workspace persistence [PC-5359] by tudormatei1 · Pull Request #175 · UiPath/uipath-runtime-python · GitHub

Open Graph Title: feat(workspace): add ManagedWorkspace to build workspace persistence [PC-5359] by tudormatei1 · Pull Request #175 · UiPath/uipath-runtime-python

X Title: feat(workspace): add ManagedWorkspace to build workspace persistence [PC-5359] by tudormatei1 · Pull Request #175 · UiPath/uipath-runtime-python

Description: Coded agents lose the files they write to disk when their job suspends and resumes. This adds ManagedWorkspace, which builds the workspace hydrator and both wrappers in one place. The uipath CLI uses it to give coded agents the persistence low-code advanced agents already have (UiPath/uipath-python#1976), and uipath-agents drops its own copy of the same wiring (UiPath/uipath-agents-python#867). NoteRelease this first. The uipath and uipath-agents PRs import ManagedWorkspace, and their CI fails until 0.13.7 is on PyPI. Changes ManagedWorkspace (workspace/managed.py) builds HydrationRuntime and ConversationalWorkspaceRuntime around one shared hydrator. The attachments and jobs services come in as a factory and are created on first use, so building the wrappers needs no credentials and this package stays free of platform code. Breakpoints in HydrationRuntime: a debugger pause no longer uploads the workspace, and the call that continues skips the restore, so edits made before the pause aren't replaced by the last suspended version. This only applies when the call asked for breakpoints. Any other suspend uploads as before. HydrationRuntime takes an optional runtime_id for outer wrappers to read; agents' telemetry reads it. Version 0.13.7. Testing New tests for ManagedWorkspace: resume restores files, services are created lazily, both wrappers share one hydrator, a folder it creates is removed and a caller's folder is kept. New breakpoint tests: continue keeps edits and deletions, a suspend after a breakpoint is restored on resume, only the first call after a pause skips the restore, and a breakpoint-shaped result from a run that asked for no breakpoints still uploads. Live on alpha with the four PR branches installed together: a coded LangGraph job writes a file, suspends on interrupt(), and uipath run --resume in a new process reads it back from job attachments. With the langchain opt-in turned off, the same check fails. The script is in my local playground, not in a repo. Not run: a real serverless or robot job. The live check used an existing job key as a stand-in. 🤖 Generated with Claude Code

Open Graph Description: Coded agents lose the files they write to disk when their job suspends and resumes. This adds ManagedWorkspace, which builds the workspace hydrator and both wrappers in one place. The uipath CLI us...

X Description: Coded agents lose the files they write to disk when their job suspends and resumes. This adds ManagedWorkspace, which builds the workspace hydrator and both wrappers in one place. The uipath CLI us...

Opengraph URL: https://github.com/UiPath/uipath-runtime-python/pull/175

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:aae09403-b0e4-dc71-1808-b505a96ef894
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA09A:26206F:670657:7226FF:6AFF5F2F
html-safe-nonce4f244e360e57e0af2891fa62ef333009020edc24735d09db86fb6e2dabd0931d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDlBOjI2MjA2Rjo2NzA2NTc6NzIyNkZGOjZBRkY1RjJGIiwidmlzaXRvcl9pZCI6IjYzNDA0MDc1NjQxMDk5ODU3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac138c7575d151a6803cef048143203175b4f29668e7831bd0f4ed1c4f9a03026c
hovercard-subject-tagpull_request:5158067811
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/UiPath/uipath-runtime-python/pull/175/files
twitter:imagehttps://avatars.githubusercontent.com/u/300858107?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/300858107?s=400&v=4
og:image:altCoded agents lose the files they write to disk when their job suspends and resumes. This adds ManagedWorkspace, which builds the workspace hydrator and both wrappers in one place. The uipath CLI us...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2422ccd4bc783f932948cce4871cb9e0622bab749db07f387c9631b7e6834d1f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/UiPath/uipath-runtime-python git https://github.com/UiPath/uipath-runtime-python.git
octolytics-dimension-user_id375663
octolytics-dimension-user_loginUiPath
octolytics-dimension-repository_id1084038680
octolytics-dimension-repository_nwoUiPath/uipath-runtime-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1084038680
octolytics-dimension-repository_network_root_nwoUiPath/uipath-runtime-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
release2a39546baeb98186e651a01d5d7aa6465825eeb1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/UiPath/uipath-runtime-python/pull/175/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FUiPath%2Fuipath-runtime-python%2Fpull%2F175%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%2FUiPath%2Fuipath-runtime-python%2Fpull%2F175%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=UiPath%2Fuipath-runtime-python
Reloadhttps://github.com/UiPath/uipath-runtime-python/pull/175/files
Reloadhttps://github.com/UiPath/uipath-runtime-python/pull/175/files
Reloadhttps://github.com/UiPath/uipath-runtime-python/pull/175/files
UiPathhttps://github.com/UiPath
uipath-runtime-pythonhttps://github.com/UiPath/uipath-runtime-python
Codehttps://github.com/UiPath/uipath-runtime-python
Issues3 (3)https://github.com/UiPath/uipath-runtime-python/issues
Pull requests16 (16)https://github.com/UiPath/uipath-runtime-python/pulls
Actionshttps://github.com/UiPath/uipath-runtime-python/actions
Projectshttps://github.com/UiPath/uipath-runtime-python/projects
Security and qualityhttps://github.com/UiPath/uipath-runtime-python/security
Insightshttps://github.com/UiPath/uipath-runtime-python/insights
Sign up for GitHub https://github.com/signup?return_to=%2FUiPath%2Fuipath-runtime-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FUiPath%2Fuipath-runtime-python%2Fissues%2Fnew%2Fchoose
tudormatei1https://github.com/tudormatei1
mainhttps://github.com/UiPath/uipath-runtime-python/tree/main
feat/PC-5359-coded-workspace-persistencehttps://github.com/UiPath/uipath-runtime-python/tree/feat/PC-5359-coded-workspace-persistence
Conversation 3 https://github.com/UiPath/uipath-runtime-python/pull/175
Commits 1 https://github.com/UiPath/uipath-runtime-python/pull/175/commits
Checks 22 https://github.com/UiPath/uipath-runtime-python/pull/175/checks
Files changed https://github.com/UiPath/uipath-runtime-python/pull/175/files
Please reload this pagehttps://github.com/UiPath/uipath-runtime-python/pull/175/files
feat(workspace): add ManagedWorkspace to build workspace persistence [PC-5359] https://github.com/UiPath/uipath-runtime-python/pull/175/files#top
Show all changes 1 commit https://github.com/UiPath/uipath-runtime-python/pull/175/files
dd6e9e6 feat(workspace): add ManagedWorkspace to build workspace persistence tudormatei1 Nov 4, 2026 https://github.com/UiPath/uipath-runtime-python/pull/175/commits/dd6e9e6adebb9ac7f1f0f69d14699e113afc5901
Clear filters https://github.com/UiPath/uipath-runtime-python/pull/175/files
Please reload this pagehttps://github.com/UiPath/uipath-runtime-python/pull/175/files
Please reload this pagehttps://github.com/UiPath/uipath-runtime-python/pull/175/files
pyproject.toml https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
__init__.py https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-506e9c47bf33e5575cac0326dc7b0c8d6fc8257bc31ac9681d64bd37fdbef3dd
__init__.py https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-80e2869126cfa890ec1a53ab6950c998c9e5e41d82d88cc1d330a404cbc20271
hydration.py https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-9d7d29827afea02c09231ecbcacc59960aa4cc0dc75a7fbc724e747cb246dffd
managed.py https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-5fe2fddfc64453ea6bf0909b94ab26e4e68789d441ebb88c728a0a6be8f0db93
test_managed_workspace.py https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-1d1db1bd52af812f4daaeab9a51983b58e36383b2ae71fc71693c9f2201d88f3
test_workspace_hydration.py https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-ffae83978963b33c9d64e44634e22632a243ab72c9854bab18c853d03e948326
uv.lock https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11
https://github.com/UiPath/uipath-runtime-python/blob/main/CODEOWNERS#L1
pyproject.tomlhttps://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://github.com/UiPath/uipath-runtime-python/blob/dd6e9e6adebb9ac7f1f0f69d14699e113afc5901/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/UiPath/uipath-runtime-python/pull/175/{{ revealButtonHref }}
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/UiPath/uipath-runtime-python/blob/main/CODEOWNERS#L1
src/uipath/runtime/__init__.pyhttps://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-506e9c47bf33e5575cac0326dc7b0c8d6fc8257bc31ac9681d64bd37fdbef3dd
View file https://github.com/UiPath/uipath-runtime-python/blob/dd6e9e6adebb9ac7f1f0f69d14699e113afc5901/src/uipath/runtime/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/UiPath/uipath-runtime-python/pull/175/{{ revealButtonHref }}
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-506e9c47bf33e5575cac0326dc7b0c8d6fc8257bc31ac9681d64bd37fdbef3dd
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-506e9c47bf33e5575cac0326dc7b0c8d6fc8257bc31ac9681d64bd37fdbef3dd
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-506e9c47bf33e5575cac0326dc7b0c8d6fc8257bc31ac9681d64bd37fdbef3dd
https://github.com/UiPath/uipath-runtime-python/blob/main/CODEOWNERS#L1
src/uipath/runtime/workspace/__init__.pyhttps://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-80e2869126cfa890ec1a53ab6950c998c9e5e41d82d88cc1d330a404cbc20271
View file https://github.com/UiPath/uipath-runtime-python/blob/dd6e9e6adebb9ac7f1f0f69d14699e113afc5901/src/uipath/runtime/workspace/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/UiPath/uipath-runtime-python/pull/175/{{ revealButtonHref }}
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-80e2869126cfa890ec1a53ab6950c998c9e5e41d82d88cc1d330a404cbc20271
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-80e2869126cfa890ec1a53ab6950c998c9e5e41d82d88cc1d330a404cbc20271
https://github.com/UiPath/uipath-runtime-python/blob/main/CODEOWNERS#L1
src/uipath/runtime/workspace/hydration.pyhttps://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-9d7d29827afea02c09231ecbcacc59960aa4cc0dc75a7fbc724e747cb246dffd
View file https://github.com/UiPath/uipath-runtime-python/blob/dd6e9e6adebb9ac7f1f0f69d14699e113afc5901/src/uipath/runtime/workspace/hydration.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/UiPath/uipath-runtime-python/pull/175/{{ revealButtonHref }}
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-9d7d29827afea02c09231ecbcacc59960aa4cc0dc75a7fbc724e747cb246dffd
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-9d7d29827afea02c09231ecbcacc59960aa4cc0dc75a7fbc724e747cb246dffd
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-9d7d29827afea02c09231ecbcacc59960aa4cc0dc75a7fbc724e747cb246dffd
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-9d7d29827afea02c09231ecbcacc59960aa4cc0dc75a7fbc724e747cb246dffd
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-9d7d29827afea02c09231ecbcacc59960aa4cc0dc75a7fbc724e747cb246dffd
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-9d7d29827afea02c09231ecbcacc59960aa4cc0dc75a7fbc724e747cb246dffd
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-9d7d29827afea02c09231ecbcacc59960aa4cc0dc75a7fbc724e747cb246dffd
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-9d7d29827afea02c09231ecbcacc59960aa4cc0dc75a7fbc724e747cb246dffd
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-9d7d29827afea02c09231ecbcacc59960aa4cc0dc75a7fbc724e747cb246dffd
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-9d7d29827afea02c09231ecbcacc59960aa4cc0dc75a7fbc724e747cb246dffd
https://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-9d7d29827afea02c09231ecbcacc59960aa4cc0dc75a7fbc724e747cb246dffd
https://github.com/UiPath/uipath-runtime-python/blob/main/CODEOWNERS#L1
src/uipath/runtime/workspace/managed.pyhttps://github.com/UiPath/uipath-runtime-python/pull/175/files#diff-5fe2fddfc64453ea6bf0909b94ab26e4e68789d441ebb88c728a0a6be8f0db93
View file https://github.com/UiPath/uipath-runtime-python/blob/dd6e9e6adebb9ac7f1f0f69d14699e113afc5901/src/uipath/runtime/workspace/managed.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/UiPath/uipath-runtime-python/pull/175/{{ revealButtonHref }}
Please reload this pagehttps://github.com/UiPath/uipath-runtime-python/pull/175/files
Please reload this pagehttps://github.com/UiPath/uipath-runtime-python/pull/175/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.