Commit 7f1af60
committed
test(kilocode): skip the installed-CLI smoke tests when --help cannot run (#955)
Second codex review pass, and it is right that the two halves disagreed. This
branch makes an unreadable `kilo --help` a *supported* state -- detection falls
back to modern, asserted directly in test_kilocode_prompt_955 -- but
test_the_installed_cli_matches_one_of_the_two_known_surfaces still read the same
EROFS crash log as evidence of an unknown third surface and failed. Any sandbox
or hardened CI image with kilo installed and an unwritable log dir stayed red on
a case the adapter handles by design.
When the binary cannot produce help, the installed surface is unknowable, so
these two tests have nothing to measure and skip with the reason. Their real job
-- catching the next CLI rewrite -- is unaffected: a kilo whose --help works and
matches neither surface still fails.
Refs #9551 parent 86d059f commit 7f1af60
1 file changed
Lines changed: 27 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
215 | 222 | | |
216 | 223 | | |
217 | 224 | | |
218 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
219 | 239 | | |
220 | 240 | | |
221 | 241 | | |
| |||
229 | 249 | | |
230 | 250 | | |
231 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
232 | 256 | | |
233 | 257 | | |
234 | 258 | | |
| |||
0 commit comments