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

CG-1234: Add comments and reviews to GithubViewPRTool #935

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

codegen-sh[bot]
Copy link
Contributor

@codegen-sh codegen-sh bot commented Mar 21, 2025

This PR adds support for including comments and reviews in the GithubViewPRTool output.

Changes:

  1. Updated the ViewPRObservation class to include fields for comments and reviews
  2. Modified the get_modified_symbols_in_pr method in the Codebase class to fetch and return PR comments and reviews
  3. Fixed a typo in the variable name (moddified_symbols -> modified_symbols)

Implementation Details:

  • Comments include both issue comments and review comments (comments on specific lines)
  • Each comment includes metadata like user, body, creation date, etc.
  • Reviews include metadata like user, body, state, etc.

Fixes the issue mentioned in Slack: https://codegencommunity.slack.com/archives/C08JKKP35PT/p1742572530749669?thread_ts=1742408765.927599&cid=C08JKKP35PT

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.

0 participants