Skip to content

Conversation

@jklong
Copy link

@jklong jklong commented Nov 14, 2025

what

Implement the --ignore-vcs-status-names flag for the GitLab provider. Similar to #4978, this consults an ignore list when for commit status names when determining mergeability. If a commit status name can be parsed as {vcsstatusname}/... and that parsed vcsstatusname is present in the configured ignore list then it is skipped.

why

Similar reasoning as expressed in #2848 for the existing GitHub-only feature - when multiple atlantis servers with different vcs-status-names operate on a single repo with a mergeable requirement they see pending pipeline statuses set by the other atlantis instances and report that the MR is not mergeable.

tests

  • I have tested my changes by adding unit test coverage. go test ./server/events/vcs passes, however an existing, unrelated, test failure at main/HEAD causes make test to fail.
  • Tested locally with and without ignored status names.

references

#2848
#4978

@dosubot dosubot bot added feature New functionality/enhancement provider/gitlab labels Nov 14, 2025
@github-actions github-actions bot added docs Documentation go Pull requests that update Go code labels Nov 14, 2025
@jklong
Copy link
Author

jklong commented Nov 26, 2025

@lukemassa is there anything you want from me in order to move this forward?

lukemassa
lukemassa previously approved these changes Nov 30, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 30, 2025
@lukemassa
Copy link
Contributor

Looks good to me!

@jklong jklong closed this Dec 18, 2025
@jklong jklong force-pushed the gitlab-ignore-vcs-status branch from 1ed5d32 to 6ada326 Compare December 18, 2025 23:13
@jklong
Copy link
Author

jklong commented Dec 18, 2025

Sigh, I accidentally clicked a wrong button somewhere and clobbered my changes :/. I'll fix it up and reopen, standby

@jklong
Copy link
Author

jklong commented Dec 18, 2025

There we go, rebased everything onto runatlantis:main and fixed the branch.

@jklong
Copy link
Author

jklong commented Dec 18, 2025

@lukemassa sorry about that. Exactly the same change, just rebased. Can you please reapprove the PR and the pending workflows (assuming thats what's blocking merging)?

lukemassa
lukemassa previously approved these changes Dec 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation feature New functionality/enhancement go Pull requests that update Go code lgtm This PR has been approved by a maintainer provider/gitlab

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants