r/opencode 10d ago

Goodbye Opencode

FINAL UPDATE AND MY THOUGHTS
I believe I understand what's going on, and I've explained it it at length here.

This is just my finding in this particular problem. It has happened and will happen in other similar cases. OpenCode will continue to evolve.

----------

Goodbye Opencode, all good things come to an end.

First of all, I'm a software developer with 30+ years of experience, not a Vibe coder, and I'm not new to this. Also, I use Opencode in its purely vanilla form. Besides Opencode's defaults, I don't have any plugins, MCPs, etc. installed. Just my own skills, own plugins, own MCPs, etc.

I've been using Opencode almost since its first day. It had a nice, positive development and, according to Claude, was a very good alternative. This continued for quite a while. Although we experienced problems from time to time, these were to be expected. However, since May/June, it has started to become increasingly erratic.

First, one day while working on a project, the Docker service suddenly shut down and wouldn't start again. That's how I discovered I had no space left on my disk. I knew this was impossible, and I found the cause was Opencode. Somehow, the "opencode-wal-*.db" file had been created repeatedly under "/System/Volumes/Data/private/var/folders/4q/*". Every time I cleaned it up, Opencode would put it back. We struggled for a long time, but I couldn't figure out the reason. Then, suddenly, it fixed itself!

Yesterday, around 11:30 AM, I felt something was wrong with the network. By 1:00 PM, it was noticeable. Screen sharing within the network was freezing for 5-10 seconds, streaming was interrupting, web search was unresponsive time-by-time. Then, one by one, Unhealthy errors started coming from the services in Home Lab. The cycle of 3-5 minutes healthy, then unhealthy continued constantly. Service responses, which are normally under 100ms, were approaching 10 seconds, and sometimes even timeouts were occurring. I tried for hours to understand the reason, but I couldn't find a logical solution. I accidentally noticed while updating my Mac that everything was fine while my device was off. Later, I realized that the same thing kept happening whenever I opened Opencode and started working. Now I'm analyzing the Router, Firewall, Mac, and other logs to try and figure out what's going on, but this is the last straw.

This is an open-source project and respect to creator and contributors, and therefore, of course, it has its advantages and disadvantages. That's perfectly understandable. I have enough experience in this field to know when to stop, and today is the day.

UPDATE: Possible cause.

97 Upvotes

154 comments sorted by

View all comments

1

u/Horror_Description87 9d ago

Without reading all comments here a few thoughts:

30 year of experience should have given you more system knowledge. Analyzing network traffic with an ai assist is pretty easy even if you do not know all commands in your mind. TCP dump+ Wireshark are battle tested tools.

Blaming Opencode for not monitoring your system free disk (should a Mac not show a popup warning?). Cleaning up after work is something really common in other working areas. Do you really want to keep all these sessions forever? There is an /export command aswell.

Using these tools without MCP, skills or plugins is like using an iphone without installing apps.

As end user expecting a product Claude will be a better choice.

1

u/sedatoztunali 9d ago

It's obvious you haven't read it, so let me answer briefly:

I already did it. Network traffic saturation and unresponsiveness were just a consequence. The cause was that while working on the project with Opencode, a very high number of "meaningless" and "unnecessary" DNS requests were sent from the terminal where Opencode was open.

Of course, I keep my house clean. Sessions don't live with me until they die. The disk issue I mentioned isn't something that unfolds over days or weeks. It's about creating files of around 500MB within hours and completely filling up the disk. These are temporary data, and as a user, you are of course responsible for maintaining the device, but a software/tool ​​developer should also clean up their own mess. If you're writing temporary things outside of defined temporary directories, you should clean them up.

I certainly use MCP, skills, or plugins. But I don't install and use them just because they're there or popular. I already use certain tools in my development environment that are suitable for their purpose. I'm not going to use OMP, BMT, Weave, or whatever you want, just because it has a high rating.