ServerContext copies the lobby's entrants once and serves every later accessor from that copy.
src/runtime/server/server_context.cpp:47-50 fill m_cachedEntrants in Initialize; :78 clears it in Terminate; those are the only writers.
- Readers:
:189-193 (by index) and :203 (count) use the cached copy.
Effect: entrants that join or leave after initialization are not reflected. Needs a decision on the refresh point (per session event vs on read).
Source: f94be4168caf22fb79a3fee9e8c668b588618760:docs/audits/2026-09-26-runtime-bug-hunt.md (entrant-snapshot-never-refreshed). Re-verified against main @ 1e23615 on 2026-09-30; read the archived record with git show <sha>:<path>. Audit records are being retired in favour of issues.
ServerContextcopies the lobby's entrants once and serves every later accessor from that copy.src/runtime/server/server_context.cpp:47-50fillm_cachedEntrantsinInitialize;:78clears it inTerminate; those are the only writers.:189-193(by index) and:203(count) use the cached copy.Effect: entrants that join or leave after initialization are not reflected. Needs a decision on the refresh point (per session event vs on read).
Source:
f94be4168caf22fb79a3fee9e8c668b588618760:docs/audits/2026-09-26-runtime-bug-hunt.md(entrant-snapshot-never-refreshed). Re-verified againstmain@1e23615on 2026-09-30; read the archived record withgit show <sha>:<path>. Audit records are being retired in favour of issues.