process: prevent recurring PR workflow failures on governance traceability #414
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
PR 생성/업데이트 시 CI가 반복적으로 실패하며, 원인이 코드 변경 자체보다 워크플로우/프로세스 누락(특히 PR 본문 거버넌스 필드) 에서 자주 발생합니다.
Observed Pattern
validate_governance_assets단계가REQ-ID / TASK-ID / TEST-ID누락으로 실패Problem Statement
현재 워크플로우는 "실패 후 수정" 방식이라, PR 생성 시점에 필요한 거버넌스 필드를 강제/가이드하는 장치가 부족합니다.
Proposal
tea pr create전에 실행 가능한 preflight 스크립트 추가scripts/validate_pr_body.py+ 거버넌스 필드 체크 통합scripts/에 PR 본문 생성 래퍼 추가(heredoc 기반)Acceptance Criteria
docs/workflow.md,docs/commands.md)에 표준 절차 반영Related