Tal
fb4746fd09
Merge pull request #584 from samanhappy/link
...
Fix link formatting for relevant_line
2024-01-09 23:22:55 -08:00
mrT23
729b5d11c9
feat: Refactor instructions and fields in pr_code_suggestions_prompts.toml
2024-01-09 22:56:25 +02:00
mrT23
fc502a6fd5
feat: Refactor instructions and fields in pr_code_suggestions_prompts.toml
2024-01-09 22:49:26 +02:00
mrT23
2b607dbd9a
feat: Refactor instructions and fields in pr_code_suggestions_prompts.toml
2024-01-09 22:32:09 +02:00
mrT23
9c6aabb0bb
feat: Add custom labels and extra instructions sections to help.py, summarize mode to pr_code_suggestions.py, and summarize mode condition to pr_code_suggestions_prompts.toml
2024-01-09 22:09:48 +02:00
Tal
da3ac656ee
Merge pull request #586 from Codium-ai/tr/ask_usage
...
ask helper
2024-01-09 06:55:30 -08:00
mrT23
a42e57d09b
ask helper
2024-01-09 16:36:39 +02:00
mrT23
e56c443fd6
ask helper
2024-01-09 16:34:27 +02:00
mrT23
abc05e7711
ask helper
2024-01-09 16:25:23 +02:00
Tal
a77d539866
Merge pull request #585 from samanhappy/url
...
Enhancement: Update GitLab link generation to support self-managed GitLab server and different projects
2024-01-09 06:12:05 -08:00
zmeir
19c14b940e
Try fixing invalid inline comments
2024-01-09 09:54:29 +02:00
samanhappy
36f1cfb51f
Enhancement: Update GitLab link generation to support self-managed GitLab server and different projects
2024-01-09 15:11:27 +08:00
samanhappy
0f2a4654a7
Fix link formatting for relevant_line
2024-01-09 14:56:18 +08:00
zmeir
28c5ad1d8b
nit
2024-01-08 13:06:03 +02:00
zmeir
2bb5ae8c0d
Remove redundant condition (status 422 already means the same)
2024-01-08 13:05:10 +02:00
zmeir
b0bffdec84
Refactor and add configuration toggle
2024-01-08 12:00:20 +02:00
Tal
11b96b1c1a
Merge pull request #583 from Codium-ai/tr/unique_titles
...
feat: Remove bot help text from github_polling.py
2024-01-08 01:51:43 -08:00
mrT23
e0f4bc7ded
feat: Remove bot help text from github_polling.py
2024-01-08 11:45:01 +02:00
Tal
62d83f6753
Merge pull request #582 from Codium-ai/tr/unique_titles
...
Enhance PR description headers with bold formatting and include original user description
2024-01-08 01:28:56 -08:00
mrT23
e9a2a0a96f
s
2024-01-08 10:37:51 +02:00
mrT23
46a38473e4
Merge remote-tracking branch 'origin/main' into tr/unique_titles
2024-01-08 10:30:58 +02:00
mrT23
c9e55be275
s
2024-01-08 10:30:47 +02:00
Tal
f714592dec
Merge pull request #579 from Codium-ai/tr/user_description
...
Enhancements to Logging, Help Messages, and PR Descriptions and Reviews
2024-01-07 23:46:25 -08:00
mrT23
8bb2eb48af
s
2024-01-08 09:43:34 +02:00
mrT23
9cfb8ce475
s
2024-01-08 09:39:19 +02:00
mrT23
67cb133c52
s
2024-01-08 09:28:44 +02:00
mrT23
9c054bb80f
s
2024-01-08 09:18:46 +02:00
Sagi Medina
b776e5069c
feat: Refactor AzureDevopsProvider class in azuredevops_provider.py
...
- Reorder class methods and constructor for better readability
- Add error logging for failed operations
- Implement get_pr_description_full method
- Update get_pr_description method to always return full description
- Modify _parse_pr_url method to return workspace_slug, repo_slug, and pr_number
- Make _get_azure_devops_client a static method
- Add error handling in get_pr_id method
2024-01-08 09:15:34 +02:00
Sagi Medina
c8bca487e5
feat: Implement methods in AzureDevopsProvider for publishing code suggestions, labels, and removing comments
2024-01-08 08:59:12 +02:00
Tal
78fa61eac6
Merge branch 'main' into tr/user_description
2024-01-07 22:55:18 -08:00
Tal
582cbd623f
Merge pull request #580 from Codium-ai/tr/add_logs
...
feat: Add debug logs to git_provider and pr_description modules
2024-01-07 09:58:20 -08:00
mrT23
3ea08a6cf5
feat: Add debug logs to git_provider and pr_description modules
2024-01-07 19:57:49 +02:00
mrT23
3154ebbf9f
feat: Add debug logs to git_provider and pr_description modules
2024-01-07 19:56:05 +02:00
Tal
8fe608884d
Merge pull request #578 from Codium-ai/ok/atlassian_version
...
feat: Update atlassian-python-api version in requirements.txt
2024-01-07 09:17:56 -08:00
Ori Kotek
60e79f0134
feat: Update atlassian-python-api version in requirements.txt
2024-01-07 18:08:11 +02:00
mrT23
a6bbd04efb
s
2024-01-07 17:02:18 +02:00
mrT23
578d15c6fc
usage guide
2024-01-07 16:38:08 +02:00
zmeir
22d17985a1
Less noisy fallback for publish_code_suggestions in case of invalid comments
...
As a first option, `publish_code_suggestions` will try to post all review comments in a single GitHub review. This is preferred because it will group all comments together in the GitHub UI under the same review, and will trigger just one notification for any viewers of the PR.
If just one of the comments is malformed, the entire API request will fail and none of the comments will be posted to the PR. In the current implementation, the fallback mechanism is to just post each comment separately with `try/except` and skip the invalid comments. This works, but potentially creates a lot of noise in the PR as each comment is posted as in a separate review, creating multiple notifications.
This suggested fallback is based on a similar idea, but without creating multiple review notifications. The it works is by iterating over the potential comments, and starting a PENDING review for the current comment. The review is not submitted and does not trigger a notification, but it is verified against the GitHub API, and so we can verify if the comment is valid. After checking all comments we then submit a single review with all the verified comments which is guaranteed to succeed.
The end result is having the exact same comments posted to the PR as with the current fallback method, but the downside is having twice as many API calls (for each comment we have 1 extra API call to delete the pending review).
2024-01-07 16:00:44 +02:00
Tal
faba5a224a
Merge pull request #575 from Codium-ai/tr/user_description
...
docs: Enhance 'improve' tool documentation and update 'DESCRIBE.md' w…
2024-01-07 01:30:44 -08:00
mrT23
19f85f08b0
docs: Enhance 'improve' tool documentation and update 'DESCRIBE.md' with hyperlink
2024-01-07 11:29:07 +02:00
mrT23
8512e9dffb
docs: Enhance 'improve' tool documentation and update 'DESCRIBE.md' with hyperlink
2024-01-07 11:26:24 +02:00
mrT23
7c0be8ca44
docs: Enhance 'improve' tool documentation and update 'DESCRIBE.md' with hyperlink
2024-01-07 11:22:53 +02:00
mrT23
d9872d7031
docs: Enhance 'improve' tool documentation and update 'DESCRIBE.md' with hyperlink
2024-01-07 11:19:47 +02:00
Tal
be4b9c4991
Merge pull request #574 from Codium-ai/tr/user_description
...
Enhance and reorganize documentation for review and describe tools
2024-01-07 00:01:30 -08:00
mrT23
94172104f0
docs: Reorganize and enhance documentation for review and describe tools
2024-01-07 09:56:09 +02:00
mrT23
8ec790d4f7
Merge remote-tracking branch 'origin/main' into tr/user_description
...
# Conflicts:
# docs/DESCRIBE.md
2024-01-07 09:49:43 +02:00
mrT23
640972b00a
docs: Reorganize and enhance documentation for review and describe tools
2024-01-07 09:48:17 +02:00
mrT23
7810ba7d76
docs: Reorganize and enhance documentation for review and describe tools
2024-01-07 09:40:24 +02:00
mrT23
d91f1fce09
docs: Reorganize and enhance documentation for review and describe tools
2024-01-07 09:36:03 +02:00
mrT23
edcb666fbc
docs: Reorganize and enhance documentation for review and describe tools
2024-01-07 09:28:06 +02:00