chore(p10-1d-followup): reviewer nit cleanup — C extractor tests + HOTFIXES + cpp snapshot #157
Reference in New Issue
Block a user
Delete Branch "chore/p10-1d-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 #156 (p10-1d) code-reviewer 의 3 non-blocking nit 묶음 cleanup. 4번째 nit (9 chunkers 의 shared helper) 은 별 phase. version bump 없음.
6beff35):crates/kebab-parse-code/src/c.rs에 17 in-file unit tests 추가 (cpp.rs 의 15-test 패턴 따라). function_definition 의 pointer-return / static / extern / inline + struct_specifier / enum_specifier / union_specifier (named) + anonymous struct/enum/union → glue + typedef-struct → glue + preprocessor → glue + multiple functions + empty file →<module>+ preprocessor-only file →<module>+ mixed + deterministic. 4 match arms + 2 post-pass path 모두 커버.b81574a):tasks/HOTFIXES.md에 2026-05-21 dated entry —typedef struct { ... } Foo;의 anonymous inner struct 가 glue 로 떨어져 named typedef alias 가 symbol 으로 안 잡힘. spec body line 22 (named struct → unit) 와의 tension 명시 + dogfood-driven 재검토 next-step. 본 PR 의 spec (tasks/p10/p10-1d-c-cpp-ast-chunker.md) Risks/notes 에도 cross-link.840c6c4):crates/kebab-chunk/tests/code_cpp_ast_snapshot.rs가 실CppAstExtractor를 거치는 snapshot test 추가. hand-builtfixed_doc()tests 도 유지 (chunker-only 빠른 검증용). 실 extractor 가sample.cpp에서 14 blocks 추출 (8 named symbol units + 6 glue) — Task E 의 plan 가정 (~9 chunks) 와 근사.kebab-chunk에kebab-parse-codedev-dep 추가 (precedent:kebab-parse-md).Test plan
cargo test -p kebab-parse-code— 63 unit + integration tests PASS (17 new C extractor tests 포함)cargo test -p kebab-chunk— 모든 integration test suite PASS (실 extractor snapshot 2 tests 포함)cargo clippy -p kebab-parse-code --all-targets -- -D warningscleancargo clippy -p kebab-chunk --all-targets -- -D warningscleanBranch
chore/p10-1d-followup-nits(head:840c6c4). 3 commits, review-friendly 분리.Critical issue (informational, not part of this PR)
PR #155 (p10-3) 머지 시점에 reviewer-required Option B1 fix 가 main 에 없음 (
2a39513commit 이 실제로 존재 안 함). PR #156 의 commit1034de2가 그 fix 를 verbatim 으로 land. v0.16.0 release 부터 fallback path 의 reingest 가 Unchanged. v0.15.0 사용자는 0.16.0 으로 업그레이드 권장.🤖 Generated with Claude Code