Skip to content

Conversation

@davidhayes03
Copy link
Contributor

@davidhayes03 davidhayes03 commented Nov 25, 2025

Closes AB#25839

Copilot AI review requested due to automatic review settings November 25, 2025 11:11
@github-actions github-actions bot added the CODE RUB The code rub category is for small changes (not for bug fixes) label Nov 25, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the codebase to incorporate DecisionType retrieval in the consumer adoption workflow and optimizes batch processing queries for better performance.

  • Adds DecisionType service dependency to ConsumerOrchestrationService to fetch and populate DecisionType data
  • Refactors batch query logic in ConsumerAdoptionService to use separate ID lists with Contains instead of composite key matching with Any
  • Removes unused test constant

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
ConsumerOrchestrationService.cs Added DecisionTypeService dependency and logic to retrieve and assign DecisionType to decisions
ConsumerAdoptionService.cs Refactored batch filtering to use separate ID lists with Contains for improved query performance
PatientOrchestrationServiceTests.cs Removed unused notificationRequestCountdownSeconds constant
ConsumerOrchestrationServiceTests.cs Added DecisionTypeService mock to support new dependency
ConsumerAdoptionServiceTests.BulkAddOrModifyBatch.Logic.cs Updated test logic to match refactored batch filtering approach

Copilot AI review requested due to automatic review settings November 26, 2025 15:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

@davidhayes03 davidhayes03 merged commit 8f4c2d0 into main Nov 27, 2025
5 checks passed
@davidhayes03 davidhayes03 deleted the users/davidhayes03/code-rub-product3Testing branch November 27, 2025 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CODE RUB The code rub category is for small changes (not for bug fixes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants