Skip to content

refactor(infra): add-ci-gate-and-change-detection#3563

Open
sunghyun1000 wants to merge 6 commits into
mainfrom
t2704-add-ci-gate-and-change-detection
Open

refactor(infra): add-ci-gate-and-change-detection#3563
sunghyun1000 wants to merge 6 commits into
mainfrom
t2704-add-ci-gate-and-change-detection

Conversation

@sunghyun1000
Copy link
Copy Markdown
Member

@sunghyun1000 sunghyun1000 commented May 14, 2026

Description

CI workflow를 변경 범위 기반으로 실행하고, 최종 결과를 CI Gate에서 확인하는 구조로 개편했습니다.

기존에는 여러 CI job이 각자 내부 step에서 변경 여부를 확인하거나, 항상 실행되는 구조였습니다. 이로 인해 인프라/프론트/백엔드 CI가 늘어날수록 변경 범위와 무관한 job이 함께 실행되고, Required check 관리도 복잡해질 수 있었습니다.

이번 PR에서는 다음을 변경했습니다.

  • Detect Changes job을 추가해 변경 범위 확인을 한 곳으로 모았습니다.
  • 각 CI job은 Detect Changes 결과를 보고 job-level if로 실행 또는 skip됩니다.
  • CI Gate job을 추가해 모든 CI job 결과가 success 또는 skipped인지 확인합니다.
  • 기존 Lint job을 Lint PR Title, Lint Node.js, Lint Go로 분리했습니다.
  • Typecheck는 관련 파일이 변경된 경우에만 실행되도록 변경했습니다.
  • ci.yml 수정 시 gate 연결 누락을 검증하는 Validate CI Workflow job을 추가했습니다.

Additional context

이 PR이 merge되면 branch protection의 Required check 설정 변경이 필요합니다.

기존 개별 CI job Required 설정은 제거하고, 아래 check를 Required로 지정해야 합니다.

  • CI Gate
  • CodeQL

특히 기존 Lint, Typecheck 등을 Required로 유지하면, job 이름 변경 또는 skip으로 인해 pending 상태가 발생할 수 있습니다.

Review 시에는 다음을 중점적으로 봐주시면 좋겠습니다.

  • 각 job의 실행 조건이 적절한지
  • CI Gate가 필요한 job을 모두 포함하고 있는지
  • Detect Changes의 path 조건이 너무 넓거나 좁지 않은지

Before submitting the PR, please make sure you do the following

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants