chore(p10-2-followup): reviewer nit cleanup — Mermaid + 주석 + oversize test #154
Reference in New Issue
Block a user
Delete Branch "chore/p10-2-followup-nits"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
PR #153 (p10-2 Tier 2) code-reviewer 의 non-blocking nit 3개 묶음 cleanup. 동작 변경 없음, version bump 없음.
tier2_shared::push_chunks_with_oversize의 line-window split 분기에 명시적 테스트 fixture 추가 — 250 data key 의 ConfigMap 으로 256 라인 생성. 다음을 검증:ConfigMap/prod/big(동일 유지).id_for_chunk의#L{k}suffix 동작 확인).code-java-ast-v1/code-kotlin-ast-v1+ p10-2 의k8s-manifest-resource-v1/dockerfile-file-v1/manifest-file-v1추가. 표기 단순화로code-*-ast-v1는 brace 묶음.synthesize_tier2_document의 path resolution 주석 정정. 이전 "mirrors RustAstExtractor pattern" 표현이 실제 동작 (FsSourceConnector 의 absolute-path 불변 의존) 과 다름. 명확히 rephrase + Kb URI fallback 의 defensive 성격 명시.Test plan
cargo test -p kebab-chunk --test k8s_manifest_resource_v1PASS (4 tests, 신규 oversize 포함)cargo clippy -p kebab-chunk --tests -- -D warningscleancargo build -p kebab-appclean (nit #3 의 주석 변경)Branch
chore/p10-2-followup-nits(head:75c1c7b). 분리 commit 3개로 review 용이.Reviewer 의 follow-up nit 들 (PR #153 참조).
🤖 Generated with Claude Code
Spec p10-2 risks section calls out "거대 ConfigMap" but no test exercised the line-window split branch of tier2_shared::push_chunks_with_oversize. This adds a 256-line ConfigMap fixture (generated inline) and asserts: - ≥2 chunks emitted (split happened), - all chunks share symbol `ConfigMap/prod/big`, - chunk_ids all distinct (id_for_chunk's #L{k} suffix disambiguation), - line ranges form a contiguous partition (prev.line_end + 1 == next.line_start). Reviewer nit #1 (PR #153 code-reviewer). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>