Commit 37f0448
Skip chown -R /workspace during OH action server startup
init_user_and_working_directory() runs chown -R on /workspace
synchronously in the FastAPI lifespan, BEFORE the server binds
its port. On large repos (firefox ~100K files), this exceeds
the 120s client connect timeout, causing ConnectError and the
agent never running.
Since we already run as root (uid 0) inside Harbor containers,
the chown is a no-op anyway. Monkey-patch it out in the wrapper.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e9d9ced commit 37f0448
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
225 | 238 | | |
226 | 239 | | |
227 | 240 | | |
| |||
0 commit comments