Commit 0c5a35c
fix(parity): 3 divergencias TS↔Go destapadas por la auditoría de cobertura
Encontradas por el workflow parity-coverage-audit (huecos de cobertura que
escondían bugs), verificadas contra el oráculo TS:
- up --workspace-mount-consistency: faltaba validar el enum
[consistent,cached,delegated]; Go pasaba cualquier string a docker. Ahora
se valida como en TS (yargs choices). -> exit 1 = TS.
- features/templates package|publish --log-level: StringVar sin validar;
MapLogLevel defaulteaba silenciosamente a Info. Ahora rechaza fuera de rango
[info,debug,trace] (collectionCommonUtils/{package,publish}.ts). -> exit 1 = TS.
- features resolve-dependencies sin features: Go imprimía {"installOrder":[]}
exit 0; TS escribe 'Could not parse features object...' a stderr y exit 1
(resolveDependencies.ts:92-93). Corregido, mensaje idéntico.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent f069ff9 commit 0c5a35c
3 files changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
255 | 260 | | |
256 | 261 | | |
257 | 262 | | |
| |||
339 | 344 | | |
340 | 345 | | |
341 | 346 | | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
342 | 352 | | |
343 | 353 | | |
344 | 354 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | | - | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| |||
0 commit comments