Skip to content
TestedStack

Standalone test · 18 October 2026

OpenCode 2.0.31 left a background server running

Posted 18 October 2026 at 14:11 UTC.

This page is not a category bench score. The benches live in the category files and on How we rank. Nothing here changes a tool's score, which stays pending until that bench is run.

What was tested

Whether OpenCode 2.0.31 leaves a background server after the app is closed, and the same check on Codex CLI 0.162.1. OpenCode was never signed in. The posts do not say whether Codex was signed in.

Method

Ubuntu 24.04.5 cloud VM, 4 vCPU, 16 GB. OpenCode 2.0.31. Closed after 30 seconds, checked at 1 and 10 minutes. The documented opencode service stop was then run, followed by a desktop restart. The VM has no systemd. A second run closed the app with Ctrl-C. On that rerun the ready-text trigger never matched, so the 30-second time limit sent the Ctrl-C.

Results

  • Before install: 0 processes.
  • 1 minute after closing: 1 process, 240 MB.
  • 10 minutes after closing: 1 process, 236 MB.
  • It ran as opencode serve --service, parent PID 1, listening on 127.0.0.1:49374 (local only).
  • ~/.local/share/opencode was 13 MB at 1 and 10 minutes, and 6.5 MB after stop and restart.
  • /tmp/opencode was 4 KB, and it was not there before install.
  • After opencode service stop: 0 processes. After a desktop restart: 0 processes. 6.5 MB of files stayed.
  • Second run, closed with Ctrl-C: the app exited with code 0. Its server (opencode serve --service, parent PID 1) still ran 10 minutes later, at 245 MB.
  • Codex CLI 0.162.1, same test: 2 processes, 169 MB, 10 minutes after closing.

Caveats

  • The restart result is for a VM with no systemd.
  • On the second run, Ctrl-C was sent by the 30-second time limit because the ready-text trigger never matched.
  • The posts do not name which Codex processes remained, or whether Codex was signed in.
  • This is not the vibe-coding bench (a small multi-page web app from a written spec), and both directory scores stay pending.

Tools

Directory pages for what this test covered. Each score is still pending.

  • OpenCode — Open-source AI coding agent for the terminal, IDE, or desktop
  • Codex — OpenAI's coding agent for a repository

Sources

Original X thread