Skip to content

[Windows] Intermittent automatic approval review timeout for require_escalated; default sandbox commands work #55036

Open

Description

@wuyaofeng512-coder

What version of the Codex App are you using (From “About Codex” dialog)?

26.1013.4894.0

What subscription do you have?

ChatGPT Promax

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

On Windows, exec_command requests with sandbox_permissions: "require_escalated" intermittently fail before a process is created.

Exact error:
"The automatic permission approval review did not finish before its deadline."

Default sandbox execution works: whoami and node --version succeeded. The default sandbox account is CodexSandboxOffline. The session reports workspace-write and auto_review.

The reviewed timeout calls all explicitly requested require_escalated. They included version queries, application-log reads, test-input preparation, CheckOnly preflight, and test-environment startup.

Some requests using the same require_escalated mode succeeded. After restarting the app, a version-only subprocess check succeeded, but the subsequent preparation request timed out again. Restarting did not reliably resolve the issue.

The failed requests did not create a process and returned no script stdout, stderr, or process exit code. The error did not state that the action was rejected as unsafe.

Some affected operations legitimately require access to private TLS files, the original user's certificate store, or user-owned test resources. We are not requesting that permission controls be bypassed.

Expected: the approval review completes with an approval decision or a clear, actionable error.
Actual: intermittent review timeout prevents execution.

Impact: local ERP validation is blocked; 60 planned database/API/page checks remain unexecuted. Automatic retries have been stopped.

Environment:

  • Desktop app package version: 26.1013.4894.0
  • OS: Microsoft Windows NT 10.0.26200.0 x64
  • PowerShell: 7.6.6
  • Observed October 17–18, 2026, UTC+8

In-app feedback ID:
01a07953-f18f-7d91-994e-4ba47cdbbcce

Please investigate the approval-review timeout and advise whether this is a known issue and whether a supported recovery procedure is available. A deterministic minimal reproduction has not yet been established.

r21-platform-feedback-20261018.txt

r21-platform-feedback-evidence-20261018.json

What steps can reproduce the bug?

The issue is intermittent; a deterministic minimal reproduction has not been established.

Observed sequence:

  1. Use the Windows desktop app with workspace-write sandboxing and auto_review.
  2. Execute a basic command through the default sandbox. Commands such as whoami and node --version succeed.
  3. Submit an exec_command request with sandbox_permissions: "require_escalated".
  4. Some requests fail before process creation with:
    "The automatic permission approval review did not finish before its deadline."
  5. Restart the app. In our observed case, a require_escalated version-only subprocess check then succeeded, but the subsequent test-input preparation request timed out again.

Affected requests included version-only subprocess checks, log-directory reads, input preparation, CheckOnly preflight, and environment startup. Exact invocation parameters and timestamps are included in the attached evidence.

Session / in-app feedback ID:
01a07953-f18f-7d91-994e-4ba47cdbbcce

Token-limit usage and context-window usage at the time of failure: unknown.

What is the expected behavior?

Automatic approval review should complete with an approval decision. Approved commands should execute normally, while denied requests should provide a clear reason.

If the review service cannot complete, the app should provide an actionable error and a supported recovery procedure.

We are not requesting that sandbox restrictions or approval controls be bypassed.

Additional information

Default sandbox execution works in both the original conversation and a separate diagnostic conversation on the same Windows computer.

Some require_escalated requests also succeed, so the failure is intermittent. Restarting the app did not reliably resolve it.

Failed approval requests produced no business-script stdout, stderr, or process exit code. The displayed error was a review timeout, not an explicit safety denial.

Basic diagnostic commands do not inherently require escalation, but some actual project operations access private TLS material, the original user's certificate store, and user-owned test resources. These permission requirements should remain intact.

Automatic retries and repeated test scheduling have been paused. Existing code and test preparation are preserved.

In-app feedback ID:
01a07953-f18f-7d91-994e-4ba47cdbbcce

Please correlate this report with the in-app diagnostics. Sanitized invocation and timestamp evidence is attached.

Related issue reviewed: #54746.

I am filing separately because #54746 reports "rejected: blocked by policy" with reported Full Access / approval_policy=never. My case reports "The automatic permission approval review did not finish before its deadline" with workspace-write / auto_review and explicit require_escalated requests.

Default sandbox commands work, and some requests through the same require_escalated path also succeed. The underlying causes may be related, but this has not been established.

Activity

  1. added
    app
    on Oct 18, 2026
  2. added
    bug
    windows-os
    sandbox
    on Oct 18, 2026
  3. wuyaofeng512-coder commented on Oct 19, 2026

    @wuyaofeng512-coder
    Author

    I noticed that the bot linked #55186 to this report.

    Both reports involve automatic approval review failing before execution. However, my recorded error is a review deadline timeout, whereas #55186 explicitly reports reviewer model capacity exhaustion. I have not established that they share the same root cause.

    Could a maintainer confirm whether these symptoms are related and advise on a supported recovery procedure? In particular, does changing the main conversation model affect the approval reviewer, and is a policy-permitted manual approval option available?

    Existing diagnostics and my in-app feedback ID are included above. I am preserving the current permission controls and avoiding repeated retries.

  4. s-doti commented on Oct 29, 2026

    @s-doti

    Additional corroborating report from the Windows desktop app on 2026-10-29.

    Environment

    • Session originator: Codex Desktop.
    • Bundled CLI/session version: 0.164.0-alpha.11.1.
    • Main model: gpt-6.1-sol; no third-party model-provider override in the inspected local configuration.
    • Initial mode: workspace-write, approvals_reviewer = "auto_review".
    • Desktop package version was not collected; the CLI version above is not presented as the desktop package version.

    Observed evidence

    A bounded extraction of this one saved parent-session transcript found 11 tool-output review failures: 8 deadline failures and 3 capacity failures, between 2026-10-29 15:33:05Z and 19:18:37Z. These are parent-output counts, not a count of all internal review attempts.

    Exact messages included:

    The automatic permission approval review did not finish before its deadline.
    
    Automatic approval review failed: Selected model is at capacity.
    Please try a different model.
    The action was not executed because automatic approval review could not be completed.
    This is a review failure, not a determination that the action is unsafe.
    

    Affected operations included Git branch/commit/push work and documentation edits. Failed exec requests returned a CreateProcess rejection before the requested Git process started. Some identical retries later succeeded. The user saw the assistant appear stuck, with no manual approval dialog or useful reviewer-service status. Repeated conversational authorization did not repair the service failure.

    Controlled comparison

    After changing the chat permissions:

    1. Ask for approval: an explicitly escalated, read-only gh pr view <number> --json url,state,mergedAt completed successfully; the command's reported execution time was 1.48 seconds (excluding approval wait).
    2. Full access: the same read-only request, without escalation, completed successfully in 1.17 seconds with no approval request or automatic-review wait.

    This isolates the observed delay to the approval path more strongly than Git/GitHub execution, but does not establish whether the internal cause is capacity allocation, scheduling, transport, or another review-service issue. Full access is an operational workaround, not a fix to auto-review.

    Local health check

    codex doctor --json completed with exit code 0: 21 OK checks, 4 warnings, no failed checks. Warnings: non-Dev-Drive worktree, optional MCP configuration issues, unverified endpoint-protection exclusions, and TERM=dumb in a non-interactive shell. The check ran after changing permission mode and therefore does not validate the previously failing reviewer service.

    Requested investigation

    • Correlate reviewer capacity failures with deadline failures; expose the resolved reviewer model/service and request/correlation IDs.
    • Show a distinct, actionable "automatic reviewer unavailable" state while no command is running.
    • Provide a supported manual-approval fallback when automatic review cannot complete, preserving sandbox boundaries and user consent.
    • Avoid instructing users/agents to repeatedly authorize or retry an operation when the review infrastructure itself cannot run.

    No private source code, repository identifiers, local paths, credentials, raw transcripts, or raw doctor output are included in this comment. The sanitized event timestamps are available locally if maintainers need a smaller evidence list.

  5. kongsingroup-commits commented on Nov 7, 2026

    @kongsingroup-commits

    Additional observed case from standalone Codex CLI 0.167.0 on Windows x64, using ChatGPT sign-in and --approve-for-me.

    The retained failing session records approval_policy: on-request, a workspace-write sandbox and network_access: false. A local, read-only Node script inspection succeeded in that default sandbox. The next command explicitly requested sandbox_permissions: require_escalated for one bounded public HTTPS metadata GET (10-second request/body deadline, 512-KiB response cap, no redirects, credentials or installation).

    The automatic permission approval review reached its deadline and execution was rejected before the script started. The result had no process exit code. The script's first-step exclusive attempt marker was absent, and there was no network receipt or downloaded response, so this attempt made zero HTTP requests. The failing command was not retried and no alternative network route or permission-mode change was used.

    This resembles the pre-execution review timeout reported here and the classifier timeout symptoms in #51307. A shared cause or a version regression has not been established.

    Could the team investigate the review deadline/availability failure and provide a supported diagnostic or recovery procedure that preserves the existing sandbox and approval controls? We are not asking to bypass them.

    No account identifiers, private repository names or paths, full session transcripts, credentials or raw private logs are included in this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions