Skip to content

Request-scoped lifecycle and context propagation - #110

Merged
techmahedy merged 1 commit into
4.xfrom
techmahedy-4.x
Oct 16, 2026
Merged

techmahedy merged 1 commit into
4.xfrom
techmahedy-4.x

Conversation

@techmahedy

@techmahedy techmahedy commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Problem - Request-scoped lifecycle and context propagation

Doppar already drops resolved request-scoped services when a request terminates, but that cleanup is implicit and HTTP-only. It sweeps every service bound after boot, so the lifetime of a service depends on when it was registered, and console commands and workers get no equivalent. There was also no object that described the running request, command or job, so logs from one execution could not be tied together and metadata such as a tenant had nowhere to live.

PR for these docs

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.

1 participant