Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[COZY-485] fix: 리뷰 리마인더 ENV 길이 초과 에러 해결 #248

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

eple0329
Copy link
Member

@eple0329 eple0329 commented Jan 17, 2025

⚒️develop의 최신 커밋을 pull 받았나요?

#️⃣ 작업 내용

어떤 기능을 구현했나요?
기존 기능에서 어떤 점이 달라졌나요?
자세한 로직이 필요하다면 함께 적어주세요!
코드에 대한 설명이라면, 코맨트를 통해서 어떤 부분이 어떤 코드인지 설명해주세요!

리마인더 길이 초과로 인해 디스코드로 전송되지 않은 이슈 해결했습니다.
리뷰 데이터를 PR에서 가져오다가, 코드 수정으로 사용하지 않는것을 확인하여 제거했습니다.
CodeRabbit이 너무 시끄럽게 떠들어서 발생했습니다.

동작 확인

기능을 실행했을 때 정상 동작하는지 여부를 확인하고 스샷을 올려주세요

image

💬 리뷰 요구사항(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요
고민사항도 적어주세요.

워크플로우 수정이니 바로 머지하겠습니다.

Summary by CodeRabbit

  • Chores
    • GitHub Actions 워크플로우 업데이트: PR 목록 가져오기 시 불필요한 리뷰 정보 제거
    • PR 데이터 페치 최적화를 위한 경량화된 명령어 사용

Copy link

coderabbitai bot commented Jan 17, 2025

Caution

Review failed

The pull request is closed.

워크스루

GitHub Actions 워크플로우 파일 .github/workflows/pr_review_reminder.yml에서 gh pr list 명령어의 JSON 출력 필드가 수정되었습니다. 기존에는 reviews 필드를 포함하여 PR 정보를 가져왔지만, 새로운 버전에서는 해당 필드를 제외하고 number, title, createdAt, reviewRequests 필드만 검색하도록 변경되었습니다. 이 변경은 각 오픈 PR에 대해 가져오는 데이터의 양을 줄이는 것을 목표로 하며, 워크플로우의 전반적인 로직과 오류 처리 메커니즘에는 영향을 미치지 않습니다.

시퀀스 다이어그램

이 변경 사항은 단순한 명령어 수정이므로 시퀀스 다이어그램을 생성할 필요가 없습니다.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 873026c and 742c029.

📒 Files selected for processing (1)
  • .github/workflows/pr_review_reminder.yml (1 hunks)

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@eple0329 eple0329 merged commit 239813a into develop Jan 17, 2025
1 of 2 checks passed
@eple0329 eple0329 deleted the fix/COZY-485 branch January 17, 2025 03:57
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