Repository navigation
Commit c9c1393
committed
test(cli): stdio serve helper waits for watcher readiness
- `spawn_serve_watch` returns after the child logs `[watcher] started`; the transport handshake can finish before native watches register, and an edit made in that window is never observed
- child stderr is drained for the life of the session and echoed into test output
- no readiness within 10 s kills and reaps the child and fails the test with its exit status
- spawned serve processes log `codanna::watcher::unified` at info; notification assertions and their windows are unchanged1 parent 58dd51f commit c9c1393
1 file changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
137 | 159 | | |
138 | 160 | | |
139 | 161 | | |
| |||
148 | 170 | | |
149 | 171 | | |
150 | 172 | | |
| 173 | + | |
151 | 174 | | |
152 | 175 | | |
153 | 176 | | |
| |||
0 commit comments