You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Tart smoketest failure due to incorrect exchange_dir path
The smoketest was using /yoloai/files for Tart VMs, but /yoloai is read-only
in macOS VMs. Updated BackendSpec.exchange_dir() to return the correct VirtioFS
mount path: /Volumes/My Shared Files/yoloai/files/
All smoketests now passing (8/8).
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
During investigation, several theories were explored but ultimately disproven:
105
+
106
+
### ❌ Theory 1: VirtioFS Mount Timing Issue
107
+
The VirtioFS mount was fully initialized and working correctly.
108
+
109
+
### ❌ Theory 2: Environment Variable Propagation
110
+
Secrets were correctly loaded and exported.
111
+
112
+
### ❌ Theory 3: Working Directory Issues
113
+
The working directory was correct.
114
+
115
+
### ❌ Theory 4: Architectural Regression
116
+
No actual regression in Tart backend code - the issue was in the test itself.
117
+
118
+
### ✅ Actual Cause: Wrong File Path in Test
119
+
The smoketest was using `/yoloai/files` which is read-only in Tart VMs. The correct path is `/Volumes/My Shared Files/yoloai/files/` (the VirtioFS mount point for the yoloai shared directory).
108
120
109
121
## Debugging Limitations
110
122
@@ -128,13 +140,9 @@ Without SSH access to Tart VMs:
128
140
- sandbox-setup.py backend refactoring
129
141
- Secret handling changes
130
142
131
-
## Workaround
143
+
## Resolution
132
144
133
-
None currently. Tart VMs are non-functional for automated workflows.
134
-
Users can:
135
-
- Use Seatbelt backend instead (lightweight macOS sandboxing - works)
136
-
- Use Docker/Podman backends (work)
137
-
- Manually attach and interact with Tart VMs (slow, no automation)
145
+
Fixed in commit [hash to be filled]. All smoketests now passing.
138
146
139
147
## Related Files
140
148
@@ -146,10 +154,9 @@ Users can:
146
154
## Test Command
147
155
148
156
```bash
149
-
# Quick test to reproduce
150
-
yoloai new --backend tart --agent claude test-tart /tmp/test:copy \
151
-
--prompt "echo test > output.txt && touch /yoloai/files/done" --yes
157
+
# Smoketest now passes
158
+
make smoketest SMOKE_ARGS="--backend mac-vm"
152
159
153
-
#Wait 30s, then check
154
-
yoloai files test-tart ls # Should show 'done' but doesn't
0 commit comments