[FEATURE]: Block suspension/hibernation while processing #9360

Open
opened 2026-02-16 18:12:16 -05:00 by yindo · 0 comments
Owner

Originally created by @monksy on GitHub (Feb 14, 2026).

Originally assigned to: @rekram1-node on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

While that application is calling and waiting on inferences. Prevent the system from falling asleep. For me, I may have long running local models that continue to run. However, when they're done, I don't mind the system falling asleep. It's unnecessary to completely disable sleep for long periods of time while opencode isn't actively processing.

This should be a configurable option.

Helpful commands:
systemd-inhibit --what=sleep --why="OpenCode is active" sleep 60

Originally created by @monksy on GitHub (Feb 14, 2026). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request While that application is calling and waiting on inferences. Prevent the system from falling asleep. For me, I may have long running local models that continue to run. However, when they're done, I don't mind the system falling asleep. It's unnecessary to completely disable sleep for long periods of time while opencode isn't actively processing. This should be a configurable option. Helpful commands: systemd-inhibit --what=sleep --why="OpenCode is active" sleep 60
yindo added the discussion label 2026-02-16 18:12:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9360