Commit 40f0d2b
test(agent/opencode): verify stderr preserved in error on non-zero exit
The prior commit disabled live stderr streaming for opencode, relying
on runStreamingCLI's captured Stderr being surfaced through
formatDetailedCLIWaitError when the process exits non-zero. Add a
regression test that drives a non-zero exit with a real error line on
stderr and asserts the line appears in the returned error message,
locking in the failure-visibility guarantee.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ea92592 commit 40f0d2b
1 file changed
+30
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
226 | 256 | | |
227 | 257 | | |
228 | 258 | | |
| |||
0 commit comments