Azure DevOps: --ignore-vcs-status-names is ignored in PullIsMergeable
Author: emanuelbesliuCreated Sep 24, 2026Updated Sep 24, 2026
Community Note
- Please vote on this issue by adding a reaction to the original issue to help the community and maintainers prioritize this request.
- Please do not leave "+1" or other comments that do not add relevant new information or questions.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Overview of the Issue
On the Azure DevOps provider, the --ignore-vcs-status-names server flag is ignored when Atlantis computes whether a pull request is mergeable.
VCSClient.PullIsMergeable is defined as PullIsMergeable(logger, repo, pull, vcsStatusName string, ignoreVCSStatusNames []string) and both the GitHub and GitLab clients honor those two parameters. The Azure DevOps client, however, discards them (_ string, _ []string) and instead hardcodes a skip of the status genre Atlantis Bot/atlantis with name apply.
Two consequences:
--ignore-vcs-status-nameshas no effect on Azure DevOps. Operators cannot exclude an additional blocking status-check branch policy (for example a human-only merge gate, or a second Atlantis service) from Atlantis' mergeability evaluation — a capability GitHub users already have via this documented flag.- The self-apply skip does not track
--vcs-status-name. Atlantis posts its own statuses under the configured VCS status name (genreAtlantis Bot/<vcs-status-name>), but the Azure DevOps skip is hardcoded to the literalAtlantis Bot/atlantis. With a non-defaultATLANTIS_VCS_STATUS_NAME, the apply status genre no longer matches the hardcoded value, unlike the GitHub implementation which uses the configured name.
Reproduction Steps
- Run Atlantis against an Azure DevOps repo with
apply_requirements: [mergeable]. - Add a blocking status-check branch policy that is not Atlantis' own status (for example a SonarQube/quality gate, or a proxy status used as a human merge gate).
- Start the server with
--ignore-vcs-status-namesset to that policy's status genre or name. - Observe that Atlantis still treats the PR as not mergeable because the blocking policy is not approved — the flag is not honored on Azure DevOps.
Environment details
- Atlantis version: main (reproducible in current code)
- VCS: Azure DevOps
- Relevant flags:
--ignore-vcs-status-names,--vcs-status-name - Relevant code:
server/events/vcs/azuredevops/client.goPullIsMergeable(params discarded; hardcodedAtlantis Bot/atlantis/applyskip), vsserver/events/vcs/github/client.goIsMergeableMinusApplywhich honors both params.
Additional Context
- The flag is documented in
runatlantis.io/docs/server-configuration.mdunder--ignore-vcs-status-names, previously noted as "Currently only implemented for GitHub." - Proposed fix (provider parity, mirroring GitHub): honor
vcsStatusNamefor the self-apply skip (Atlantis Bot/<vcs-status-name>+apply, keeping defaultatlantisbackward compatible) and skip any branch policy whose status genre or name is listed in--ignore-vcs-status-names. - Pull request implementing this: #6921
Source: runatlantis/atlantis