Skip to content

fix(tickets): search works together with the activity filter CU-17tkuw6c8t6 - #3344

Merged
hryhorii-chuhuievets merged 5 commits into
mainfrom
fix/ticket-search-with-activity-filter
Dec 4, 2026
Merged

hryhorii-chuhuievets merged 5 commits into
mainfrom
fix/ticket-search-with-activity-filter

refactor(tickets): named locals and stricter assertions for search wi…

ed20f2e
Select commit
Loading
Failed to load commit list.
Flamingo / flamingo Code Review / tests and mutation succeeded Dec 4, 2026 in 0s

Tests and mutation: every lane passed

🧪 Tests and mutation

Tests per lane

Language Project Command Status Counts Time
Java (Maven) . mvn -B test -pl openframe-data-mongo-sync -am ✅ passed core 271 · data-mongo-common 115 · data-mongo-sync 3376 (405 skipped) · event-publishing 103 (32 skipped) · exception 9 · 0 failures 14.2 s

Checks

Check Kind Language Project Status Time
OpenGrep security Java (OpenGrep) . ✅ passed 15.2 s

All 6 mutants on the added lines of CustomTicketRepositoryImpl were killed; the 14 surviving and 22 uncovered mutants of the class are on lines this change did not touch.

405 skipped tests in openframe-data-mongo-sync are the gated integration tests, which do not run in a plain mvn test.

Mutation testing

This build has no PIT plugin, so each module is mutated from the command line with pit-adhoc.sh, changing nothing in the repository.

Module Classes Whole classes New lines only Time
openframe-data-mongo-sync CustomTicketRepositoryImpl 142 mutants, 106 killed (75%), 14 survived, 22 no coverage, test strength 88%, line coverage 79% 6 mutants: 6 killed 31 s

New code, its covering tests and the result

New code Covering tests Result
buildTicketQuery in CustomTicketRepositoryImpl, line 140 CustomTicketRepositoryActivitySearchTest (2), CustomTicketRepositoryFilterTest (1), 29 more killed
applyKeylessCriteria in CustomTicketRepositoryImpl, lines 145-148 CustomTicketRepositoryActivitySearchTest (1), CustomTicketRepositoryCursorTest (1), CustomTicketRepositoryFilterTest (1), 29 more killed
searchCriteria in CustomTicketRepositoryImpl, line 200 CustomTicketRepositoryActivitySearchTest (2), CustomTicketRepositoryFilterTest (1), 9 more killed
activityCriteria in CustomTicketRepositoryImpl, lines 253-270 CustomTicketRepositoryFilterTest (3), 29 more killed
The covering tests by name (4 methods)
  • CustomTicketRepositoryImpl.buildTicketQuery: CustomTicketRepositoryActivitySearchTest.buildTicketQuery_searchWithoutFilter_searchAloneOwnsTheTopLevelOr, CustomTicketRepositoryFilterTest.buildTicketQuery_ownerScopeAndSearch_bothClausesKept, CustomTicketRepositoryActivitySearchTest.buildTicketQuery_searchWithEmptyActivity_searchAloneOwnsTheTopLevelOr, and 29 more
  • CustomTicketRepositoryImpl.applyKeylessCriteria: CustomTicketRepositoryActivitySearchTest.buildTicketQuery_searchWithoutFilter_searchAloneOwnsTheTopLevelOr, CustomTicketRepositoryCursorTest.leavesFirstPageQueryUntouched, CustomTicketRepositoryFilterTest.buildTicketQuery_ownerScopeAndSearch_bothClausesKept, and 29 more
  • CustomTicketRepositoryImpl.searchCriteria: CustomTicketRepositoryActivitySearchTest.buildTicketQuery_searchWithoutFilter_searchAloneOwnsTheTopLevelOr, CustomTicketRepositoryFilterTest.buildTicketQuery_ownerScopeAndSearch_bothClausesKept, CustomTicketRepositoryActivitySearchTest.buildTicketQuery_searchWithEmptyActivity_searchAloneOwnsTheTopLevelOr, and 9 more
  • CustomTicketRepositoryImpl.activityCriteria: CustomTicketRepositoryFilterTest.buildTicketQuery_noOwnerScope_noOwnerClauses, CustomTicketRepositoryFilterTest.buildTicketQuery_ownerScopeWithoutOrganization_machineOnly, CustomTicketRepositoryFilterTest.buildTicketQuery_ownerScopeWithCutOffAndNoFilter_createdAtStartsAtTheCutOff, and 29 more