Repository navigation
Commit d8583ae
authored
Turn off the Codex plugin for the connector's Claude turns (#1059)
An orchestrator that had run for three days stopped being able to start
any shell command, even `echo hi`: "command line plus environment exceed
the OS exec argument limit (E2BIG)".
OpenAI's Codex plugin appends three exports to the session's env file on
every SessionStart, and each `claude -p --resume` turn is one. Claude Code
inlines that file into the single `bash -c` argument of every Bash call.
After 375 turns the file was 133.5 KB, past Linux's 128 KiB limit on one
argument, so nothing could run. Restarting the connector didn't help,
because it resumes the same session and the file belongs to it.
Every Claude turn the connector starts, orchestrator and worker, now
passes --settings turning that one plugin off. --settings merges over the
person's own settings, so their other plugins stay on, and Codex stays on
in their own sessions.1 parent e18cb59 commit d8583ae
2 files changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
165 | 175 | | |
166 | 176 | | |
167 | 177 | | |
168 | 178 | | |
169 | 179 | | |
170 | | - | |
| 180 | + | |
171 | 181 | | |
172 | 182 | | |
173 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments