Skip to content

Extract request-actor context from browser sessions#50

Open
czpython wants to merge 1 commit into
mainfrom
commonzenpython/eng-729-edge-identity-extract-request-actor-context-pr-1
Open

Extract request-actor context from browser sessions#50
czpython wants to merge 1 commit into
mainfrom
commonzenpython/eng-729-edge-identity-extract-request-actor-context-pr-1

Conversation

@czpython

Copy link
Copy Markdown
Owner

Moves the request-actor ContextVar out of accounts/sessions.py into its own accounts/context.py: the auth dependencies stamp it, Workflow.start() reads it when no explicit account_id is passed. Behavior-preserving — workflow attribution is independent of cookie storage, and this makes it survive the upcoming deletion of accounts/sessions.py when the edge starts asserting identity.

Part of ENG-729 (edge-identity arc, PR 1 of 3)

🤖 Generated with Claude Code

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