Skip to content

Create the local Bot workspace before worker calls - #98

Merged
devin-ai-integration[bot] merged 1 commit into
mainfrom
devin/176409-local-bot-workdir
Nov 24, 2026
Merged

devin-ai-integration[bot] merged 1 commit into
mainfrom
devin/176409-local-bot-workdir

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Target.transport for a driverless (local) computer now creates the Bot workspace before returning it — the same mkdir createWorkspace in packages/agent/src/computer/index.ts:131 does. Without it, a Bot assigned to the local computer whose workspace was never materialized fails any call that spawns a process in that directory (worker start, native MCP catalog, engine runs) with a missing-cwd error.

Docker targets are unchanged: docker exec --workdir materializes the directory inside the container, matching the TypeScript driver.

Follow-up to #96's review finding on the native MCP catalog.

Link to Devin session: https://app.devin.ai/sessions/dd13702c910149ffaa30fc2797fa3b72
Open in Devin Desktop: https://app.devin.ai/desktop/session/dd13702c910149ffaa30fc2797fa3b72?variant=devin
Requested by: @Personed


🟢 Devin Review found nothing to fix · View findings

Devin Review

index.ts createWorkspace mkdirs the Bot workspace for driverless targets; without it, a newly assigned Bot's first worker call spawns in a missing cwd.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@devin-ai-integration
devin-ai-integration Bot merged commit f76058a into main Nov 24, 2026
22 checks passed
@devin-ai-integration
devin-ai-integration Bot deleted the devin/176409-local-bot-workdir branch November 24, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant