[Linux][ChatGPT desktop] Active Codex task does not inhibit system sleep
Open
Nobody has claimed this yet.
app
bug
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- PR merge metrics
- PR metrics pending
Description
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?
- Enable automatic sleep.
- Ask Codex to run sleep 900.
- Stop interacting.
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with automatic sleep enabled and sleep 900, then inspect systemd-inhibit --list while the Codex task is running. Done means an inhibitor appears for the active task, prevents automatic sleep, and is released when the task ends.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100