LEGLINK-654: Update downstream submission logic to use submittable validation categories - #1827
Conversation
Change pre-qualification OperationOutcome to be built from categories with submit==true instead of unacceptable (acceptable==false). Updated PreQualOperationOutcomeBuilder logic and javadoc, adjusted ReadyForValidationConsumer javadoc, and revised tests to use Category.submit (added helper overloads and updated expectations). This aligns pre-qual behavior with the requirement to include only submitted categories (LEGLINK-425) and updates unit tests accordingly.
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe validation flow now creates and appends pre-qualification findings for categories with ChangesSubmitted category findings
Estimated code review effort: 2 (Simple) | ~10 minutes Mergeability Score: ⚪ Minimal · up to The PR updates pre-qualification outcomes to include only submitted categories and adjusts the related tests and documentation; no actionable merge-blocking risk remains beyond normal checks and review. Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🛠️ Description of Changes
Change pre-qualification OperationOutcome to be built from categories with submit==true instead of unacceptable (acceptable==false). Updated PreQualOperationOutcomeBuilder logic and javadoc, adjusted ReadyForValidationConsumer javadoc, and revised tests to use Category.submit (added helper overloads and updated expectations). This aligns pre-qual behavior with the requirement to include only submitted categories (LEGLINK-425) and updates unit tests accordingly.
🧪 Testing Performed
Turned on OperationOutcome export and observed it included only issues where submit==true.
🧑🔬 Unit Testing
📓 Documentation Updated
Please update any relevant sections in the project documentation that were impacted by the changes in the PR.
Summary by CodeRabbit