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

Fixes #22371: missing report in change only #4675

Conversation

fanf
Copy link
Member

@fanf fanf commented Mar 1, 2023

@fanf fanf requested a review from ncharles March 1, 2023 06:41
@fanf
Copy link
Member Author

fanf commented Mar 1, 2023

PR updated with a new commit

@@ -1718,7 +1719,15 @@ object ExecutionBatch extends Loggable {
case x if (x <= cardinality) =>
filteredReports.map(_.toMessageStatusReport(policyMode)).toList ++
/* We need to complete the list of correct with missing, if some are missing */
(x until cardinality).map(i => MessageStatusReport(ReportType.Missing, s"[Missing report #${i}]")).toList
Copy link
Member Author

@fanf fanf Mar 1, 2023

Choose a reason for hiding this comment

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

ReportType.Missing in place of noAnswerType is the culprit here

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder/pull/4675
-- Your faithful QA
Kant merge: "Science is organized knowledge. Wisdom is organized life."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/65511/console)

@fanf
Copy link
Member Author

fanf commented Mar 1, 2023

PR rebased

@fanf fanf force-pushed the bug_22371/missing_report_in_change_only branch from 4ddb8ab to 490f06b Compare March 1, 2023 09:58
@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 490f06b into Normation:branches/rudder/7.2 Mar 1, 2023
@fanf fanf deleted the bug_22371/missing_report_in_change_only branch March 15, 2024 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants