You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(inspect): harden Docker discovery with batched inspect, fix find command, and add tests
- Fix P0 bug: `find` command passed `2>/dev/null` as literal arg and had
ungrouped `-type f` that only applied to last `-name` pattern
- Fix P0 perf: batch `docker inspect` to 2 execs instead of N+1
- Fix P1 security: add MaxComposeFileSize guard (10MB) to prevent OOM
- Fix P1 correctness: ParseDockerSize now uses SI/decimal units matching
Docker's actual format (1 GB = 1e9, not 1024^3)
- Fix P1 style: remove emoji from all log messages in inspect package
- Add deterministic output: sort networks, ports, volumes for stable diffs
- Extract pure parsing functions for testability
- Add 24 tests: unit (70%), integration (20%), e2e (10%)
- Add constants for compose search paths, file names, sensitive keywords
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments