File tree Expand file tree Collapse file tree
apps/webapp/app/presenters/v3 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -303,11 +303,17 @@ export class SpanPresenter extends BasePresenter {
303303 location : true ,
304304 } ,
305305 where : {
306- masterQueue : run . region || baseWorkerQueue ( run . workerQueue ) ,
306+ // masterQueue is unique and IS the run's backing queue, so this finds
307+ // the group the run actually ran on.
308+ masterQueue : baseWorkerQueue ( run . workerQueue ) ,
307309 } ,
308310 } ) ;
309311
310- region = workerGroup ?? null ;
312+ // Show the stamped geo region as the name so a migrated run never reveals
313+ // its compute backing; fall back to the group name for unstamped runs.
314+ region = workerGroup
315+ ? { name : run . region ?? workerGroup . name , location : workerGroup . location }
316+ : null ;
311317 }
312318
313319 // Only AGENT-tagged runs (chat.agent and friends) can be session-bound,
You can’t perform that action at this time.
0 commit comments