Skip to content

허거덩·보드 동기화 caller 를 트리거 이벤트별 파일로 분리 - #66

Merged
m-a-king merged 1 commit into
mainfrom
chore/65-split-reusable-callers-by-event
Sep 6, 2026
Merged

허거덩·보드 동기화 caller 를 트리거 이벤트별 파일로 분리#66
m-a-king merged 1 commit into
mainfrom
chore/65-split-reusable-callers-by-event

Conversation

@m-a-king

@m-a-king m-a-king commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Situation

  • 허거덩(discord-pr-bot)과 project-board-sync 의 infra reusable 정본이 트리거 이벤트별 파일로 갈라진다 (reusable 워크플로를 트리거 이벤트별 파일로 분리 infra#81).
  • 지금 caller 는 push·workflow_dispatch·issuespull_request 와 같은 파일에서 구독한다. 그래서 PR 체크 목록에 그 축의 job 이 매번 skipped 로 남았고 (core PR 기준 5개, extractor 도 같은 구성), 정본 분리 뒤에는 그 축이 아예 호출되지 않는다.

Task

  • caller 를 정본과 같은 단위로 나눠 분리된 정본을 각자 호출하게 한다.

Action

caller 트리거 호출 정본 job 권한
discord-pr-bot.yml (기존, 축소) pull_request discord-pr-bot.yml pull-requests write, issues read
discord-direct-push.yml (신규) push main discord-direct-push.yml pull-requests read
discord-backfill.yml (신규) workflow_dispatch discord-backfill.yml pull-requests read, issues read
project-board-sync.yml (기존, 축소) pull_request opened/closed project-board-sync.yml 없음
project-board-issues.yml (신규) issues opened project-board-issues.yml issues write
  • concurrency: discord-pr-bot caller 의 그룹 키에서 push 용 github.sha 폴백을 뺐다. 이제 이 caller 는 PR 이벤트만 받는다.
  • 권한 이동: project-board-sync caller 가 갖고 있던 issues:write 는 이슈 자동 할당용이라 project-board-issues caller 로 옮겼다. PR 축은 PROJECT_TOKEN(PAT)으로만 쓰므로 job 권한 없이 호출한다.
  • secrets: 허거덩 계열은 기존대로 inherit, 보드 계열은 PROJECT_TOKEN 만 명시 전달로 유지했다.

Result

  • 이 PR 이 머지되면 PR 체크 목록의 skipped 4개(alert-direct-push·backfill-threads·issue-to-board·issue-auto-assign)가 사라진다. pr-merged-to-board 1개는 정본 쪽 결정으로 남는다.
  • 머지 순서: infra #81 이 먼저다. 그 전에 머지되면 새 caller 세 개가 아직 없는 정본 파일을 가리켜 push·dispatch·issues 축이 실패한다.
  • 이 PR 자체의 체크 목록은 아직 옛 정본을 부르므로 skipped 가 그대로 보인다. 정본 머지 뒤 열리는 PR 부터 줄어든다.

연관 이슈

- infra 정본이 discord-pr-bot.yml(PR 알림)·discord-direct-push.yml(push)·discord-backfill.yml(dispatch), project-board-sync.yml(PR 축)·project-board-issues.yml(issues 축)으로 갈라진 데 맞춰 caller 도 같은 단위로 나눔
- 기존 caller 두 개는 pull_request 트리거만 남기고 push·workflow_dispatch·issues 는 새 caller 세 개가 맡는다. concurrency 키에서 push 용 github.sha 폴백 제거
- project-board-sync caller 의 issues:write 는 이슈 자동 할당용이라 project-board-issues caller 로 옮기고 PR 축은 권한 없이 호출
- 한 caller 에 묶여 있을 때 PR 체크 목록에 매번 skipped 로 남던 job 4개(alert-direct-push·backfill-threads·issue-to-board·issue-auto-assign)가 사라진다
- 머지 순서는 infra 정본(TeamPiKi/infra#81) 이 먼저다. 그 전에 머지되면 새 caller 가 없는 정본 파일을 가리켜 push·dispatch·issues 축이 실패한다

Claude-Session: https://claude.ai/code/session_015trpvBeQF2eX29NUht5NGU
@m-a-king m-a-king added the chore 그 외 (빌드·deps·ci·도구·설정·잡일) label Sep 6, 2026
@m-a-king m-a-king self-assigned this Sep 6, 2026
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

Discord 스레드 연동용 메타데이터입니다. discord-pr-bot 워크플로가 자동 생성하며, 수정·삭제하면 PR 과 Discord 알림 연동이 끊깁니다.

@coderabbitai

coderabbitai Bot commented Sep 6, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 93bdebfb-ed9c-4cb0-8e0b-8b0651e39343


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@m-a-king
m-a-king merged commit d19c879 into main Sep 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore 그 외 (빌드·deps·ci·도구·설정·잡일)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

infra 정본 분리에 맞춰 허거덩·보드 동기화 caller 를 이벤트별 파일로 나눔

1 participant