[Linux][ChatGPT desktop] Active Codex task does not inhibit system sleep

Open 💬 1 comment Opened Aug 16, 2026 by vlaaad

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

Version 26.803.81509

What subscription do you have?

Pro

What platform is your computer?

Linux 7.0.0-29-generic x86_64 unknown

What issue are you seeing?

ChatGPT allows Linux to sleep during active Codex tasks, pausing local work. systemd-inhibit --list shows no blocking ChatGPT/Codex inhibitor.

What steps can reproduce the bug?

  1. Enable automatic sleep.
  2. Ask Codex to run sleep 900.
  3. Stop interacting.
  4. The computer sleeps before the task finishes.

...or ask codex if it's currently inhibiting sleep.

What is the expected behavior?

Prevent automatic sleep while a Codex task runs. Release the inhibitor when it ends.

Additional information

Ubuntu

View original on GitHub ↗

1 Comment

IgorGanapolsky · 8 days ago

This is a host-lifecycle bug, not a model one.

On Linux, an active Codex Desktop task should hold a systemd-inhibit (What=sleep, Who=codex, Why=active task) for the whole turn and drop it when the turn ends. sleep 900 with no inhibitor is a clean repro: the kernel is allowed to idle-sleep, the local agent process is gone, and the UI has nothing to resume. systemd-inhibit --list showing zero ChatGPT/Codex entries is the smoking gun.

Until that inhibitor exists, a subscription runner on the laptop still dies when the machine sleeps. That is the product limit.

If the job has to keep going overnight, hosted Hermes on a fenced VPS is $10/mo (14-day trial, cancel anytime). Approvals stay in thumbgate.app. Not a second Codex SDK.