Skip to content

[WIP] Add API operation to activate a dormant TRN request#3200

Closed
Copilot wants to merge 1 commit intodormant-trn-requestfrom
copilot/sub-pr-3199
Closed

[WIP] Add API operation to activate a dormant TRN request#3200
Copilot wants to merge 1 commit intodormant-trn-requestfrom
copilot/sub-pr-3199

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 11, 2026

  • Amend status checks in private ResolveTrnRequestWithMatchedPersonAsync and ResolveTrnRequestWithNewRecordAsync to allow Dormant in addition to Pending
  • Add tests for TrnRequestService.ActivateTrnRequestAsync:
    • Status is not Dormant → throws InvalidOperationException
    • With definite match → sets status to Completed and publishes event
    • With no matches → creates new person, sets status to Completed, publishes event
    • With potential matches → sets status to Pending, creates ApiTrnRequest support task, publishes event

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants