refactor: reverse-sync patch_builder.py 구조 분해 (R4+R7+R8)#855
Merged
Conversation
- analysis-reverse-sync-refactoring.md: 최근 버그 패턴 분류, 디자인 결함 분석, 리팩토링 대상 R1~R9 도출 - r4-patch-builder-decompose-design.md: patch_builder.py 719줄 구조 분해 설계 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
list_patcher.py 추출 후 patch_builder.py에 잔존한 convert_inline, split_list_items, extract_list_marker_prefix import 제거. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
c5527b7 to
2d0db60
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
`patch_builder.py` (719줄)를 책임 단위로 분해하여 유지보수성을 개선합니다. 동작 변경 없음 — 함수 이동 + import 변경만 수행합니다.
변경 내용
신규 모듈
`patch_builder.py` 잔여: 342줄 (719줄 → 342줄, 52% 감소)
Rebase 시 main 변경 사항 반영 (#852)
main 브랜치 rebase 과정에서 #852의 인라인 감지 정밀화 변경을 `inline_detector.py`에 통합했습니다.
Test plan
🤖 Generated with Claude Code