Commit 7d6bc92
Fix flaky SessionFs workspace metadata E2E test (#1599)
The Should_Write_Workspace_Metadata_Via_SessionFs test waited only for
workspace.yaml to exist before reading it, but the runtime creates the
file (truncating to 0 bytes) before the content write completes. This
let the test read an empty file and fail the session-id assertion.
Wait for the expected content (not just existence) before asserting in
both the .NET workspace.yaml and plan.md tests, and drop the now-redundant
trailing asserts. Apply the same content-aware wait to the Python suite
via its existing wait_for_content helper. Go already waits for content and
Node uses an in-memory provider with atomic writes, so neither was affected.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 7de72a6 commit 7d6bc92
2 files changed
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
414 | | - | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
415 | 417 | | |
416 | 418 | | |
417 | 419 | | |
| |||
442 | 444 | | |
443 | 445 | | |
444 | 446 | | |
445 | | - | |
446 | | - | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
447 | 451 | | |
448 | 452 | | |
449 | 453 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
239 | | - | |
240 | | - | |
| 238 | + | |
241 | 239 | | |
242 | 240 | | |
243 | 241 | | |
| |||
265 | 263 | | |
266 | 264 | | |
267 | 265 | | |
268 | | - | |
269 | | - | |
270 | | - | |
| 266 | + | |
271 | 267 | | |
272 | 268 | | |
273 | 269 | | |
| |||
0 commit comments