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
Ori Kotek
e3dba12fea
Adds an option to ignore PR opens by regex matching
2024-02-22 12:14:04 +02:00
mrT23
4d0f691b64
repo_settings
2024-02-21 18:23:34 +02:00
Ori Kotek
048d90623f
Ignore comment not starting with a slash
2024-02-21 17:59:58 +02:00
mrT23
c98e736e3b
added github action support
2024-02-16 14:49:01 +02:00
mrT23
40fbd55da4
added github action support
2024-02-16 12:58:55 +02:00
Hussam.lawen
fff52e9e26
Add ask line feature
2024-02-15 14:25:22 +02:00
mrT23
a043eb939b
feat: Apply repo settings on push trigger in github_app.py
2023-12-07 08:42:18 +02:00
Zohar Meir
cf4d007737
Fix commands list for push trigger
2023-10-31 00:00:48 +02:00
Ori Kotek
775ccb3f25
Refactor _perform_commands function in github_app.py to improve command handling
2023-10-30 20:14:25 +02:00
zmeir
6541575a0e
Refactor to use pull_request synchronize event
2023-10-26 16:49:54 +03:00
zmeir
65bb70a1dd
Added support for automatic review on push event
...
The new feature can be enabled via the new configuration `github_app.handle_push_event`. To avoid any unwanted side-effects, the current default of this configuration is set to `false`.
The high level flow (assuming the configuration is enabled):
1. receive push event from GitHub
2. extract branch and commits from event
3. find PR url for branch (currently does not support PRs from forks)
4. perform configured commands (e.g. `/describe`, `/review -i`)
The push event flow is guarded by a backlog queue so that multiple push events on the same branch won't trigger multiple duplicate runs of the PR-Agent commands.
Example timeline:
1. push 1 - start handling event
2. push 2 - waiting to be handled while push 1 event is still running
3. push 3 - event is dropped since handling it and handling push 2 is the same, so it is redundant
4. push 1 finished being handled
5. push 2 awakens from wait and continues handling (potentially reviewing the commits of both push 2 and push 3)
All of these options are configurable and can be enabled/disabled as per the user's desire.
Additional minor changes in this PR:
1. Created `DefaultDictWithTimeout` utility class to avoid too much boilerplate code in managing caches for outdated triggers.
2. Guard against running increment review when there are no new commits.
3. Minor styling changes for incremented review text.
2023-10-25 11:15:23 +03:00
Ori Kotek
83e670c5df
Enhance logging context in github_app server with server type
2023-10-16 16:13:09 +03:00
Ori Kotek
c324d88be3
Refactor logging system to use custom logger across the codebase
2023-10-16 14:56:00 +03:00
Ori Kotek
e7258e732b
Refactor repo-specific settings application into a utility function, fix merge bug
2023-10-14 01:39:05 +03:00
Ori Kotek
140760c517
Add Gitlab webhook secret
2023-09-04 16:39:31 +03:00
Ori Kotek
d64b1f80da
Allow overriding GitHub app default action by using repo local file
2023-08-30 12:12:09 +03:00
Ori Kotek
355abfc39a
Bitbucket server, WIP
2023-08-24 18:35:41 +03:00
Zohar Meir
3d771e28ce
Remove redundant None default in dict.get
2023-08-22 18:33:25 +03:00
Zohar Meir
62fe1de12d
Remove redundant toggle
2023-08-22 18:28:06 +03:00
zmeir
782c170883
Support custom deployments for github_app.py and add more options for automatic review actions
2023-08-22 16:46:03 +03:00
Tim Perkins
631fb93b28
Implement Automatic Review Configuration for GitHub app
2023-08-16 16:24:30 -04:00
Ori Kotek
ebbe655c40
Don't commment on Github, only eyes reaction
2023-08-07 18:09:39 +03:00
Ori Kotek
b1148e5f7a
Don't commment on Github, only eyes reaction
2023-08-07 16:34:28 +03:00
Ori Kotek
a75253097b
Don't remove eyes
2023-08-07 16:28:20 +03:00
Ori Kotek
886139c6b5
Support adding / removing reaction from comments in GitHub different servers
2023-08-07 16:18:08 +03:00
Ori Kotek
8ae936e504
Bug fixes
2023-08-01 15:58:23 +03:00
Ori Kotek
d7b77764c3
Support context aware settings (for each incoming request), support override of settings, refactor CLI to use pr_agent.py
2023-08-01 14:43:26 +03:00
Ori Kotek
a8780f722d
Handle marketplace hook
2023-07-28 03:22:25 +03:00
Ori Kotek
1a8fce1505
Updated handling of installation id
2023-07-28 02:44:28 +03:00
mrT23
2dfbfec8c2
refactor
2023-07-24 19:48:24 +03:00