fix(ci): gating 검사가 Vitest 경로의 *.spec 파일을 게이트 안으로 세지 않는다 #35
Closed
donghyeon.kang
wants to merge 0 commits from
donghyeon.kang/fix/ungated-vitest-spec AGit into main
pull from: donghyeon.kang/fix/ungated-vitest-spec
merge into: :main
:main
:fix/r9-structure-locale
:fix/r9-adapter-carryover
:test/shared-build-lock-order
:ci/dependency-cache-same-filesystem
:ci/release-tag-for-a11y-review
:ci/merge-dependency-cache
:fix/test-timeouts-measured
:fix/feature-residue-word-boundary
:fix/provider-wait-stderr
:fix/provider-job-host-requirements
:fix/ungated-vitest-spec
:fix/a11y-evidence-routes
:fix/verify-parts-diagnostics
:claude/w2-fe-ci-perf-dce080
:fix/child-process-test-timeouts
:chore/layout-rules-r2-r5
:claude/fe-b-docs-korean-645f55
:chore/ci-merge-jobs
:chore/layout-3-merge
:claude/fe-c-harness-0ae061
:chore/layout-2-sample-removal
:chore/layout-1-cleanup
:docs/review-guide-pointer
:fix/maturity-review-2026-11-06
:fix/maturity-review-2026-11-05-b
:docs/improvement-manual
:fix/maturity-review-2026-11-05
:fix/session-subject-required
:fix/ui-design-audit-2026-11-01
:fix/maturity-review-2026-09-25
:lane/D
:lane/B
:fix/src-review-round3
:refactor/domain-scalable
:develop
:feature-frontend-optional-adapter-recipes
:feature-frontend-supply-chain-verification
:feature-frontend-test-registry-evidence-hardening
:frontend-test-registry-evidence-hardening
:feature-frontend-diagnostics-telemetry-runtime
:feature-frontend-i18n-message-formatting-contract
:feature-frontend-design-system-platform
:feature-frontend-form-page-platform
:feature-frontend-reference-feature-vertical-slice
:feature-frontend-routing-release-recovery-runtime
:feature-frontend-http-query-contract-execution
:feature-frontend-application-boundary-runtime
:feature-frontend-typescript-tooling-foundation
:feature-frontend-platform-capability-review
:feature-frontend-performance-route-contract
:feature-frontend-starter-experience-quality-contract
:feature-frontend-responsive-theme-contract
:feature-frontend-ui-primitives-gallery-contract
:feature-frontend-app-shell-navigation-contract
:feature-frontend-runtime-composition-contract
:feature-frontend-ci-quality-gates-contract
:feature-web-vitals-performance-budget-contract
:feature-frontend-release-cache-rollback-contract
:feature-accessibility-baseline-contract
:feature-frontend-project-bootstrap-toolchain-contract
:feature-frontend-operational-runbook-contract
:feature-frontend-contract-compatibility-governance
:feature-frontend-contract-registry-governance
:feature-frontend-browser-security-boundary-contract
:feature-frontend-build-bundle-supply-chain-contract
:feature-tailwind-design-token-styling-contract
:feature-sample-feature-slice-contract-fixture
:feature-frontend-render-recovery-boundary-contract
:feature-routing-navigation-guard-contract
:feature-boundary-mapper-viewmodel-contract
:feature-async-ui-state-contract
:feature-frontend-observability-logging-trace-contract
:feature-frontend-storage-registry-contract
:feature-server-state-caching-contract
:feature-frontend-auth-session-integration-contract
:feature-frontend-error-classification-boundary-contract
:feature-runtime-schema-validation-contract
:feature-api-client-response-envelope-contract
:feature-frontend-env-runtime-config-contract
:feature-frontend-architecture-enforcement-lint-contract
:feature-frontend-test-taxonomy-contract
:feature-frontend-clean-architecture-layering-contract
No Reviewers
Labels
No items
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
donghyeon.kang (동현 강)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: donghyeon.kang/clean-architecture-frontend-template#35
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
무엇을, 왜
check:ci:gating(FE-GATE-029)이*.test.*와*.spec.*를 모두 모은 뒤 게이트 명령이 닿는 경로 접두어만 본다.tests/unit/x.spec.ts는 「게이트 안」으로 세지만 vitest.config.ts는*.test.{ts,tsx}만 모아 아무 게이트도 그 파일을 돌리지 않는다(round9 이월 0929/12-06).고른 방법과 버린 대안
gatedTestTargets). Vitest 경로는*.test.*만, PlaywrighttestDir는 기본 testMatch처럼*.spec.*와*.test.*를 게이트 안으로 본다.gatedTestPaths(경로만)는 다른 호출자를 위해 그대로 둔다. 판정 함수는 문자열을 받으면 Vitest 경로로 본다.*.spec.*를 빼기. Playwright testDir의 spec이 「게이트 밖」이 된다.위험과 영향
check:ci:gatingPASS 그대로).검증
ungated-tests·ungated-scripts·test-all-paths·removal-drill-test-paths29개 통과, 실제check:ci:gatingPASS,tests/unit/probe.spec.ts를 두면 그 파일 이름으로 rc=1(완료 기준), eslint·check:typesrc=0. 로그/tmp/claude-gates/w2fe2-ung3/.리뷰어가 볼 곳
scripts/lib/ungated-tests.ts의gatedTestTargets와ungatedTestFailures.관련
문제: `check:ci:gating`(FE-GATE-029)은 `*.test.*`와 `*.spec.*`를 모두 모은 뒤 게이트 명령이 닿는 경로 접두어만 본다. 그래서 `tests/unit/x.spec.ts`는 「게이트 안」으로 세지만 vitest.config.ts는 `*.test.{ts,tsx}`만 모아 아무 게이트도 그 파일을 돌리지 않는다. 고른 방법: 경로마다 그 경로를 돌리는 runner를 함께 적는다 (`gatedTestTargets`: Vitest 경로와 Playwright `testDir`). Vitest 경로는 `*.test.*`만, Playwright `testDir`는 기본 testMatch처럼 `*.spec.*`와 `*.test.*`를 게이트 안으로 본다. 판정(`ungatedTestFailures`)은 이 목록을 받고, 문자열만 주면 Vitest 경로로 본다. `gatedTestPaths`(경로만)는 다른 호출자를 위해 그대로 둔다. 위험·한계: Playwright 설정이 testMatch를 좁혀도 그 testDir의 두 꼴을 모두 게이트 안으로 본다(예전과 같다). 검증(desktop): 새 시험이 판정 규칙을 빼는 변이에서 실패(RED), 고친 뒤 ungated-tests·ungated-scripts·test-all-paths·removal-drill-test-paths 29개 통과, 실제 `check:ci:gating` PASS, `tests/unit/probe.spec.ts`를 두면 그 파일 이름으로 rc=1, eslint·check:types rc=0. 로그 /tmp/claude-gates/w2fe2-ung3/. Refs: 0929/12-06#40으로 병합됐다(main
ee47480c). 이 PR의 headd838be54가 #40 브랜치에 merge 커밋으로 들어 있고, #40의 runner merge job 셋이 그 합친 트리로 초록이었다. runner 대기를 줄이려고 이번만 쓴 방식이다(소유자 승인, 2026-11-13).Pull request closed