Repository navigation
feat(stream-service-core): log lines for a technician's decisions on profiles CU-17tkuw64b0y - #3356
Conversation
🦩 flamingo Code Review✅ Tests and checks passed on this commit (3 lanes). ✅ No findings on the current head. Advisory: findings do not block the merge.
✅ What this change does well
1 possible problem checked and ruled out
🧪 Tests and mutationTests per lane
Checks
Both changed modules pass their tests; the deserializer has no surviving mutant on a line this change added. UnifiedEventType is an enum of constants and is outside the module's mutation targets. Mutation testingThis build has no PIT plugin, so each module is mutated from the command line with pit-adhoc.sh, changing nothing in the repository.
New code, its covering tests and the result
The covering tests by name (3 methods)
1 gap (not tested here):
Review again. New commits are not reviewed until you ask:
Or comment Updated 2026-12-04 22:30 UTC · reviewed from Oleksandr Didukh's machine |
🦩 flamingo Code Review / security✅ No findings on the current head. Advisory: findings do not block the merge.
Review again. New commits are not reviewed until you ask:
Or comment Updated 2026-12-05 11:58 UTC · reviewed from Oleksandr Didukh's machine |
3000885 to
eee75fc
Compare
Stream side of "Possible duplicates and left-out accounts are decided by a technician" (ticket 3 of Phase 1, Client identity gateway). Follows #3325.
Change-Set: feature-cu-17tkuw64b0y
ClickUp task: CU-17tkuw64b0y Possible duplicates and left-out accounts are decided by a technician
Design-Doc: https://product-hub.flamingo.so/admin/design-docs/client-identity-gateway-iam-sso
Contract:
docs/build/client-identity-gateway-iam-sso/CONTRACT.md, the rows of ticket 3 (agreed in 0.8).Why
A technician's decisions on profiles are written as access changes and reach the unified log through the stream. The stream skips an access change whose action it does not know, so the three new actions have to be known here before a tenant sends them. This is released first; the library and tenant pull requests of the change set follow.
What changes
UnifiedEventType:IDENTITY_ACCOUNT_MARKED_AS_PERSON,IDENTITY_PROFILE_MARKED_NOT_A_PERSON,IDENTITY_POSSIBLE_DUPLICATE_DISMISSED, allINFO.AccessChangeEventDeserializer:reasonHANDreads "(by a technician)"; any other unlink still reads "(account gone)";evidenceTECHNICIAN_DECISIONreads "(by a technician)" instead of "(created by the sync)";otherProfileId,otherProfileName,reasons) are carried into the event.Nothing changes for the six existing actions.
Tests
AccessChangeEventDeserializerTest(+6),UnifiedEventTypeTest(+3 rows). The two modules: 58 and 470 tests, 0 failed. Full repository suite: 14,031 run, 0 failed, 751 skipped (the flag-gated integration tests).Change set
flamingo-stack/openframe-oss-lib#3356: these pull requests are one change, reviewed together.Linked work
Linked by the
Depends-On/Change-Setlines in these descriptions; this block is maintained by the hub.