You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Record an interactive run's owner from the request that starts it #2947
Part of: phase 2 (#2545), follow-up to slice 2's #2557 Removes shortcut: the run owner is the session's owner, read at each run entry, not recorded from the request that started the run (#2557)
Problem
run-owner.md says mecak8s records the run owner when a run starts, from the company identity (sub_id) in that request's AS-1 token. mecak8s reads the session's owner at every run entry instead. While a session has one owner the two are the same value, so nothing breaks today. Shared sessions need the request's identity. #2569 covers scheduled runs only.
Stored sessions: the run owner is persisted with the run ID; a session saved before this change restores its run with no owner.
Done when
An interactive run's owner comes from the verified identity on the request that started it, and is carried on the run, not read again from the session. A resume (an approval, a retry, an authorization continuation) continues under that owner.
A test shows a run keeps the owner it started with.
Activity