Skip to content

Conversation

lforst
Copy link
Contributor

@lforst lforst commented Dec 4, 2024

Ref: #14550

As part of improving and simplifying the Sessions API we want to move all functionality related to sessions into integrations which includes hiding the implementation details of SessionAggregates behind the httpIntegration.

This PR deprecates all APIs that are necessary to make that move.

@lforst lforst requested a review from AbhiPrasad December 4, 2024 12:46
@lforst lforst force-pushed the lforst-request-session-deprecations branch from a7098d5 to 3442ff7 Compare December 4, 2024 15:12
@lforst lforst requested review from chargome and mydea December 5, 2024 09:11
@lforst
Copy link
Contributor Author

lforst commented Dec 5, 2024

To elaborate, the plan is for the httpIntegration to create it's own sessions for each incoming request, and also mark sessions within the request context as faulty when an error is captured. This can be done with the session being kept in some AsyncLocalStorage or similar. Request Sessions are completely owned by the http integration and should not be interfaced with by the user.

@lforst lforst merged commit 045d8b4 into develop Dec 5, 2024
153 checks passed
@lforst lforst deleted the lforst-request-session-deprecations branch December 5, 2024 13:44
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