Skip to content

Commit ae5d445

Browse files
committed
chore(gates): declare lastActivityAtMs as a store-owned SessionState field
R7 holds every SessionState field to one declared writer. The #2833 request path reports activity through `SessionStore.noteSessionActivity` rather than mutating the record itself, so the store that owns the record is the only writer here and the field now says so.
1 parent 741b207 commit ae5d445

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎scripts/layering/session-state.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ export const STORE_OWNED_SESSION_STATE_FIELDS: ReadonlySet<string> = new Set([
125125
'audioProbe',
126126
'createdAt',
127127
'device',
128+
// #2833: the request path reports session activity through `SessionStore.noteSessionActivity`, so
129+
// the only writer of this field is the store that owns the record.
130+
'lastActivityAtMs',
128131
'lastPerfProfile',
129132
'name',
130133
'recordOnlySession',

0 commit comments

Comments
 (0)