aws / aws/aws-durable-execution-sdk-python

[Feature][OTel]: Move on invocation start and end to worker thread

Open
#428 1 comment 0 reactions 0 assignees View on GitHub
enhancement project
Dominant language
Python
Stars
53
Forks
25
Avg merge
1d 19h
Merged PRs (30d)
40

Description

### What would you like?

- Move on invocation start and end to worker thread, instead of main thread.
- Attach and de-attach to otel context

### Possible Implementation

_No response_

### Is this a breaking change?

No

### Does this require an RFC?

No

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Locate the worker-thread invocation entry point and the existing OpenTelemetry start/end handling, then trace how context is currently attached and detached on the main thread. Done means invocation start and end run on the worker thread with the OpenTelemetry context correctly attached and detached.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability-sre
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.