Skip to content

Conversation

@hongwei1
Copy link
Contributor

…ore async operations

  • Extract correlationId from CallContext arguments before entering Future callbacks to ensure availability in async contexts
  • Move correlationId extraction to the beginning of invokeMethod, outside of Future scopes where Lift's S.containerSession is unavailable
  • Remove duplicate TODO comments about correlation_id handling in connector metrics
  • Implement fallback to getCorrelationId() when no CallContext is present in arguments
  • Consolidate correlationId retrieval logic to a single location for better maintainability
  • Fixes issue where correlation_id was unreliable in async metric recording due to Lift session unavailability

…ore async operations

- Extract correlationId from CallContext arguments before entering Future callbacks to ensure availability in async contexts
- Move correlationId extraction to the beginning of invokeMethod, outside of Future scopes where Lift's S.containerSession is unavailable
- Remove duplicate TODO comments about correlation_id handling in connector metrics
- Implement fallback to getCorrelationId() when no CallContext is present in arguments
- Consolidate correlationId retrieval logic to a single location for better maintainability
- Fixes issue where correlation_id was unreliable in async metric recording due to Lift session unavailability
@sonarqubecloud
Copy link

@simonredfern simonredfern merged commit 1f553a9 into OpenBankProject:develop Feb 10, 2026
2 checks passed
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