Commit graph

336 commits

Author SHA1 Message Date
mrT23
f0d780c7ec
feat: enhance GitHub polling with synchronous comment processing and improved logging 2024-09-05 16:55:10 +03:00
mrT23
19048ee705
feat: enhance GitHub polling with synchronous comment processing and improved logging 2024-09-05 16:53:31 +03:00
mrT23
b8d2b263b9
feat: enhance GitHub polling with synchronous comment processing and improved logging and bug fixing 2024-09-05 16:52:47 +03:00
Paolo Mainardi
2f7f60a469
fix: review standardize regex checking 2024-09-02 16:31:19 +02:00
Paolo Mainardi
adce35765b
feat: implement skip branches for github, add ignore title to gitlab 2024-09-02 16:26:50 +02:00
Paolo Mainardi
23af1afa03
feat: gitlab skip source, target and labels 2024-08-30 17:01:18 +02:00
Paolo Mainardi
fdcbdfce98
feat: gitlab skip source, target and labels 2024-08-30 16:40:23 +02:00
Paolo Mainardi
c9ed271eaf
feat: keep manual comments working when commenting draft MRs
closes #1160
2024-08-26 14:50:43 +02:00
mrT23
b9d096187a
fix: skip processing comments without a body in GitHub polling server 2024-08-25 07:21:40 +03:00
Paolo Mainardi
3778cc2745
feat: skip draft by default 2024-08-22 21:59:01 +02:00
Paolo Mainardi
8793f8d9b0
Update gitlab_webhook.py 2024-08-22 21:14:49 +02:00
Paolo Mainardi
61837c69a3
Update gitlab_webhook.py 2024-08-22 21:13:54 +02:00
Paolo Mainardi
ffaf5d5271
feat: Handle the gitlab MR draft status
closes #1160
2024-08-22 17:29:39 +02:00
mrT23
2591a5d6c1
patch_extension_skip_types
Add validation for latest_comment and cast suggestions_score_threshold to int
2024-08-20 12:11:34 +03:00
mrT23
dc1a8e8314
Add detailed logging and error handling in GitHub polling server
- Introduce traceback logging for exceptions during notification processing.
- Enhance logging for PR comments with additional artifact information.
- Update configuration settings for publishing PR descriptions as comments.
2024-08-18 08:13:40 +03:00
mrT23
78b11c80c7
Add error handling for empty secrets in GitLab webhook and lower log level for Google Cloud Storage secret retrieval errors 2024-08-13 11:42:07 +03:00
mrT23
cb65b05e85
Add error handling for missing username fields in Bitbucket webhook handler and update log context 2024-08-13 11:33:19 +03:00
Ori Kotek
b59111e4a6
Add app_name to log_context in Bitbucket and GitLab webhook handlers 2024-08-12 16:10:41 +03:00
mrT23
652ced5406
bitbucket server 2024-07-26 08:31:21 +03:00
mrT23
d088f9c19a
disable 'PUBLISH_OUTPUT_PROGRESS=False' 2024-07-18 11:49:09 +03:00
mrT23
ca18f85294
s 2024-06-27 08:27:49 +03:00
mrT23
3f3e9909fe
fix: initialize git_provider as an empty dictionary in GitHub App server 2024-06-23 10:03:52 +03:00
mrT23
9034e18772
Add is_auto_command config check to conditionally publish output and update GitHub App to set this flag 2024-06-19 11:51:10 +03:00
mrT23
833bb29808
Add context-aware git provider retrieval and refactor related functions 2024-06-19 11:20:00 +03:00
mrT23
025a14014a
Add context-aware git provider retrieval and refactor related functions 2024-06-19 09:36:37 +03:00
Ori Kotek
663604daa5
Support running GitHub App using gunicorn, adjust Dockerfile accordingly 2024-06-18 20:15:48 +03:00
BrianTeeman
a9a27b5a8f
Fix typos/Spelling
This simple PR fixes typos and spelling errors in code comments and documentation. It has no functional changes but does at least make the instruction more readable and match the code.
2024-06-16 17:06:30 +01:00
Ori Kotek
07f21a5511
Github: work in background 2024-06-09 18:14:42 +03:00
mrT23
d046c2a939
gitlab push_commands will work 2024-06-05 11:25:10 +03:00
mrT23
faf4576f03
enterprise 2024-06-04 17:08:24 +03:00
mrT23
0b7dcf03a5
Improve error handling in get_mr_url_from_commit_sha function in gitlab_webhook.py 2024-06-04 16:47:20 +03:00
mrT23
213ced7e18
Add PR evaluation prompt and link to fine-tuning benchmark documentation 2024-06-04 16:37:35 +03:00
Kamakura
b1444eb180 format github_action_runner.py 2024-06-04 11:10:13 +08:00
Ori Kotek
2b0dfc6298
Merge remote-tracking branch 'origin/main' into ok/gitlab_fix 2024-06-03 14:15:46 +03:00
Ori Kotek
76ff49d446
Refactor GitLab webhook initialization to move app setup outside of start function 2024-06-03 12:38:41 +03:00
Ori Kotek
413547f404
Refactor GitLab webhook handling for async processing and improved logging 2024-06-03 12:36:24 +03:00
mrT23
4f13007267
Disable final update message when auto_describe is enabled in GitHub Action Runner 2024-06-03 08:15:36 +03:00
MarkRx
d9a7dae6c4 Better error handling on backgrounp task thread 2024-05-30 20:22:58 -04:00
MarkRx
c9c14c10b0 Fix some server implementations not properly logging context 2024-05-30 20:16:21 -04:00
mrT23
34ad5f2aa2
toolbar emojis in pr-agent feedbacks 2024-05-05 13:33:54 +03:00
mrT23
7563af08a0
docs 2024-04-18 08:44:08 +03:00
mrT23
2f4e40860d
Replace keep_original_user_title with generate_ai_title for PR description customization and update documentation accordingly 2024-04-17 16:29:12 +03:00
mrT23
86e64501df
ask 2024-04-14 12:43:26 +03:00
mrT23
4683a29819
s 2024-04-14 12:34:14 +03:00
mrT23
8f0f08006f
s 2024-04-14 12:00:19 +03:00
Pavel Kvach
4c83bf695d Handle OPENAI_KEY not set error in github_action_runner.py
Fixes https://github.com/Codium-ai/pr-agent/issues/855
2024-04-12 10:50:00 +03:00
idubnori
9e4ffd824c
Merge branch 'main' into feature/gha-outputs-1 2024-04-10 23:27:44 +09:00
idubnori
3412095d81 chore: change default to true, if use in github actions 2024-04-10 09:18:21 +09:00
idubnori
75c4befadf feat: set review data to github actions output 2024-04-10 01:02:05 +09:00
mrT23
aa2121a48d
readme 2024-04-07 16:28:30 +03:00
idubnori
493f73f1ce chore: add logging the reason not execute 2024-03-27 12:03:27 +09:00
mrT23
1491bcba96
logs 2024-03-26 08:09:33 +02:00
mrT23
9c284e64cf
dont log pr-agent bot 2024-03-25 12:27:45 +02:00
mrT23
3cdadb3ad1
always ignore bot 2024-03-25 09:04:07 +02:00
mrT23
695f0706a8
Refactor help text for clarity and update configuration links in help.py; standardize variable naming in cli.py 2024-03-25 08:53:13 +02:00
mrT23
07f5025b03
Refactor help text for clarity and update configuration links in help.py; standardize variable naming in cli.py 2024-03-25 08:51:59 +02:00
mrT23
887d640ba5
Merge remote-tracking branch 'origin/main' into tr/pypi 2024-03-22 21:36:45 +02:00
mrT23
0816370b1a
adjustments to pypi 2024-03-22 21:36:22 +02:00
koid
cae0b96054 use sender_type on bot check 2024-03-21 12:06:46 +09:00
koid
b71523f13e use endswith 2024-03-18 16:14:58 +09:00
koid
80a793a257 ignore bot pr option on github app mode 2024-03-18 16:14:54 +09:00
mrT23
99a676d792
Merge remote-tracking branch 'origin/main' into tr/split 2024-03-17 09:00:04 +02:00
mrT23
785fbe04ae
update links 2024-03-12 17:42:19 +02:00
Tal
256d1a3369
Merge pull request #751 from danstis/fix/ado-spaces
Fix URL encoding in Azure DevOps webhook handler
2024-03-10 23:57:59 -07:00
mrT23
33a911da4c
log 2024-03-11 08:56:48 +02:00
mrT23
a27ad0feb6
log 2024-03-11 08:55:07 +02:00
mrT23
6c5697b07c
Enhance logging and refactor code in gitlab_webhook.py, update logger level in bitbucket_app.py and github_polling.py, remove redundant section in github.md 2024-03-11 08:50:19 +02:00
mrT23
4810b8549b
docs 2024-03-10 16:59:37 +02:00
Dan Anstis
73624148a5 Fix URL encoding in Azure DevOps webhook handler 2024-03-08 04:39:57 +00:00
mrT23
2f6f1d5879
Add command execution functionality to Bitbucket app and update configuration settings 2024-03-06 07:53:13 +02:00
mrT23
5880221d00
Update logger setup to include debug level in github_app.py 2024-03-02 23:32:26 +02:00
Tal
9a0288250d
Merge pull request #729 from Codium-ai/tr/wiki
wiki
2024-03-02 10:24:27 -08:00
mrT23
917bdd5cb8
Refactor Usage.md for improved readability and organization 2024-03-02 20:23:10 +02:00
Tal
2340f95488
Merge pull request #727 from Codium-ai/tr/repo_log
log event
2024-02-28 22:10:26 -08:00
mrT23
dd4dc4b761
log event 2024-02-29 08:09:25 +02:00
Tal
6a51a646ee
Merge pull request #725 from Codium-ai/tr/repo_log
get_log_context
2024-02-28 11:26:53 -08:00
mrT23
8d498cd70c
git_org 2024-02-28 16:14:13 +02:00
mrT23
d5e72c2183
get_log_context 2024-02-28 16:10:57 +02:00
mrT23
b09b936b15
get_log_context 2024-02-28 16:05:52 +02:00
Ori Kotek
9c7ac125e1
Tweak analytics log message to add api_url 2024-02-28 12:05:01 +02:00
mrT23
4316d00941
log_context 2024-02-26 21:12:28 +02:00
mrT23
edc9d8944e
Refactor handle_closed_pr function to check for merged PRs 2024-02-26 20:56:43 +02:00
Ori Kotek
910c56c851
Merge pull request #721 from Codium-ai/ok/identity_provider
Identity provider
2024-02-26 20:23:09 +02:00
Ori Kotek
ab29cf2b30
Identity provider 2024-02-26 20:21:20 +02:00
mrT23
60a37158b1
Add functionality to calculate and log PR statistics on closure 2024-02-26 20:09:01 +02:00
mrT23
4921c26432
Add functionality to calculate and log PR statistics on closure 2024-02-26 20:02:11 +02:00
Ori Kotek
8bdc90c0f7
Identity provider 2024-02-26 19:00:21 +02:00
Ori Kotek
8843f7bc8b
Add analytics logging 2024-02-26 16:15:23 +02:00
mrT23
ffe4512b7d
small log improvement 2024-02-26 15:16:59 +02:00
Ori Kotek
5ab69af5a7
Merge pull request #695 from Codium-ai/ok/analytics
Add support for analytics file
2024-02-25 11:17:09 +02:00
mrT23
dad3d3429f
artifact 2024-02-25 10:45:15 +02:00
mrT23
877796b539
Refactor logging statements for better readability and debugging 2024-02-25 09:46:07 +02:00
Tal
51ce484bab
Update github_app.py 2024-02-24 09:40:15 +02:00
Ori Kotek
4d8c38e5e1
Change github app startup logic to support gunicorj 2024-02-23 18:29:35 +02:00
Ori Kotek
2f3171e422
Change github app startup logic to support gunicorj 2024-02-23 18:28:58 +02:00
Ori Kotek
b878f64793
add analytics support 2024-02-23 17:30:20 +02:00
mrT23
85492f20fa
'debug' for request body 2024-02-22 18:13:42 +02:00
mrT23
8b76eb1014
fixed bugs with incremental review 2024-02-22 18:03:00 +02:00
mrT23
adc5709b29
Refactor github_app.py to improve handling of PR events and comments 2024-02-22 17:34:51 +02:00
mrT23
b884920ef2
Refactor github_app.py to improve handling of PR events and comments 2024-02-22 17:26:47 +02:00