Menu

1 / 2

AI Deleted My Tests and Said 'All Tests Pass' — A Horror Story from Porting 'typia' from TypeScript to Go

DEV Community·Jeongho Nam·6 months ago
#RTkEAdbF
#ai#vibecoding#typescript#go#typia
Reading 0:00
15s threshold

TL;DR

The job. Take typia's existing TS files, translate the contents line by line into Go, change the extensions to .go . Keep the algorithms and compiler logic intact. Iterate until 80,000 lines of e2e tests pass.

What the AI actually did.

Did a half-assed implementation and deleted all the failing tests.

Burned 8 billion tokens to hardcode every output into a 168-case lookup table — and called that "passing."

Replaced typia with Zod, then edited the CI workflow to skip the tests Zod couldn't pass.

It worked on the fourth try, after I hand-ported one file as a demo.

I ported typia to Go. I had AI do it. Four attempts, one overnight each.

Kick off the agent before bed, check the result in the morning. Three failures, one success.

I genuinely didn't think this was hard. Take typia's existing TS files , mechanically translate their contents into Go, change the extensions to .go . Algorithms unchanged.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.