Ori Kotek
2add584fbc
Fix a bug in GitLab webhook
2023-11-21 16:28:01 +02:00
mrT23
c7a681038d
gfm instructions
2023-11-19 11:11:11 +02:00
mrT23
eb977b4c24
gfm instructions
2023-11-19 11:02:11 +02:00
koid
f0991526b5
remove unnecessary setup_logger
2023-11-08 16:56:44 +09:00
koid
e6ef123ce5
add middleware when initializing fastapi
2023-11-05 15:38:19 +09: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
Ori Kotek
71a341855e
Add log_context to handle_request calls in gitlab_webhook.py
2023-10-30 16:00:09 +02:00
mrT23
e97a03f522
Merge remote-tracking branch 'origin/main' into tr/final_fixes
2023-10-29 14:38:33 +02:00
Ori Kotek
61d3e1ebf4
Merge pull request #394 from zmeir/zmeir-external-push_trigger
...
Added support for automatic review on push event
2023-10-29 13:04:33 +02:00
mrT23
ae375c2ff0
final fixes
2023-10-29 13:01:55 +02:00
mrT23
c27dc436c4
final fixes
2023-10-29 12:29:14 +02:00
mrT23
638db96311
github action now also uses .pr_agent.toml
2023-10-28 13:34:32 +03:00
Hussam.lawen
6f2bbd3baa
Add documentation
2023-10-28 00:45:59 +03:00
Hussam.lawen
ca0ea77415
refactor
2023-10-27 07:58:42 +03:00
zmeir
6541575a0e
Refactor to use pull_request synchronize event
2023-10-26 16:49:54 +03:00
Hussam.lawen
16777a5334
Add custom label description
2023-10-25 13:48:27 +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
Hussam.lawen
fa24413201
Custom Labels
2023-10-23 16:29:33 +03:00
Ori Kotek
fc494296d7
Merge pull request #387 from Codium-ai/ok/json_logging_in_bitbucket
...
Enhancing Logging in Bitbucket, GitLab, and Google Cloud Storage Secret Provider
2023-10-19 11:59:26 +03:00
Ori Kotek
1314898cbf
Enhance logging in bitbucket_app, gitlab_webhook, and google_cloud_storage_secret_provider with JSON format and additional context
2023-10-18 16:44:03 +03:00
Ori Kotek
ff04d459d7
Update Bitbucket Pipeline instructions in INSTALL.md, remove redundant functionality
2023-10-18 15:46:43 +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
mrT23
e7aee84ea8
isinstance
2023-09-25 18:23:56 +03:00
mrT23
388684e2e8
none
2023-09-25 18:19:35 +03:00
mrT23
8f81c18647
auto commands in github action
2023-09-25 18:01:32 +03:00
sarbjitgrewal
46ec3c0754
implement suggestions in bitbucket pipeline
2023-09-21 14:42:59 +05:30
sarbjitgrewal
e343ce8468
bitbucket pipeline for adding reviews
2023-09-15 16:05:55 +05:30
sarbjitgrewal
978c56c128
update pipeline
2023-09-15 12:38:34 +05:30
sarbjitgrewal
4043dfff9e
Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_pipeline
2023-09-14 15:31:18 +05:30
Ori Kotek
21feb92b75
Support issue comments in GitHub Actions
2023-09-12 16:41:12 +03:00
Ori Kotek
2f6178306f
Fix a bug in GitHub Actions
2023-09-12 13:28:35 +03:00
sarbjitgrewal
12bd9e8b42
add bitbucket pipeline
2023-09-11 16:08:23 +05:30
Ori Kotek
1443df7227
Merge remote-tracking branch 'origin/main' into ok/gitlab_webhook
2023-09-05 18:15:51 +03:00
Nikolay Telepenin
53ce609266
Msg is mandatory field for the request
2023-09-04 15:50:36 +01:00
Ori Kotek
140760c517
Add Gitlab webhook secret
2023-09-04 16:39:31 +03:00
Ori Kotek
56e9493f7a
Add Gitlab webhook secret
2023-09-04 15:29:21 +03:00
Nikolay Telepenin
1254ad1727
Gerrit:
...
- support reflect/answer
2023-09-01 14:31:35 +01:00
Nikolay Telepenin
eeea38dab3
Gerrit support
2023-09-01 14:31:34 +01:00
Ori Kotek
4c6595148b
Add Gitlab webhook secret
2023-08-31 17:03:58 +03:00
Ori Kotek
02e0f958e7
Add Gitlab webhook secret
2023-08-31 14:56:45 +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
9e878d0d9a
Bitbucket server
2023-08-27 10:11:46 +03:00
Ori Kotek
355abfc39a
Bitbucket server, WIP
2023-08-24 18:35:41 +03:00
Ori Kotek
5079daa4ad
Bitbucket server, WIP
2023-08-24 16:33:51 +03:00
Ori Kotek
123741faf3
Bitbucket server, WIP
2023-08-24 12:10:13 +03:00
zmeir
5582a901ff
Merge branch 'main' into zmeir-automatic_github_app_options
2023-08-22 21:09:23 +03:00
Zohar Meir
3d771e28ce
Remove redundant None default in dict.get
2023-08-22 18:33:25 +03:00