chore: 테스트 docstring 의 가변 카운트·스테이지 마커 정리#6
Merged
Conversation
다른 파일·CI 잡에 의존하는 카운트가 docstring 에 박혀 있어 변경 시 stale 되는 안티패턴 정정 (실제로 v0.3.0 막판 5→4 정정 누락 발생). - test_cli.py 의 "5 skipped 카운트 중 1" / "1 카운트" 제거 — gated 파일 카운트 검증은 ci.yml test-without-extras 잡이 SSOT - test_langchain_loader_ir.py 의 "exactly 29 테스트 유지" 제거 — 다른 파일의 카운트가 본 파일 docstring 에 박혀 invisible coupling 발생 - test_ir_schema_export.py 의 "S3 신규 5" 매직 넘버 제거 코드 동작 변화 없음 — docstring/comment only. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
tests/test_cli.py의 "5 skipped 카운트 중 1" / "1 카운트" docstring·주석 제거tests/test_langchain_loader_ir.py의 "exactly 29 테스트 유지" 제거 — 다른 파일 카운트가 본 파일에 박혀 invisible couplingtests/test_ir_schema_export.py의 "S3 신규 5" 매직 넘버 제거코드 동작 변화 없음 — docstring/comment only.
Why
다른 파일·CI 잡에 의존하는 카운트가 docstring 에 박혀 있어, 카운트가 바뀔 때마다 모든 사본을 동기화해야 하는 안티패턴. 실제로 v0.3.0 막판 `test_async.py` de-gating 으로 skip count 가 5→4 로 바뀌면서 `test_cli.py` docstring 의 5 정정이 누락됐음.
CLAUDE.md 글로벌 원칙과도 충돌:
SSOT (`ci.yml` test-without-extras 잡, 각 테스트 파일 자체) 만 두고 docstring 은 의도만 적도록 단일화.
Related Issues
없음 — 코드 리뷰 중 발견.
Test plan