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

fix: concatenate lists without embedding into an outer layer of list #308

Merged

Conversation

jharmison-redhat
Copy link
Contributor

@jharmison-redhat jharmison-redhat commented Oct 17, 2023

Fixes: #307

Description

Concatenate lists using the + operator without encapsulating with an outer layer of list, since the length of the sum of the lists is the most important characteristic

Type of change

What is it?

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation update
  • Tests update
  • Refactor

Checklist

  • Added changelog fragment
  • Tests exist for affected features covering positive and negative scenarios

@mergify mergify bot added the bug Something isn't working label Oct 17, 2023
@jharmison-redhat
Copy link
Contributor Author

Looks like the test on idempotency here is flaky, will need a bit to dig into the test suite you've built to figure out why

@mergify mergify bot added the test update new tests or updating existing ones label Oct 17, 2023
@jharmison-redhat jharmison-redhat force-pushed the fix/start_compose-idempotency branch 4 times, most recently from 5d172a0 to 8eb2f95 Compare October 17, 2023 23:47
ensure that the mocked up Weldr API will actually return a duplicate blueprint name and version to the one requested to induce failure
@jharmison-redhat jharmison-redhat force-pushed the fix/start_compose-idempotency branch from 8eb2f95 to 4e594f2 Compare October 17, 2023 23:59
@jharmison-redhat
Copy link
Contributor Author

Tests issues appear to be fixed, the test now actually checks whether the flag works or not.

@maxamillion @matoval please review and merge ASAP, this is blocking documented functionality that we could really use right now :)

I'm happy to fix any nits that come up quickly.

Copy link
Collaborator

@matoval matoval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mergify mergify bot merged commit be6ab30 into redhat-cop:main Oct 18, 2023
72 checks passed
@jharmison-redhat
Copy link
Contributor Author

thanks
image

@mergify mergify bot added the waiting for review Pull request is ready for review label Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working test update new tests or updating existing ones waiting for review Pull request is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

start_compose will never run if allow_duplicate is set to false
2 participants