Skip to content

Conversation

mxgrey
Copy link
Contributor

@mxgrey mxgrey commented Aug 17, 2025

This PR makes it possible to attribute trace events to the specific request that triggered the activity.

The key changes here are:

  • Impulse now has a .session_id() method that allows you to check the session identifier of any entry in a chain of impulses
  • Recipient provides session information which provides a root session for the entire impulse chain. Every service and workflow session produced as part of the requested impulse chain will be a descendant of this session.
  • The OperationStarted event now shows the whole stack of sessions that led to the operation.
  • The tracing test now validates the the root session reported by OperationStarted is equal to the recipient session of the impulse chain.

@mxgrey mxgrey requested a review from koonpeng August 17, 2025 15:45
@mxgrey mxgrey added this to PMC Board Aug 17, 2025
@github-project-automation github-project-automation bot moved this to Inbox in PMC Board Aug 17, 2025
Signed-off-by: Michael X. Grey <[email protected]>
@mxgrey mxgrey merged commit 4c0bb9f into main Aug 18, 2025
5 checks passed
@mxgrey mxgrey deleted the impulse_session branch August 18, 2025 03:34
@github-project-automation github-project-automation bot moved this from Inbox to Done in PMC Board Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants