Skip to content

fix: t11 시드 스코프 + pgTAP 러너 거짓 통과 구멍#123

Merged
seizeh merged 1 commit into
mainfrom
fix/t11-scope-runner-grep
Jul 23, 2026
Merged

fix: t11 시드 스코프 + pgTAP 러너 거짓 통과 구멍#123
seizeh merged 1 commit into
mainfrom
fix/t11-scope-runner-grep

Conversation

@seizeh

@seizeh seizeh commented Jul 23, 2026

Copy link
Copy Markdown
Owner

IP 허용 후 재검증에서 발견된 2건:

  1. t11 거짓 실패report_issued count 단언이 무스코프라 운영 실데이터(실기기에서 실제 발행한 2건)와 충돌. 시드 사용자로 스코프해 자급자족 복원
  2. 러너 거짓 통과(더 중요) — psql 이 pgTAP 출력의 not ok 앞에 정렬 공백을 붙여 grep '^not ok' 가 실패를 못 잡고 ✅ 를 찍었음. ^[[:space:]]*not ok 로 교정 — 1번 버그가 이 구멍 덕에 조용히 통과되고 있었다

수정 후 전 스위트(t01~t11) 운영 DB 재실행 — 진짜 전부 통과. 스냅샷은 diff 0(수동 패치 정확성 재확인).

🤖 Generated with Claude Code

- t11 report_issued count 를 시드 사용자로 스코프 — 운영 실데이터
  (실기기 발행 2건)와 공존 가능하게(테스트 자급자족 원칙)
- run_db_tests.sh: psql 컬럼 정렬이 'not ok' 앞에 공백을 붙여
  ^not ok 그렙이 실패를 놓치던 구멍(거짓 ✅) — ^[[:space:]]* 허용

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@seizeh
seizeh merged commit 28f43df into main Jul 23, 2026
1 check failed
@seizeh
seizeh deleted the fix/t11-scope-runner-grep branch July 23, 2026 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant