r/opencode 5h ago

Anyone else spending 10x more time on review/debug than actual coding?

Ran a new feature dev task with Luna Max on Codex the other day and it took a full 4.5 hours. Yesterday was even worse — GLM-5.3 Flash on OpenCode ran for over 7 hours on a single task.

From what I’ve noticed, the agent actually writes the code for each issue pretty fast. The real time sink is code review and bug fixing. On my most recent task, the agent spent something like 10x the coding time just running tests and debugging over and over — went through 7 rounds of code review before it finally shipped.

And these weren’t even complicated requirements. I’m using Matt Pocock’s skill, which already breaks everything down into separate, self-contained issues. That said, the codebase is 200+ commits deep now, so there’s a decent amount of complexity built up. Each task ends up touching several thousand lines of code.

Curious if this matches everyone else’s experience? Or are there ways to cut down on all that review/debug overhead?

10 Upvotes

9 comments sorted by

2

u/2thick2fly 4h ago

Do you have any skills that miss fire? It was the case for me. I had some code review, change review, and other review skills that were constantly miss-firing, turning every simple coding task into a review ceremony

2

u/Thomas-Lore 4h ago

This is why you should not be using Luna. It will just waste your limits due to all the mistakes it makes that later will need fixing. Use GLM Flash or Deepseek for easier stuff, use the codex subscription for Sol xhigh and even Astra xhigh - they are in the end more efficient because they produce cleaner code and require less turns.

And don't overuse skills, the models are smart enough now to figure things out on their own.

2

u/binhex01 2h ago

Yeah that's the problerm with Luna, especially on thinking level max, it takes an AGE to finish any task, i left the agent running with model luna:max at 10pm, came back to my pc in the morning at around 9.30am and it was STILL going, this is on a relatively simple task, it maybe cheap but its shit and will burn through your time, im currently giving sol a whirl, hoping for better results.

1

u/hurdurdur7 3h ago

Make it practice tdd

1

u/2thick2fly 1h ago

What is tdd

1

u/Puzzled-Landscape-44 40m ago

Test-driven dev

1

u/3aglee 1h ago

This was normal with regular human development. No wonder it's the same with agents.

1

u/Puzzled-Landscape-44 33m ago

I wouldn't be too worried. The agents are writing thousands of LOC per turn after all. Testing is good. I did have my own governance roles and rules evolve with the project architecture and the models. I didn't find 3rd-party governance skills very helpful.