Windows Dots connected but commands stall; repeated missing thread placement readiness errors survive executor restart
Environment
Windows Desktop Store package 26.1111.2228.0; client logs 26.1111.21308. Observed 2026-11-16.
Symptom
Dots reports the computer connected, but user attempts to list browser capabilities/tabs or run a trivial PowerShell output command stall. Previous app/browser restarts and reconnect did not resolve the user-observed symptom.
The desktop log has 408 Failed to report desktop readiness to thread warnings in a 12-minute window, with this redacted error:
Some requested entity was not found: thread placement <redacted> not found
Meanwhile tpp-local-executor reports connected/eligible intervals of approximately 60 seconds. This establishes transport connectivity, not successful task execution.
Recovery attempt
Terminated only the verified remote codex.exe exec-server --concurrent-requests 32 --remote ... child. Desktop automatically created a replacement. The same placement errors continued after restart. No account reset, re-pair, security change, permission reset, or local state/database edit was performed. End-to-end command recovery has not been confirmed.
Concurrent stuck sandbox helpers and expensive automatic Git snapshot activity were mitigated separately (#32194 and #30820), with CPU settling to 10-18% in three final samples and zero Git/setup processes, but the placement error persisted. Do not assume a common cause.
Expected / request
An authorized connected desktop should execute the task or surface an actionable error. Please investigate stale readiness registrations / placement lookup and provide a supported repair route that preserves local chats, authorization and security. Related lookup reports #53124 and #52247 have different placement errors; this report does not assert they are identical.
Sanitized report only: no thread/environment IDs, account data, host names, project paths, raw logs, command payloads, or credentials attached.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #60577
- #61176
Powered by Codex Action
Follow-up: the single post-restart test FAILED. User sent Write-Output 'Dots recovery test' once; after >40 seconds the command tool returned neither output nor exit status. No retry.
Crucial new local evidence narrows the diagnosis: sandbox log recorded this exact command at 16:22:16 UTC, then spawned a setup refresh at 16:22:17. Thus this request DID reach the local executor despite the placement/readiness warnings; those warnings are not proven to be the cause of this command stall.
Sanitized log sequence:
- root-only user-profile read-attributes ACL update: MAXIMUM_ALLOWED sharing violation (os error 32), continuing setup
- read-acl-only applying/completed within ~1.4 ms
- subsequent write-ACE operation
- protective deny-ACE messages at 16:23:04 and 16:23:46
A setup worker remained alive under the replacement remote executor. A 3-second CPU delta measured ~6.4% of total 16-logical-CPU capacity. Terminated only that verified worker to contain recurrence. No ACL/security reset. Full-refresh/write-ACL work is implicated; it would be inaccurate to classify this specific worker as solely a completed ReadAclsOnly helper. Please investigate sandbox refresh scope/lifetime alongside the separate readiness warnings. End-to-end execution remains failed, not recovered.
Follow-up with root cause (Windows, elevated sandbox, 0.169.0-alpha.11.1; same code on main as of 2026-11-16):
When the command cwd is the user profile, the profile root is expanded into one write root per child (about 200 here), each with its own capability SID. CODEX_HOME is filtered out of the write roots but stays in deny_write_paths. No root overlaps it, so workspace_write_cap_sids_for_path returns every root's SID, and run_setup_full calls add_deny_write_ace once per SID. Each call is a SetSecurityInfo with a CI|OI ACE, so Windows re-propagates through the whole CODEX_HOME tree every time. With about 200k entries (worktrees, plugins, .tmp) that is about 40-70 s per SID, or roughly 2 hours for a full refresh. Concurrent refresh helpers also overwrite each other's DACL updates, because there is no lock and each does a read-modify-write: about half of the applied ACEs were lost.
Local confirmation: adding the missing SIDs in a single SetEntriesInAclW/SetSecurityInfo took 67 s for 143 SIDs. Afterwards a refresh completed in 0.6 s and commands ran normally.
Suggested fix: batch all missing deny SIDs per path into one DACL write, and serialize the write-ACL phase of concurrent refreshes. A patch against rust-v0.169.0-alpha.11.1 is available.
Same missing-placement retry signature on macOS, Nov 18–20 UTC
In a 48-hour desktop log review (Nov 18 00:40:52 to Nov 20 00:40:52 UTC), the local executor logged 97,435 readiness-report failures. 97,422 were Some requested entity was not found: thread placement <redacted> not found, across 163 distinct placement identifiers. Peak: 489 lines in one minute; at least ten identifiers generated 601 lines each. This is a count of log records, not failed user commands. It was still logged near the end of the window after a desktop update; the installed app at review was build 29030, macOS 27.2.1 arm64. Not all records are attributed to that build.
I experienced severe desktop lag during the window. These logs do not prove that this loop causes the lag or that my tasks stall for the same reason as the Windows report. They do show the exact retry signature on macOS, at sustained volume. Please consider recognizing a missing placement as terminal, throttling/deduplicating retries, and exposing scoped recovery if a live task is affected. No raw log or placement identifiers attached.