{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":665411666,"defaultBranch":"main","name":"pr-agent","ownerLogin":"zmeir","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-07-12T06:35:51.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/33152084?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1704636061.0","currentOid":""},"activityList":{"items":[{"before":"19c14b940e01db100c592d634b0598a33b1f434e","after":"b9951fce628ca6ed4ab68d84f245012cd8be97b4","ref":"refs/heads/zmeir/enhance/fallback_bad_review_comment","pushedAt":"2024-01-10T09:59:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Typo when parsing the suggestion part","shortMessageHtmlLink":"Typo when parsing the suggestion part"}},{"before":"28c5ad1d8be9f2765da7ee9a0465170bc69cff6a","after":"19c14b940e01db100c592d634b0598a33b1f434e","ref":"refs/heads/zmeir/enhance/fallback_bad_review_comment","pushedAt":"2024-01-09T07:54:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Try fixing invalid inline comments","shortMessageHtmlLink":"Try fixing invalid inline comments"}},{"before":"b0bffdec84ae21154577a810c4cc08051fe5785a","after":"28c5ad1d8be9f2765da7ee9a0465170bc69cff6a","ref":"refs/heads/zmeir/enhance/fallback_bad_review_comment","pushedAt":"2024-01-08T11:06:12.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"nit","shortMessageHtmlLink":"nit"}},{"before":"22d17985a1df61f705edd28cad1d906f2e271d14","after":"b0bffdec84ae21154577a810c4cc08051fe5785a","ref":"refs/heads/zmeir/enhance/fallback_bad_review_comment","pushedAt":"2024-01-08T10:01:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Refactor and add configuration toggle","shortMessageHtmlLink":"Refactor and add configuration toggle"}},{"before":null,"after":"22d17985a1df61f705edd28cad1d906f2e271d14","ref":"refs/heads/zmeir/enhance/fallback_bad_review_comment","pushedAt":"2024-01-07T14:01:01.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Less noisy fallback for `publish_code_suggestions` in case of invalid comments\n\nAs 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.\n\nIf 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.\n\nThis 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.\n\nThe 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).","shortMessageHtmlLink":"Less noisy fallback for publish_code_suggestions in case of invalid…"}},{"before":"c2b0891c0baa8c3dd3e57cad0644b58e750168e0","after":null,"ref":"refs/heads/zmeir/enhance/auto_improve_extended_simple","pushedAt":"2024-01-04T17:30:25.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"}},{"before":"2f9fbbf0ac32d2be809c34613d34826529bca924","after":null,"ref":"refs/heads/zmeir/enhance/auto_improve_extended","pushedAt":"2024-01-04T17:29:57.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"}},{"before":"2f9fbbf0ac32d2be809c34613d34826529bca924","after":"c2b0891c0baa8c3dd3e57cad0644b58e750168e0","ref":"refs/heads/zmeir/enhance/auto_improve_extended_simple","pushedAt":"2024-01-04T16:53:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Simpler auto-extended toggle and keep the default as false","shortMessageHtmlLink":"Simpler auto-extended toggle and keep the default as false"}},{"before":null,"after":"2f9fbbf0ac32d2be809c34613d34826529bca924","ref":"refs/heads/zmeir/enhance/auto_improve_extended_simple","pushedAt":"2024-01-04T16:49:53.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Prevent reducing the number of suggestions if already low enough","shortMessageHtmlLink":"Prevent reducing the number of suggestions if already low enough"}},{"before":"ba3f22d81ecec073bd549c26b70dbe5d4f5accee","after":null,"ref":"refs/heads/zmeir/enhance/support_azure_in_langchain_ai_handler","pushedAt":"2024-01-04T16:35:51.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"}},{"before":"1ade09eaa3f429c213480d5f50926c9bd1e0e476","after":null,"ref":"refs/heads/zmeir/fix/config_command_missing_arg","pushedAt":"2024-01-04T16:34:53.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"}},{"before":"2790e591f6afb3330c1a8aeaf7a464cbec67d125","after":"ba3f22d81ecec073bd549c26b70dbe5d4f5accee","ref":"refs/heads/zmeir/enhance/support_azure_in_langchain_ai_handler","pushedAt":"2024-01-04T14:22:30.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Move logging to a central location for all AI Handlers","shortMessageHtmlLink":"Move logging to a central location for all AI Handlers"}},{"before":null,"after":"2790e591f6afb3330c1a8aeaf7a464cbec67d125","ref":"refs/heads/zmeir/enhance/support_azure_in_langchain_ai_handler","pushedAt":"2024-01-04T14:16:12.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Move logging to a central location for all AI Handlers","shortMessageHtmlLink":"Move logging to a central location for all AI Handlers"}},{"before":null,"after":"1ade09eaa3f429c213480d5f50926c9bd1e0e476","ref":"refs/heads/zmeir/fix/config_command_missing_arg","pushedAt":"2024-01-04T12:50:11.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Fix failing `/config` command\n\nAll commands need the `ai_handler` argument. The PRConfig class was missing it in the `__init__` method and so it failed with this error:\n\n```\nFile \"/home/vcap/app/pr_agent/agent/pr_agent.py\", line 76, in handle_request\n await command2class[action](pr_url, ai_handler=self.ai_handler, args=args).run()\nTypeError: PRConfig.__init__() got an unexpected keyword argument 'ai_handler'\n```","shortMessageHtmlLink":"Fix failing /config command"}},{"before":"8d2da74380dd4154f44fd2dde262f52c5b41cb80","after":null,"ref":"refs/heads/zmeir/fix/get_user_description","pushedAt":"2024-01-04T08:46:13.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"}},{"before":"8915a4bae1f1c0b515c1fa1bed405c6489502c07","after":null,"ref":"refs/heads/zmeir/fix/enable_file_walkthrough","pushedAt":"2024-01-04T08:34:19.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"}},{"before":"39c1866121677ead6eaa5b17165e225619bf74ff","after":"8d2da74380dd4154f44fd2dde262f52c5b41cb80","ref":"refs/heads/zmeir/fix/get_user_description","pushedAt":"2024-01-04T07:41:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Find user description in a case-insensitive way","shortMessageHtmlLink":"Find user description in a case-insensitive way"}},{"before":"560d30dbb1d54cbf5ab641808786c67b9f0b09a4","after":"39c1866121677ead6eaa5b17165e225619bf74ff","ref":"refs/heads/zmeir/fix/get_user_description","pushedAt":"2024-01-04T07:41:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Revert title() to capitalize()","shortMessageHtmlLink":"Revert title() to capitalize()"}},{"before":"967494ce17d3600eb2d55f8623ae5bb11616eb8d","after":null,"ref":"refs/heads/zmeir/enhance/refine_add_docs_prompt","pushedAt":"2024-01-04T07:29:15.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"}},{"before":"58f93e0615d76f3d2b5ef74d44f333e020bb7579","after":null,"ref":"refs/heads/zmeir/fix/drop_python3.9","pushedAt":"2024-01-04T07:24:13.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"}},{"before":null,"after":"2f9fbbf0ac32d2be809c34613d34826529bca924","ref":"refs/heads/zmeir/enhance/auto_improve_extended","pushedAt":"2024-01-03T14:44:18.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Prevent reducing the number of suggestions if already low enough","shortMessageHtmlLink":"Prevent reducing the number of suggestions if already low enough"}},{"before":null,"after":"58f93e0615d76f3d2b5ef74d44f333e020bb7579","ref":"refs/heads/zmeir/fix/drop_python3.9","pushedAt":"2024-01-03T10:30:21.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Drop support for python 3.9\n\nThe `bitbucket_server_provider.py` uses structural pattern matching that was introduced in python 3.10, and so trying to run any command with python 3.9 will fail (because we import all the providers right at the top of `pr_agent.git_providers`)","shortMessageHtmlLink":"Drop support for python 3.9"}},{"before":null,"after":"967494ce17d3600eb2d55f8623ae5bb11616eb8d","ref":"refs/heads/zmeir/enhance/refine_add_docs_prompt","pushedAt":"2024-01-03T10:27:34.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Refine the prompt for `add_docs` command\n\nI found that without it, python docstrings are sometimes suggested above the function signature, instead of below.","shortMessageHtmlLink":"Refine the prompt for add_docs command"}},{"before":null,"after":"8915a4bae1f1c0b515c1fa1bed405c6489502c07","ref":"refs/heads/zmeir/fix/enable_file_walkthrough","pushedAt":"2024-01-03T10:25:53.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Fixed `pr_description.enable_file_walkthrough`\n\nThe new (and very cool) feature `pr_description.enable_sematic_files_types` changed some of the prompts and handling of the description pr_file list.\nThis PR restores the ability to choose between the 2 possible configurations (default still remains the new semantic files feature).","shortMessageHtmlLink":"Fixed pr_description.enable_file_walkthrough"}},{"before":null,"after":"560d30dbb1d54cbf5ab641808786c67b9f0b09a4","ref":"refs/heads/zmeir/fix/get_user_description","pushedAt":"2024-01-03T10:21:35.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Fix `get_user_description`\n\nThe headers changed from \"PR Type\"/\"PR Description\"/etc to \"Type\"/\"Description\"/etc","shortMessageHtmlLink":"Fix get_user_description"}},{"before":"7d89b829670a5667e90b1061bf1925ede2fd6427","after":null,"ref":"refs/heads/patch-1","pushedAt":"2023-11-16T07:26:51.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"}},{"before":"c5f9bbbf92b60a000b20cad5f043eb82c209716c","after":"7d89b829670a5667e90b1061bf1925ede2fd6427","ref":"refs/heads/patch-1","pushedAt":"2023-11-13T12:41:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Fix `get_user_description` in case `pr_description.enable_pr_type=false`\n\nFixes an issue when getting the user description after a PR-Agent description was already generated, in case the configuration setting `pr_description.enable_pr_type` was `false`.","shortMessageHtmlLink":"Fix get_user_description in case pr_description.enable_pr_type=false"}},{"before":"b286c8ed2063c61e1a596478cbe1afa75ed9483c","after":null,"ref":"refs/heads/zmeir-external-incremental_review_thresholds","pushedAt":"2023-11-06T09:13:11.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"}},{"before":"c623c3baf4b9915d6ca89a8312aa14f40e1d4ea2","after":"b286c8ed2063c61e1a596478cbe1afa75ed9483c","ref":"refs/heads/zmeir-external-incremental_review_thresholds","pushedAt":"2023-11-06T07:44:20.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"},"commit":{"message":"Added documentation for the new configurations","shortMessageHtmlLink":"Added documentation for the new configurations"}},{"before":"cf4d007737ac3467ed838a32a6db4d19105974e1","after":null,"ref":"refs/heads/zmeir-patch-2","pushedAt":"2023-11-02T16:47:05.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zmeir","name":"Zohar Meir","path":"/zmeir","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33152084?s=80&v=4"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMS0xMFQwOTo1OTo1Mi4wMDAwMDBazwAAAAPcHnR5","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMS0wMlQxNjo0NzowNS4wMDAwMDBazwAAAAOmD_gh"}},"title":"Activity · zmeir/pr-agent"}