Move builds and tests to a remote Windows VM
A developer had Codex run builds and tests over SSH on WSL in remote Windows VMs instead of using their Mac laptop.
- What they did
- Their employer issued a Mac laptop and separate Windows virtual machines. The developer let Codex connect by SSH to WSL on those machines so it could fetch code and carry out build and test commands there. The workflow was improvised: either the agent updated its own checkout, or the developer kept the main copy of the code current on each machine.
- How it went
- That shifted the heavy work off the Mac, which prevented background agents from dropping video streams during meetings. The developer was pleased, but also called the arrangement a stopgap.
- Tips
- If you try this, expect to spend time keeping the checkouts aligned by hand. Containers or GitHub Actions may be a cleaner long-term option.
Try it yourself with Codex
I need [Codex] to work against a remote Windows VM through WSL instead of on my local machine. Use ssh with [user@host] to reach it, put the code under [remote path], then run [build command] and [test command]. Before you do anything that would send, delete, overwrite, or submit data, pause and ask for my approval. When you're done, tell me which tests succeeded, which failed, and show the relevant error output.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Use a long-running agent to chase a stubborn bug
A developer let Codex work overnight against a repeatable test, using debug prints and hypotheses to track down an unexplained bug.
Use Codex for clearly scoped multi-file refactors
A user had Codex handle defined refactors and admin work across network machines, then let it run on its own.
Use a coding agent to fix a Slack-reported bug
A Codex agent handled a Slack issue on its own, and an ops agent later confirmed the fix in the same thread.
Move Claude Code skills into Codex
Charlie Hills used Claude Code and Codex to migrate 201 skills in an afternoon, then checked which parts worked in both tools and which still needed fixes.
Run agent coding jobs in a sealed local box
A developer used Codex to run an almost fully self-contained build-and-deploy workflow on a locked-down spare machine.
Use spare AI quota to draft reviewable PRs
A founder pointed an agent at goals and task lists so it could turn leftover Claude and Codex quota into pull requests for review.