CCV auto-publish on child CV minor version publish - #20814
Conversation
Reviewer's GuideAdds a new API test that verifies composite content views with auto-publish and 'Always update to latest' components do not create an extra major version when a child content view undergoes an incremental minor version update with --propagate-all-composites, while still auto-publishing on a later major version publish. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
2732788 to
6c555a2
Compare
|
|
PRT Result |
qcjames53
left a comment
There was a problem hiding this comment.
Thanks for the Robottelo PR, Vijay! This is looking pretty good to me. I just had a few tweaks.
vsedmik
left a comment
There was a problem hiding this comment.
Overall looks good to me, added a few comments to address.
6c555a2 to
cafd312
Compare
vsedmik
left a comment
There was a problem hiding this comment.
I believe we really should add wait_for_tasks before L2156 (cvv = cvv.read()).
Without that we are expecting that the code execution between L2150 and 2156 (cv.publish() to ccv.read()) will be slower than the asynchronous auto-publish task, which may not happen when the instance is busy or the repo size increases and may cause flakiness.
cafd312 to
f69d10b
Compare
|
|
PRT Result |
qcjames53
left a comment
There was a problem hiding this comment.
This looks really good. I have to suggest one tweak to the comments. Sorry 😬
rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
f69d10b to
633367d
Compare
vijaysawant
left a comment
There was a problem hiding this comment.
Just updated the step section with suggested changes.
qcjames53
left a comment
There was a problem hiding this comment.
This looks great, thank you :)
rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED (cherry picked from commit 5ca9326)
rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
Problem Statement
When publishing a minor version of a content view, parent composite content views no longer respect the
--propagate-all-compositesflag.https://issues.redhat.com/browse/SAT-34620
Solution
Newly added test case will verify the incremental update on the CV with the
--propagate-all-compositesflagRelated Issues
N/A
PRT test Cases example
Summary by Sourcery
Tests: