Repository navigation
Update the-pr-agent/pr-agent action to v0.48.0 - #10
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.46.0→v0.48.0Release Notes
the-pr-agent/pr-agent (the-pr-agent/pr-agent)
v0.48.0Compare Source
pip install pr-agentno longer installs the git provider SDKs (#3679): PyGithub, python-gitlab, atlassian-python-api, the Azure DevOps SDKs, boto3, giteapy, the Google Cloud SDKs and a2a-sdk moved to thegithub,gitlab,bitbucket,azure,codecommit,gitea,googleandmosaicoextras. Install the ones you use, for examplepip install "pr-agent[github]", orpr-agent[all]for the previous set. The Docker images already installall.10001withHOME=/home/pragent. Mounted secrets must be readable by that user, output and database directories must be writable, and home-relative mounts should move to/home/pragent. The GitHub Action, CLI and Lambda images still run as root.azure_devops_server.webhook_username/webhook_passwordorbitbucket_server.webhook_secretunset, every webhook is rejected with HTTP 403. Set them on both the sender and PR-Agent before upgrading.<secret-name>:<webhook-token>. Name-only tokens are rejected with HTTP 401, so update the webhooks when you deploy.<namespace>/pr-agent-settingsto every repository automatically. Set the host-onlyconfig.global_settings_repo = "pr-agent-settings"to keep the old behaviour.[tool.pr-agent]inpyproject.tomlis no longer read (#3941): move those settings to.pr_agent.toml..pr_agent.tomland comment arguments can no longer set provider endpoints (openai.api_baseand the otherapi_basekeys), keys ending inurl,endpoint,org,key,tokenorsecret, provider auth mode and TLS settings (github.deployment_type,gitlab.auth_type/ssl_verify,bitbucket.auth_type,gitea.skip_ssl_verification/ssl_ca_cert),jira.jira_site/jira_api_email/project_keys, or LiteLLM callbacks. They are ignored with a warning, so set them in host configuration instead. Comment arguments are restricted further as well (#3902)..pr_agent.tomlchange inside a PR no longer applies to that PR.config.repo_context_sibling_repos.gitlab.expand_submodule_diffsonly expands submodules listed there that sit in the MR's top-level group.config.ignore_pr_authors,ignore_pr_labels,ignore_pr_title, the branch rules andignore_repositoriesnow skip manually triggered commands too, not only automatic ones.merge_recommendationvalues were renamed (#4010): withpr_reviewer.require_merge_recommendationon,safe_to_mergeis nowno_concerns_foundandmerge_with_cautionis nowneeds_review.changes_requiredis unchanged. Update anything that parses review output./describecomments no longer repeat the PR description (#4118): withpr_description.publish_description_as_comment = true, the comment leaves out the User Description section even whenadd_original_user_descriptionis on, because the PR body is left untouched.config.max_webhook_request_body_bytes, #3820). A positiveconfig.max_output_tokensbelow 4096 is raised to 4096 (#4013)./describeand/generate_labelsdrop model labels outside the PR types and enabled custom labels (#3899).What's Changed
🚀 Features
🐛 Bug Fixes
⚡ Performance
📚 Documentation
🧹 Maintenance
⬆️ Dependencies
Full Changelog: The-PR-Agent/pr-agent@v0.47.0...v0.48.0
v0.47.0Compare Source
gitea.webhook_secretunset, the Gitea app rejects every webhook with HTTP 403 instead of accepting it unsigned. Set the secret on the Gitea webhook and in your config before upgrading.github_action_config.fail_on_tool_errors = falseto keep the old green behaviour./on GitLab, Bitbucket and Bitbucket Server (#3769): a comment only runs a tool when it starts with a slash command, so plain comments that mention one no longer trigger anything.extra_config_urlis host-only (#3638): a repository's.pr_agent.tomlcan no longer set it. Configure it on the host instead, for example withPR_AGENT_EXTRA_CONFIG_URL.commitable_code_suggestionsis nowcommittable_code_suggestions(#3749): the old spelling still works with a deprecation warning until 1.0.gunicorn_config.pyinstead of a single Python process.Known issue: Bedrock Kimi K3, new in this release (#3651), still receives a temperature by default, which Bedrock is reported to reject. Until #3752 lands, add the model ids to
config.no_temperature_models.What's Changed
🚀 Features
🐛 Bug Fixes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.