LNK-4703: Medication resource skipped for Mega Patient - #1370
Conversation
If a reference query is initiated before all non-reference queries have completed, put the corresponding log back into pending status *without incrementing its retry attempts*.
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 📝 WalkthroughWalkthroughThis PR simplifies the incomplete non-reference log handling in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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
The primary change here is a correction to the ordering of arguments passed to
DataAcquisitionLogQueries.GetCountOfNonRefLogsIncompleteAsync.🧪 Testing Performed
Ran a report locally to confirm deferral of a reference query initiated before all non-reference queries were completed.
🧑🔬 Unit Testing
GetCountOfNonRefLogsIncompleteAsyncis already tested (with the correct argument ordering).📓 Documentation Updated
N/A
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.