RC-2
release-tag / release-image (push) Failing after 1m14s

This commit is contained in:
2026-08-10 06:30:40 +02:00
parent bab68df514
commit 7fb7960608
9 changed files with 265 additions and 55 deletions
+15
View File
@@ -100,6 +100,21 @@ func (s *State) ConnectedCount() int64 {
return int64(len(s.presence))
}
// ForgetClient removes non-durable runtime state for an identity that was
// deleted by the admin profile cleanup tool. The caller must only pass clients
// that are currently disconnected.
func (s *State) ForgetClient(clientID string) {
s.mu.Lock()
delete(s.presence, clientID)
delete(s.selected, clientID)
for k := range s.guesses {
if k.ClientID == clientID {
delete(s.guesses, k)
}
}
s.mu.Unlock()
}
func (s *State) SetTaskSelection(clientID, taskID string) {
s.mu.Lock()
if taskID == "" {