Skip to content

Checkout Strategy Merge - Merging before a plan #979

@Charg

Description

@Charg

First, huge thanks to the creators and maintainers of this project. Atlantis is helping us create a more autonomous engineering org.


Our Configuration
We have checkoutStrategy: merge set in our helm definition

The Question
In production we had two PRs (same repo) open against the same project/workspace/directory. The locking worked as expected, and locked the first PR (PR1) project. The second PR (PR2) is created and gets a message notifying it that the project is locked.

Work continued on PR1 and eventually we ran atlantis apply and merged to master. This lifted the lock from PR1.

Since the lock was lifted we were now able to run atlantis plan on PR2. The output from the plan showed deletions from the work that was just merged in PR1.

Is this the expected behavior, even with the checkoutStrategy set to merge?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions