fix(coverage): classify Storybook development evidence - #1159
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughJavaScript 커버리지 게이트가 Storybook 경로를 런타임 소스에서 제외합니다. 커버리지 경계 조건 테스트와 정확한 pull request HEAD를 검증하는 GitHub Actions 품질 게이트를 추가합니다. ChangesJavaScript 커버리지 품질 검증
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The PR narrowly excludes Storybook development artifacts from coverage classification while preserving coverage checks for shipped runtime code. No actionable merge-blocking risk remains after normal checks and review. Sequence Diagram(s)sequenceDiagram
participant GitHubActions
participant pytest
participant coverage_report
GitHubActions->>GitHubActions: PR HEAD SHA 체크아웃
GitHubActions->>pytest: 전체 테스트를 branch coverage로 실행
pytest-->>GitHubActions: 테스트 및 coverage 데이터 반환
GitHubActions->>coverage_report: 게이트 스크립트의 coverage report 실행
coverage_report-->>GitHubActions: 100% 미만이면 실패 상태 반환
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Revalidated PR #1159 at current live head The Storybook classifier remains narrow: exact Local proof at this head:
The hosted exact-head run cited in the PR body passed the full central suite (1249 tests plus 16 subtests). Please rerun the protected current-head Checks and independent review; this PR is not being marked merged while branch protection remains authoritative. |
|
Integrated current main normally at a419033. Focused Storybook boundary suite passed (35 tests), actionlint, ruff, and diff checks passed. The previous Strix failure was an application readiness failure ( @OpenCode review this exact HEAD and report only current-head findings. |
|
@opencode-agent review this exact current HEAD. Use the current commit SHA, current Checks, and current diff; do not reuse prior approvals or prior-head evidence. |
|
Independent current-head verification for |
|
@opencode-agent Review only exact current head |
|
Current-head review repair applied:
Evidence at head |
|
@opencode-agent Review only exact current head |
|
@opencode-agent Please review exact current PR head 5775073. Re-check changed-file scope, current-head findings, unresolved threads, mergeability, and all required checks. Do not approve a stale head. |
|
@opencode-agent review\nHead SHA: 5775073\nRe-run the current-head required workflow set and report the terminal result. Prior scan-pr-queue/Strix cancellation or failure must be distinguished from the latest exact-head run. |
|
@opencode-agent Please perform a review-only formal review of exact current head |
|
Current-head review (2026-08-21):
|
|
@opencode-agent Review only exact current head |
Current-head maintenance attestation
|
|
Exact-head maintainer review (2026-08-21): reviewed the coverage classifier and quality workflow. The change excludes Storybook configuration and |
Exact-head failure RCA
|
Purpose
Keep the central JavaScript coverage gate aligned with the product boundary: Storybook configuration and story modules are development evidence, while shipped runtime modules remain governed.
Exact current identity
35df26759c54609a3387dc5200725adb6770eac1;main;731af58e954901c4f1cc853231c592abb1eaf617;Evidence attached to earlier heads is historical only.
Product boundary
.storybookpath component;*.stories.[cm]?[jt]sx?modules;src/foo.ts,stories/runtime.ts,src/Foo.story.tsx,src/Foo.stories-helper.ts, andsrc/storybook/main.ts;stories/directories or weaken changed-runtime coverage;Exact-head verification
Local verification on
35df26759c54609a3387dc5200725adb6770eac1:uv run coverage run --branch -m pytest --import-mode=importlib tests -q: 1,306 passed, 16 subtests passed;javascript_coverage_gate.py: 256/256 statements and 118/118 branches (100%);git diff --check, and Semgrep: passed with 0 findings;actionlint .github/workflows/javascript-coverage-quality-ci.yml: passed.The dedicated quality workflow uses the exact PR head and verifies the complete central test suite plus the changed classifier at 100%.
Hosted and review state
For exact head
35df2675:Normal merge remains blocked by non-terminal hosted security/supply-chain gates and missing independent approval. This PR is not a D1-D6 control-plane deadlock and is not eligible for guarded force merge.
Acceptance gate
Merge only after all required exact-head Checks are terminal-success, current findings are resolved, a qualifying independent approval exists, and live branch protection permits normal integration. After protected-main integration, rerun the current Inkspan consumer canary so Storybook development files are excluded without suppressing shipped runtime coverage.