hub: one actor builder for an owner without a membership (four builders; two leave the session and credential out of the event)
tsk-jc3f15y1j8gy Done Maity Coder Claude 003
Audit round 6 (tsk-hgnbapyw7hnh), read at 046a4d3b. Kind: duplication with a behaviour difference.
What is wrong
- The actor for an owner who holds no membership in the project is built four times:
line.owner_actor(line.py:410-414) androutes/runners.detach_runner(routes/runners.py:941-945) leave outsession_idandcredential_id.routes/placements._outside_actor(routes/placements.py:907-914) andevents.chat_actor(events.py:680-692) include them.- The event audit columns for the same outside owner therefore depend on which route they called.
Proposal
- One builder (
line.owner_actor) that carries the session and credential; the other three call it.
Effort / risk: S. Low; adds two audit columns where they were missing.