Commit 225a5d7
authored
test(adoption): cover the agent-bash-tool embedding shape, on Windows too (#2249)
The composition an embedder actually writes — realfs workspace mount +
CommandResolver bridging unresolved names to host processes + HostMounts
mapping the cwd back — was only ever validated downstream. The first
adopter shipped two defects bashkit's tests could not see: a harness that
emptied PATH, and a stdin pipe that never reached EOF and hung the suite.
Add thirdparty_adoption_tests covering that composition end to end. The
stdin test was verified by injecting the EOF defect: it first passed
(proving the test was wrong — it used `cat`, a bashkit builtin, so the
bridge never ran), then hung, and only after bounding the bridge's wait
and guarding the pipe drain does it report a named 20s failure instead of
a hung job.
Add a windows-latest job running these suites, and gate Check on it and
on the existing windows-containment job, which was never wired into the
gate and so could not block a merge.
Gate harness_example_tests on cfg(unix): it uses std::os::unix, which
broke the integration binary's Windows compile.1 parent fd7eb7b commit 225a5d7
5 files changed
Lines changed: 449 additions & 1 deletion
File tree
- .github/workflows
- crates/bashkit/tests/integration
- knowledge/operations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
221 | 226 | | |
222 | 227 | | |
223 | 228 | | |
| |||
247 | 252 | | |
248 | 253 | | |
249 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
250 | 282 | | |
251 | 283 | | |
252 | 284 | | |
| |||
377 | 409 | | |
378 | 410 | | |
379 | 411 | | |
380 | | - | |
| 412 | + | |
381 | 413 | | |
382 | 414 | | |
383 | 415 | | |
384 | 416 | | |
385 | 417 | | |
386 | 418 | | |
387 | 419 | | |
| 420 | + | |
| 421 | + | |
388 | 422 | | |
389 | 423 | | |
390 | 424 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
0 commit comments