-
Notifications
You must be signed in to change notification settings - Fork 2
Cherry-pick 2025.4.0 fixes onto main main #1545
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
Conversation
There was a problem hiding this 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 cherry-picks bug fixes from the 2025.4.0 release branch onto the main branch, resolving conflicts from the modality refactoring. The changes primarily address MDIF (Multi-Factor ID) related issues, including credential match prioritization, event tracking for external credential matches, and navigation flow improvements.
Changes:
- Fixed credential match result prioritization to ensure external credential matches take precedence over direct biometric matches
- Added event tracking for one-to-one match events during external credential verification
- Improved back button handling in external credential flows
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| feature/orchestrator/src/main/java/com/simprints/feature/orchestrator/usecases/response/CreateIdentifyResponseUseCase.kt | Refactored logic to prioritize credential matches over direct matches when returning identification results |
| feature/orchestrator/src/test/java/com/simprints/feature/orchestrator/usecases/response/CreateIdentifyResponseUseCaseTest.kt | Added test for credential prioritization and updated existing test setup |
| feature/orchestrator/src/test/java/com/simprints/feature/orchestrator/cache/OrchestratorCacheIntegrationTest.kt | Updated mock object to include new CredentialMatch fields |
| feature/external-credential/src/main/java/com/simprints/feature/externalcredential/usecase/ExternalCredentialEventTrackerUseCase.kt | Added saveMatchEvent method to track one-to-one match events with fingerprint comparison strategy |
| feature/external-credential/src/main/java/com/simprints/feature/externalcredential/screens/search/usecase/MatchCandidatesUseCase.kt | Integrated match event tracking into candidate matching flow |
| feature/external-credential/src/main/java/com/simprints/feature/externalcredential/screens/search/ExternalCredentialSearchViewModel.kt | Fixed timing of search event tracking and cleaned up code formatting |
| feature/external-credential/src/main/java/com/simprints/feature/externalcredential/screens/select/ExternalCredentialSelectFragment.kt | Added back button handler to trigger skip scanning action |
| feature/external-credential/src/main/java/com/simprints/feature/externalcredential/screens/controller/ExternalCredentialControllerFragment.kt | Updated back button navigation logic for different credential screens |
| feature/external-credential/src/main/java/com/simprints/feature/externalcredential/model/CredentialMatch.kt | Added probeReferenceId and matcherName fields to support event tracking |
| feature/external-credential/src/test/java/com/simprints/feature/externalcredential/usecase/ExternalCredentialEventTrackerUseCaseTest.kt | Added tests for match event saving with face and fingerprint SDKs |
| feature/external-credential/src/test/java/com/simprints/feature/externalcredential/screens/search/usecase/MatchCandidatesUseCaseTest.kt | Updated test setup and assertions to verify event tracking integration |
| feature/external-credential/src/main/java/com/simprints/feature/externalcredential/model/ExternalCredentialParams.kt | Reordered imports (alphabetical) |
| feature/external-credential/src/main/java/com/simprints/feature/externalcredential/ExternalCredentialContract.kt | Reordered imports (alphabetical) |
...om/simprints/feature/externalcredential/usecase/ExternalCredentialEventTrackerUseCaseTest.kt
Show resolved
Hide resolved
f10d2a0 to
1db2a50
Compare
1db2a50 to
16838a3
Compare
…he 'skip credential scan' screen. Except for any credential scan screen (#1497)
16838a3 to
01396b7
Compare
…al matches first, ignoring the confidence threshold (#1496) * [MS-1271] Identification results now always return the MF-ID credential matches first, ignoring the confidence threshold. This way the callout app ˆcan display the credential holder GUIDs alongside their match score * [MS-1271] Adding a test case covering scenario where both credential matches and 1:N matches are returned in the identification response. All credentials are also now properly sorted by confidence score DESC * [MS-1271] Fixing tests # Conflicts: # feature/orchestrator/src/main/java/com/simprints/feature/orchestrator/usecases/response/CreateIdentifyResponseUseCase.kt # feature/orchestrator/src/test/java/com/simprints/feature/orchestrator/usecases/response/CreateIdentifyResponseUseCaseTest.kt
* [MS-1290] Each credential match now produces a OneToOne event * [MS-1290] Moving the OneToOne match events from ViewModel to the MatchCandidatesUseCase to properly reflect the start and end time # Conflicts: # feature/external-credential/src/main/java/com/simprints/feature/externalcredential/model/CredentialMatch.kt # feature/external-credential/src/main/java/com/simprints/feature/externalcredential/screens/search/ExternalCredentialSearchViewModel.kt # feature/external-credential/src/main/java/com/simprints/feature/externalcredential/screens/search/usecase/MatchCandidatesUseCase.kt # feature/external-credential/src/main/java/com/simprints/feature/externalcredential/usecase/ExternalCredentialEventTrackerUseCase.kt # feature/external-credential/src/test/java/com/simprints/feature/externalcredential/screens/search/usecase/MatchCandidatesUseCaseTest.kt # feature/external-credential/src/test/java/com/simprints/feature/externalcredential/usecase/ExternalCredentialEventTrackerUseCaseTest.kt # feature/orchestrator/src/test/java/com/simprints/feature/orchestrator/cache/OrchestratorCacheIntegrationTest.kt
01396b7 to
2cb5b49
Compare
|



Will be released in: 2026.1.0
Notable changes
Testing guidance
Additional work checklist