Skip to content

docs: 문의 도메인 정책 가이드 추가#576

Merged
dh2906 merged 1 commit into
developfrom
docs/inquiry-domain-guide
Apr 27, 2026
Merged

docs: 문의 도메인 정책 가이드 추가#576
dh2906 merged 1 commit into
developfrom
docs/inquiry-domain-guide

Conversation

@dh2906
Copy link
Copy Markdown
Contributor

@dh2906 dh2906 commented Apr 27, 2026

🔍 개요

  • 문의 도메인의 공개 API, 이벤트 발행, Slack 알림 후속 처리 정책을 AI 작업 가이드로 정리했습니다.
  • 문서 claim 중 실행 경로로 고정해야 하는 이벤트 발행과 Slack 리스너 위임을 단위 테스트로 보강했습니다.

🚀 주요 변경 내용

  • src/main/java/gg/agit/konect/domain/inquiry/AGENTS.md 추가
  • InquiryService가 문의 내용을 원문 그대로 InquirySubmittedEvent로 발행하는 단위 테스트 추가
  • InquirySlackListener가 이벤트 content를 Slack 알림 서비스에 위임하는 단위 테스트 추가

💬 참고 사항

  • 실행 테스트: CI=true ./gradlew test --tests 'gg.agit.konect.integration.domain.inquiry.*' --tests 'gg.agit.konect.unit.domain.inquiry.*' --tests 'gg.agit.konect.unit.infrastructure.slack.listener.InquirySlackListenerTest'\n* 확인: git diff --check, ./gradlew checkstyleMain\n* ./gradlew checkstyleTest는 기존 테스트 파일의 120자 초과 13건으로 실패하며, 이번 변경 파일에서는 위반이 발생하지 않았습니다.

✅ Checklist (완료 조건)

  • 코드 스타일 가이드 준수
  • 테스트 코드 포함됨
  • Reviewers / Assignees / Labels 지정 완료
  • 보안 및 민감 정보 검증 (API 키, 환경 변수, 개인정보 등)

- 문의 API가 저장 없이 이벤트를 발행하고 Slack 알림으로 이어지는 경계를 문서화했습니다.
- 공개 API 검증, 원문 이벤트 발행, AFTER_COMMIT Slack 위임 정책을 분리해 채팅 문의방 정책과 혼동되지 않도록 했습니다.
- 문서에서 고정한 이벤트 발행과 Slack 리스너 위임 경로를 단위 테스트로 보강했습니다.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 27, 2026

Warning

Rate limit exceeded

@dh2906 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 52 minutes and 9 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 52 minutes and 9 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: c445bcbb-2fa5-4186-b083-71ecfdc09b49

📥 Commits

Reviewing files that changed from the base of the PR and between bc98f3a and bc0eb1d.

📒 Files selected for processing (3)
  • src/main/java/gg/agit/konect/domain/inquiry/AGENTS.md
  • src/test/java/gg/agit/konect/unit/domain/inquiry/service/InquiryServiceTest.java
  • src/test/java/gg/agit/konect/unit/infrastructure/slack/listener/InquirySlackListenerTest.java
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/inquiry-domain-guide

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 and usage tips.

@dh2906 dh2906 requested a review from Copilot April 27, 2026 00:38
@dh2906 dh2906 self-assigned this Apr 27, 2026
@dh2906 dh2906 added the 문서 문서화와 관련된 이슈입니다. label Apr 27, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

문의(inquiry) 도메인의 정책/경계(공개 API, 이벤트 발행, 트랜잭션 커밋 이후 Slack 알림 위임)를 AGENTS 가이드로 문서화하고, 핵심 실행 경로(이벤트 payload 원문 유지, Slack 서비스 위임)를 단위 테스트로 고정하는 PR입니다.

Changes:

  • inquiry 도메인 정책 가이드 문서(AGENTS.md) 추가
  • InquiryService.submitInquiry가 입력 content를 원문 그대로 InquirySubmittedEvent로 발행하는 단위 테스트 추가
  • InquirySlackListener가 이벤트 content를 SlackNotificationService.notifyInquiry로 위임하는 단위 테스트 추가

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/main/java/gg/agit/konect/domain/inquiry/AGENTS.md 문의 도메인의 공개 API/이벤트/Slack 후속 처리 정책과 변경 시 체크리스트를 문서화
src/test/java/gg/agit/konect/unit/domain/inquiry/service/InquiryServiceTest.java 이벤트 발행 시 content 원문 유지(트리밍/마스킹 없음)를 단위 테스트로 고정
src/test/java/gg/agit/konect/unit/infrastructure/slack/listener/InquirySlackListenerTest.java Slack 리스너가 이벤트 content를 알림 서비스로 위임하는 경로를 단위 테스트로 고정

@github-actions
Copy link
Copy Markdown

🧪 JaCoCo Coverage Report (Changed Files)

이 PR에서 변경된 main Java 소스 파일이 없습니다.

📊 View Workflow Run

@dh2906 dh2906 merged commit e6f4317 into develop Apr 27, 2026
9 checks passed
@dh2906 dh2906 deleted the docs/inquiry-domain-guide branch April 27, 2026 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

문서 문서화와 관련된 이슈입니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants