Commit graph

159 commits

Author SHA1 Message Date
mrT23
f6ba49819a
feat: enhance GitHubProvider with improved error handling and URL parsing
- Add traceback logging for exceptions in diff file retrieval
- Improve URL parsing to handle '/api/v3' paths and validate GitHub URLs
- Modify `publish_comment` to return None for temporary comments
- Update constructor to accept an optional GitHub client parameter
2024-10-14 09:18:06 +03:00
mrT23
229d7b34c7
Limit comment body length and adjust logging levels in GitHub provider 2024-08-18 08:24:27 +03:00
mrT23
3456c8e039
Add 'original_suggestion' parameter to publish_inline_comment methods across git providers for enhanced inline comment handling 2024-08-16 08:58:51 +03:00
Tal
01c18d7d98
Merge pull request #1134 from Codium-ai/tr/err_protections
Tr/err protections
2024-08-14 08:17:19 +03:00
mrT23
8414e109c5
Update logging levels and add error handling for empty data in PR tools and providers 2024-08-14 08:02:34 +03:00
Stephen Quinn
2e41701d07 fixes 2024-08-13 16:21:46 +01:00
Stephen Quinn
11d69e05aa fix git provider 2024-08-13 09:25:59 +01:00
Hussam.lawen
9c1ab06491
fix long comments 2024-08-12 12:27:09 +03:00
mrT23
3d3b49e3ee
remove github.com 2024-07-15 20:18:21 +03:00
mrT23
034ec8f53a
provider 2024-07-11 18:37:37 +03:00
mrT23
eccd00b86f
github 2024-07-11 18:30:16 +03:00
mrT23
9a57d00951
GitHub Enterprise Server 2024-07-08 09:01:56 +03:00
Hussam.lawen
0c3940b6a7
persistent release notes 2024-07-03 16:38:13 +03:00
KennyDizi
b20f364b15 Change the data structure for prefixes to a list to preserve order 2024-06-27 07:16:26 +07:00
KennyDizi
692904bb71 Use ReviewHeaderTitle in lieu of PrReviewTitle 2024-06-27 07:11:57 +07:00
KennyDizi
ba963149ac Fix extract PrReviewTitle member value 2024-06-27 07:10:57 +07:00
KennyDizi
7348d4144b Rename PrReviewTitle enum 2024-06-27 07:05:03 +07:00
KennyDizi
2d21df61c7 Apply PrReviewTitles enum for github provider file 2024-06-27 07:03:25 +07:00
mrT23
0c1331f77e
Add context-aware git provider retrieval and refactor related functions 2024-06-19 09:49:47 +03:00
mrT23
a710f3ff43
Add context-aware git provider retrieval and refactor related functions 2024-06-19 09:41:53 +03:00
mrT23
025a14014a
Add context-aware git provider retrieval and refactor related functions 2024-06-19 09:36:37 +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
mrT23
20f6af803c
Add file ignore functionality and update documentation for ignore patterns 2024-06-13 12:09:52 +03:00
mrT23
2076454798
Add file ignore functionality and update documentation for ignore patterns 2024-06-13 12:01:50 +03:00
mrT23
e367df352b
Add file ignore functionality and update documentation for ignore patterns 2024-06-13 11:41:13 +03:00
Tal
aac7aeabd1
Update PR review prompts and terminology for clarity and consistency (#954)
* Update PR review prompts and terminology for clarity and consistency
2024-06-10 08:44:11 +03:00
mrT23
e6c5236156
Add logging for skipping non-code files in GitHub provider 2024-05-30 17:05:30 +03:00
mrT23
8a5b01b465
empty calc_pr_statistics 2024-04-08 14:49:00 +03:00
mrT23
99a676d792
Merge remote-tracking branch 'origin/main' into tr/split 2024-03-17 09:00:04 +02:00
mrT23
31a8f5302a
Update get_pr_labels method to support label updates and prevent unnecessary label republishing 2024-03-12 17:02:45 +02:00
Hussam.lawen
5c20fffee9
fix when no previous review where found, reivew -i should run as regular review 2024-03-11 09:59:16 +02:00
Hussam.lawen
84dadb0469
rename + check github 2024-03-11 09:42:10 +02:00
Hussam.lawen
003c49052e
skip incremental review if no file changed since last review 2024-03-10 17:15:25 +02:00
mrT23
8324e9a38d
can_be_split 2024-03-10 16:56:32 +02:00
Ori Kotek
1ff0afabae
Refactor update changelog 2024-03-07 00:48:33 +02:00
mrT23
acefbff62b
Add 'final_update_message' option to control publishing of update message in persistent comments 2024-03-05 17:29:17 +02:00
Ori Kotek
a86a3f52f0
a minor bugfix 2024-02-29 16:03:00 +02:00
mrT23
4921c26432
Add functionality to calculate and log PR statistics on closure 2024-02-26 20:02:11 +02:00
mrT23
5f9969f30c
base_url 2024-02-25 17:22:35 +02:00
Ori Kotek
2dfddd8cea
Fix a bug 2024-02-25 17:13:35 +02:00
Ori Kotek
bc88e0492f
Fix a bug 2024-02-25 17:12:40 +02:00
mrT23
a15d4f7a94
base_url 2024-02-25 16:55:20 +02:00
mrT23
4258ce165b
Refactor link generation in github_provider.py to use get_pr_url method 2024-02-25 16:33:19 +02:00
mrT23
1275cf0123
adjustment 2024-02-25 16:23:44 +02:00
mrT23
8b76eb1014
fixed bugs with incremental review 2024-02-22 18:03:00 +02:00
mrT23
fc7b267c9a
self.diff_files 2024-02-21 17:00:11 +02:00
mrT23
e291bd352e
protections 2024-02-21 16:46:57 +02:00
mrT23
f08ce53de3
Optimize PR commit retrieval and caching in GitHub provider and utils 2024-02-21 16:33:32 +02:00
mrT23
4a0b12c036
Refactor reaction handling in GitHub provider and update help text in PR tools 2024-02-20 08:06:33 +02:00
mrT23
c98e736e3b
added github action support 2024-02-16 14:49:01 +02:00