Commit graph

331 commits

Author SHA1 Message Date
Hussam.lawen
5f36f0d753
Merge commit 'bdf7eff7cd0a8894c3e66e49bdf89f27da1bfcb4' into hl/incremental_review 2023-07-18 23:28:43 +03:00
Hussam.lawen
dc4bf13d39
Add Incremental Review 2023-07-18 23:14:47 +03:00
mrT23
bdf7eff7cd
Merge pull request #87 from Codium-ai/tr/bug_fix
Add Insights from User's Answers and Fix User Answers Fetching
2023-07-18 18:20:15 +03:00
Yuval Goldberg
dc67e6a66e Support deploying pr-agent on AWS Lambda 2023-07-18 17:46:42 +03:00
zmeir
0396e10706 Add configuration to request a score for the PR
This can help teams compare the review of the PR agent with that of a human reviewer, and fine-tune a score threshold for automatic approval where they decide the agent's review is satisfactory.
2023-07-18 16:40:35 +03:00
zmeir
77f243b7ab Allow passing CLI args (helps with debugging) 2023-07-18 16:39:46 +03:00
mrT23
c507785475
bugfix 2023-07-18 16:32:51 +03:00
Gadi Zimerman
5c5015b267
Update README.md 2023-07-18 14:45:15 +03:00
Hussam Lawen
3efe08d619
Merge pull request #85 from Codium-ai/hl/always_filer_bad_extensions
Filter out bad files before getting their head and original source code and diff
2023-07-18 13:50:25 +03:00
Hussam Lawen
2e36fce4eb
Merge pull request #83 from Codium-ai/hl/gitlab_description
Support describe for Gitlab
2023-07-18 13:47:32 +03:00
Ori Kotek
d6d4427545
Merge pull request #84 from Codium-ai/GadiZimerman-patch-1
Update README.md
2023-07-18 13:37:43 +03:00
Hussam.lawen
5d45632247
Performance improvement: Filter out bad files before getting their head and original source code and diff 2023-07-18 13:33:32 +03:00
Gadi Zimerman
90c045e3d0
Update README.md
changing image
2023-07-18 13:26:19 +03:00
Hussam.lawen
7f0a96d8f7
readme 2023-07-18 13:17:30 +03:00
Hussam.lawen
8fb9affef3
add try catch 2023-07-18 13:14:01 +03:00
Hussam Lawen
6c42a471e1
Merge pull request #76 from zmeir/zmeir-publish_inline_comments_single_api_call
Optimization of Inline Comments Publishing
2023-07-18 13:05:11 +03:00
Hussam.lawen
f2b74b6970
support gitlab describe function 2023-07-18 13:03:36 +03:00
mrT23
ffd11aeffc
Merge pull request #81 from Codium-ai/GadiZimerman-patch-1
Update README.md
2023-07-18 12:55:26 +03:00
Ori Kotek
05e4e09dfc
Lint 2023-07-18 12:27:28 +03:00
Ori Kotek
13092118dc
Move the new git provider function to the abstract interface 2023-07-18 12:26:49 +03:00
Ori Kotek
7d108992fc
Merge remote-tracking branch 'origin/main' into zmeir-publish_inline_comments_single_api_call 2023-07-18 11:53:41 +03:00
Ori Kotek
e5a8ed205e
Merge pull request #82 from Codium-ai/ok/lint
Linting and Code Cleanup
2023-07-18 11:40:43 +03:00
Ori Kotek
90f97b0226
Lint fixes 2023-07-18 11:34:57 +03:00
Ori Kotek
9e0f5f0ccc
Merge pull request #78 from Codium-ai/tr/agent_logic
Enhancement of PR Agent with User Interaction
2023-07-18 10:37:08 +03:00
Ori Kotek
87ea0176b9
Update README.md 2023-07-18 10:36:05 +03:00
Ori Kotek
62f08f4ec4
removed an unneeded file 2023-07-18 10:35:05 +03:00
Ori Kotek
fe0058f25f
Merge branch 'tr/agent_logic' of github.com:Codium-ai/pr-agent into tr/agent_logic 2023-07-18 10:34:40 +03:00
mrT23
6d2673f39d
Merge remote-tracking branch 'origin/tr/agent_logic' into tr/agent_logic 2023-07-18 10:32:43 +03:00
mrT23
b3a1d456b2
if settings.pr_reviewer.num_code_suggestions 2023-07-18 10:32:36 +03:00
Ori Kotek
f77a5f6929
Call PRAgent from github_action_runner.py 2023-07-18 10:31:24 +03:00
Ori Kotek
fdeae9c209
Update pr_agent/agent/pr_agent.py 2023-07-18 10:20:52 +03:00
Ori Kotek
a994ec1427
Call PRAgent from github_action_runner.py 2023-07-18 10:19:32 +03:00
Ori Kotek
e5259e2f5c
Small refactor 2023-07-18 10:17:09 +03:00
Gadi Zimerman
978348240b
Update README.md 2023-07-18 09:59:47 +03:00
Gadi Zimerman
4d92e7d9c2
Update README.md
consider changing section headers to reflect commands format
2023-07-18 09:56:40 +03:00
mrT23
6f1b418b25
Merge pull request #79 from patryk-kowalski-ds/deepsense.ai/gitlab-provider-file-creation-handling
Fixes 404 error on gitlab file provider happening in case a MR introduced a new file.
2023-07-18 08:27:59 +03:00
mrT23
51e08c3c2b
reflect and review + protections 2023-07-18 08:22:25 +03:00
mrT23
4c29ff2db1
Merge remote-tracking branch 'origin/tr/agent_logic' into tr/agent_logic
# Conflicts:
#	pr_agent/tools/pr_description.py
2023-07-18 08:06:47 +03:00
mrT23
5fbaa4366f
publish_output instead publish_review 2023-07-18 08:05:42 +03:00
mrT23
aee08ebbfe
Merge branch 'main' into tr/agent_logic 2023-07-18 08:04:47 +03:00
Almog Lavi
6ad8df6be7
Merge pull request #80 from Codium-ai/ok/remove_pics
Remove most pics from repo
2023-07-17 23:51:24 +03:00
mrT23
539edcad3c
works 2023-07-17 16:53:38 +03:00
Ori Kotek
b7172df700
Remove most pics from repo 2023-07-17 16:52:23 +03:00
Ori Kotek
768bd40ad8
Remove most pics from repo 2023-07-17 16:50:27 +03:00
mrT23
ea27c63f13
Insights from user's answers 2023-07-17 15:59:57 +03:00
mrT23
c866288b0a
Merge remote-tracking branch 'origin/main' into tr/agent_logic 2023-07-17 15:59:37 +03:00
Patryk Kowalski
8ae3c60670 In case of new file creation by the MR there is a 404 error on file retrieval by gitlab provider.
It was handled by catching the error and replacing the file string with an empty string.
Type checking was added before byte decoding - necessary in case of the empty string.
2023-07-17 14:53:23 +02:00
mrT23
f8f415eb75
stable 2023-07-17 15:49:29 +03:00
zmeir
24583b05f7 Publish GitHub review comments with single API call 2023-07-17 10:41:02 +03:00
Ori Kotek
fa421fd169
Merge pull request #75 from Codium-ai/bugfix/rename_get_description
get_description was removed
2023-07-17 10:32:01 +03:00