#3703·pr-agent

Bitbucket Cloud push commands skip the ignore filters

Author: IsmaelMartinezCreated Sep 27, 2026Updated Sep 27, 2026
Labelsgood first issuehelp wantedLow Effort Issuebug

In the Bitbucket Cloud app, _perform_commands_bitbucket only runs should_process_pr_logic for pullrequest:created (bitbucket_app.py:197-199), so push commands on pullrequest:updated ignore ignore_pr_authors, ignore_pr_title and the source/target branch filters, from global and repo settings alike. GitHub (github_app.py:415, :547), GitLab (gitlab_webhook.py:86, :315), Gitea (gitea_app.py:84, :106) and Bitbucket Server (bitbucket_server_webhook.py:137) filter push events. Azure applies no ignore filters at all, which is a separate question.

Proposal: call should_process_pr_logic for both command types after apply_repo_settings, and remove the stub in test_pr_command_profiles.py (added in #3347) that asserts update events are never filtered. Comment events stay unfiltered, as on every other server. ignore_pr_labels stays a no-op here because Bitbucket Cloud PRs have no labels.