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
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
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
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