Add anonymous profile tracker to identity context#8190
Conversation
|
📝 WalkthroughWalkthroughThis change adds an Sequence Diagram(s)sequenceDiagram
participant Caller
participant FlowExecutionService
participant FlowExecutionContext
participant Flow
Caller->>FlowExecutionService: executeFlow(context)
FlowExecutionService->>FlowExecutionService: enterFlowInIdentityContext(context)
FlowExecutionService->>FlowExecutionContext: getFlowType()
FlowExecutionService->>FlowExecutionContext: getProperty(ANONYMOUS_PROFILE_TRACKER)
FlowExecutionService->>Flow: build with anonymousProfileTracker
FlowExecutionService-->>Caller: isFlowEnteredInIdentityContext
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (37.50%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #8190 +/- ##
============================================
- Coverage 52.65% 52.29% -0.36%
- Complexity 21125 21316 +191
============================================
Files 2197 2197
Lines 130620 132905 +2285
Branches 19564 20367 +803
============================================
+ Hits 68775 69501 +726
- Misses 53449 54830 +1381
- Partials 8396 8574 +178
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|



Purpose
Make the anonymous profile tracker available through the identity context during registration flows, so that downstream user operation listeners can consume it without relying on a user claim.
Changes
anonymousProfileTrackerfield, builder method, and getter to theFlowmodel.FlowExecutionService, so the value carried across the flow steps is surfaced on the identity context flow.