Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverting a branch with "dry run" leaves objects on branch in unrecoverable state #50

Closed
mrmrcoleman opened this issue Aug 16, 2024 · 0 comments · Fixed by #53
Closed
Assignees
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@mrmrcoleman
Copy link

Plugin Version

v0.3.0

NetBox Version

v4.1-beta1 - 2024-08-05

Python Version

Python 3.12.3

Steps to Reproduce

  1. Create a branch
  2. Add a site to the branch
  3. Merge the branch
  4. Revert the branch in dry run mode
  5. Merge the branch

Expected Behavior

As the site is not removed from the main branch in dry run mode, I expect the branch to stay in the merged state so that I can see what happened in the job, instead of going back to the ready state which creates this issue

Observed Behavior

The site is not removed from the main branch and the branch goes back to the ready state with the new site in it again, which then creates a merge conflict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants