Repository navigation
test(converter): add storage goldens and production coverage gate (DEV-85) - #21
Conversation
This script enforces a minimum of 80% production line coverage for converter sources, excluding inline tests. It checks for missing coverage and reports the results.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This script checks that every registry dependency in the harness matches the desktop lock's version, source, and checksum.
Updated CI workflow documentation to clarify LCOV and JSON requirements, and added instructions for refreshing harness dependencies.
Added JSON summary generation for coverage reports and updated tests to reflect new coverage format.
| json_hits = {} | ||
| segments = summary[source]['segments'] | ||
| for start, end in zip(segments, segments[1:]): | ||
| if start[3] and not start[5]: | ||
| for number in range(start[0], end[0] + (end[1] > 1)): | ||
| json_hits[number] = max(json_hits.get(number, 0), start[2]) | ||
| if hits != json_hits: | ||
| raise SystemExit('LCOV line records disagree with LLVM regions') |
There was a problem hiding this comment.
🔍 실제 LLVM 출력으로 커버리지 대조 검증
회귀 테스트는 1열 경계의 단순 구간만 검사합니다. 같은 줄에 여러 구간이 있거나 이전 줄에서 이어지는 실제 LLVM 출력도 검증에 포함하면, 두 형식의 정상 보고서를 잘못 거부하는 회귀를 잡을 수 있습니다.
Was this helpful? React with 👍 or 👎 to provide feedback.
| - name: Match desktop dependency versions | ||
| run: python3 scripts/check-converter-lock.py |
There was a problem hiding this comment.
🔍 자동 의존성 업데이트의 잠금 파일 동기화
Dependabot은 데스크톱 Cargo 작업공간만 갱신합니다. 공통 의존성의 이전 버전이 데스크톱 잠금 파일에서 사라지는 업데이트에는 컨버터 잠금 파일 갱신도 필요합니다.
Was this helpful? React with 👍 or 👎 to provide feedback.
변경
검증
범위/한계
DEV-85의 회귀 기반을 구현합니다. 입력은 실제 고객 페이지 export가 아니라 32개 합성 Confluence-shaped storage입니다. 현재 손실 동작도 characterization으로 고정했으며 README에 명시했습니다. include를 fetch/재귀 확장하지 않으므로 순환 테스트는 비재귀 유한 동작 검증이지 재귀 resolver cycle detection이 아닙니다. 실제 페이지 다양성의 수용 검증은 별도로 남습니다.