Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Revert "create review instead of single comments" #187

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

harjotgill
Copy link
Contributor

@harjotgill harjotgill commented Apr 18, 2023

Reverts #185

Summary by OpenAI

Release Notes

  • Reverts previous commits that introduced a buffer for review comments and replaced single comments with a review.
  • Directly creates or updates review comments and modifies the commenter function to use review_comment instead of buffer_review_comment.
  • Includes error handling improvements.

"Code changes are here,
Reverting past mistakes without fear.
Directly creating review comments,
Error handling improved, no more laments."

@harjotgill harjotgill enabled auto-merge (squash) April 18, 2023 02:18
@github-actions
Copy link
Contributor

🤖 OpenAI

High-level Summary

The changes proposed in this pull request revert previous commits that introduced a buffer for review comments and replaced single comments with a review. Instead, the code directly creates or updates review comments and modifies the commenter function to use review_comment instead of buffer_review_comment. The changes also include error handling improvements.

Files Summary

File Changes
src/commenter.ts Reverts a previous commit that introduced a buffer for review comments and instead directly creates or updates review comments. The changes also include error handling improvements.
src/review.ts Reverts a previous change that replaced single comments with a review. The changes include removing the submission of a review and modifying the commenter function to use review_comment instead of buffer_review_comment.

Chat with 🤖 OpenAI Bot (@openai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @openai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Files ignored due to filter (1)

Ignored files

  • dist/index.js

@harjotgill harjotgill merged commit e54dc76 into main Apr 18, 2023
@harjotgill harjotgill deleted the revert-185-create_review branch April 18, 2023 02:19
harjotgill added a commit that referenced this pull request Apr 18, 2023
shoyuf pushed a commit to maybeLab/openai-mr-reviewer-gltlab that referenced this pull request Jun 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant