frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Codex logging bug may write TBs to local SSDs

https://github.com/openai/codex/issues/28224
48•vantareed•1h ago

Comments

consp•1h ago
Why didn't the review process spot this obvious error? Oh wait ... @codex review this
Forgeties79•1h ago
“Make no mistakes”

Damn I’m good!

charcircuit•55m ago
Because it's not an error. The software is working as the creators intended. The diagnostic data (trace logs) are intentionally being saved for debug purposes.
Imustaskforhelp•1h ago
I don't understand how Codex can blunder so badly. I imagine that even if they would be using vibe-coding, surely they must have some good engineers. So why is there such severe bugs?

One can argue that these products are the flagship products of their respective AI companies aside from the AI models themselves of course.

I imagine that this story will be picked up by the news left and right, some stories just feel this way and this one is like that (given 12 upvotes on HN in 7 minutes)

The only logical conclusion (from this incident) that I can have is: An (vibe-coded?) product is hard to maintain even for some of the best engineers and is bound to have severe bugs.

2. Proper testing and taking issues seriously is the key if you still wish to do this and there isn't much. This is a week old issue which I can only classify as severe.

I wish to keep an nuanced opinion about it but oh this is bad for openAI (not as bad as them accepting autonomous AI within drones and mass surveillance though)

My point is: AI has both uphills and downward valleys and cliffs. It might as well just accelerate you, which could be, towards your downfall as well. Its recommended to keep an eye while driving and not drive too fast.

AI companies might be like car companies which don't offer a brake pedal.

PunchyHamster•50m ago
> I don't understand how Codex can blunder so badly. I imagine that even if they would be using vibe-coding, surely they must have some good engineers. So why is there such severe bugs?

Because it was deemed not Hard Enough task for real engineer to look at, so AI was sent to do it with no supervision, just checking the effects.

Also overly excessive logging is probably useful to them in chasing some of the edge cases, the cost to users doesn't matter in the slightest to them

supriyo-biswas•46m ago
The truth of the matter is that any time that has been saved in writing the code must be spent on ensuring proper system design, reviewing the code, and most importantly of all, QA, which is an uncomfortable discussion for AI techbros who are peddling complete automation of the software profession.
dathinab•45m ago
> I don't understand how Codex can blunder so badly.

because they trust the AI too much (and seem to be fin with acting knowingly negligent)

the problem is

- AI tends to produces very convincing looking code, even if fully wrong

- AI does mistakes of kinds no human would do, at least no human who is also able to write convincing looking code

- code reviews are hard, a lot of devs, including senior devs, put a lot of implicit trust into the co-worker behaving "sane and non malicious". But AIs behave sometimes not so sane and in a way (wrt. trying to be convincing). In the worst case in ways which if it where a human you might consider to be them trying malicious sabotage the product

Like a "dump" example from work:

- AI randomly removes a HTML element id while doing other changes in jsx/react

- the PR has a lot of changes, the id removal line looks innocent, like some on the fly cleanup

- human reviewers have the bad tendency to often not look too much at deleted lines, only if they need reference to how a new line was before (but it's only a deleted line and no new line)

- you don't expect humans to randomly without reason delete important properties of components when changing other things

- you maybe would still have found it, but it's a emergency fix for a production issue

- it happens to miss integration tests, but happens to still matter a lot for one specific important for complicated reasons not properly tested flow (similar people tend to not test logging too much, at best the presence of needed info but hardly ever the absence of noise)

ramon156•1h ago
Blegh, I puke every time I see obviously AI generated comments in GH PR's. You cannot assume any of these people have done their research, other than telling Codex to do it for them
b--l•58m ago
It's because they use gpt-5.5-xhigh (the money making* model) to build it.

(*for them)

b--l•52m ago
Codex is one of the most infamous examples of slopware. Just having the window unhidden on my mac will cause it to use 100% of the GPU displaying the spinner message.

THE SPINNER MESSAGE CAUSES 100% GPU USAGE ON AN MBP M5!!

So any time you're waiting on the model (which is 90% of the time), your fans will be blasting (careful, don't use it on battery).

The issue is on github and close to 6 months old. Probably since the release of vibe coded junk. I would literally fix it myself but it's closed source for whatever reason.

There are many discussions about which model is better, or if vibe coding is even possible. I point you to the extent of what one of the most well funded, money flush, well staffed model making companies can do with vibe coding.

To me a screwup this bad (where the CEO has already made it clear they're now "focussing on coding") indicates that there's something truly broken in the company. No one on polymarket expects them to have a leading model any time soon for example.

It's a tragedy. The world needs competition to anthropic.

l33tman•13m ago
This was fixed long ago, if I'm thinking of the same bug. It was stuck in an inf loop all the time the codex window was open.
dundercoder•51m ago
If something like this is helpful or necessary, that’s what ram backed tmpfs is for.
mrweasel•15m ago
Using a RAM backed tmpfs would be a work-around as to not trash your SSD. It's doesn't fix underlying problem. It's incredibly poor design on OpenAIs part.
ares623•47m ago
i hope they find the smoking gun, the key insight, the kicker.
59nadir•43m ago
Then they can apply a clean solve, the cleanest solution.

It's fascinating how offensive some of this verbiage becomes to you when you see it attached to LLM output too much.

indiv0•47m ago
This thread will become a typical "haha slop company made slop" but I've been bitten by a bug exactly like this before in a (pre-AI, artisan) OSS project. The maintainer there didn't properly account for DST when calculating last backup time, so the app started and never stopped writing/re-writing backups continuously.

Perhaps the framing shouldn't be "haha slop" but rather why doesn't the AI write better quality software than we do? To which the answer is obvious IMO -- even emergent properties can't elevate AI intelligence too far above the training dataset. So how do we get to superintelligent (or at least "not-wreck-your-NVMe-endurance-telligent") AI, if we, as a whole, are not smart enough ourselves?

Judge not the slop-bot, lest ye be judged yourself, engineer.

applfanboysbgon•25m ago
1. I bet that developer only made that mistake one time in their life. Humans learn from their mistakes, LLMs don't. If you rely on LLMs to generate all of your code, you can expect to run into the same issues again and again.

2. "One developer somewhere in the world made a bad mistake one time, so this represents the quality of all software devs everywhere". Maybe they were just a bad developer? Bad developers exist. I have never written a bug that has destroyed my users' hardware, and I think that writing such a bug is completely inexcusable in an enterprise environment with software that will be shipped to millions of users, as Codex is.

lifthrasiir•8m ago
> I have never written a bug that has destroyed my users' hardware, ...

Probably whoever (human or agent) originally decided to put TRACE logs into SQLite also thought---or reasoned---so. Maybe the decision was right at that time but the amount of TRACE logs have increased enormously. You will never know.

sleples•24m ago
woadwarrior01•44m ago
Someone posted a temporary workaround for this on X[1].

sqlite3 ~/.codex/logs_2.sqlite "CREATE TRIGGER IF NOT EXISTS block_log_inserts BEFORE INSERT ON logs BEGIN SELECT RAISE(IGNORE); END;"

Also, I found that running VACUUM FULL on the sqlite file on my laptop shrunk it from 27GB to a mere 73MB[2].

[1]: https://xcancel.com/bdsqlsz/status/2067964486615810369

[2]: https://xcancel.com/jeethu/status/2068087449469780434

rvz•41m ago
The first of many bugs that are beyond the complexity of its authors, thanks to comprehension debt.

Even with tests, the more complex the code base is, the more risky it is to vibe-code on it without introducing more bugs [0] and increasing the debt. Does not matter if the CI is green or if all the tests pass.

It gets even worse if you can't explain the change / pull request or what the implications are after applying that "suggested" fix.

[0] https://sketch.dev/blog/our-first-outage-from-llm-written-co...

HPsquared•14m ago
There are going to be sooooo many consulting opportunities after this wave.
bob1029•19m ago
I'm struggling with how this much logging information could be generated at any level of verbosity. Is codex writing log entries while it's sitting idle? Why would someone want to look at these logs?
We've gone from "you're holding it wrong" to "the training data was bad because humans suck too". Difference is, humans learn from their mistakes.

In Mizoram, India, the Shops Have No Shopkeepers (2020)

https://matadornetwork.com/read/mizoram-india-shops-no-shopkeepers/
1•susam•3m ago•0 comments

Turning spoken commands into JSON tool calls on iPhones

https://blog.wildedge.dev/posts/in-app-voice-assistant
2•wojked•5m ago•0 comments

Lessons from Building Evals for Financial AI Agents

https://www.primerapp.com/blog/lessons-from-3-years-of-evals/
3•smallwoodal•6m ago•1 comments

I moved a broker's virtualization from Hyper-V to Proxmox with zero downtime

https://faridsaid.com/en/blog/migration-hyperv-proxmox.html
1•fawraw•10m ago•0 comments

Callback 8020 by Commodore – The Flip Phone Between Dumb and Smart

https://order.commodore.net/callback-privacy/
1•fmoronzirfas•13m ago•0 comments

Minia2a – A Marketplace Where AI Agents Earn Money

https://minia2a.uk
1•dgyte•13m ago•1 comments

Databricks vs. AWS managed service which one fits your need?

https://thedatabytes.substack.com/p/databricks-vs-aws-native-at-20tb
1•badhayaru•15m ago•0 comments

Natural Selection Maximizes Fisher Information

https://www.researchgate.net/publication/23496378_Natural_Selection_Maximizes_Fisher_Information
1•dtj1123•15m ago•0 comments

Safebucket – an open source file sharing platform with pluggable infrastructure

https://github.com/safebucket/safebucket
1•sebakubisz•15m ago•0 comments

Yann LeCun „World Models: Enabling the Next AI Revolution" [video]

https://www.youtube.com/watch?v=72Xj8k5WQX4
1•dgellow•17m ago•0 comments

Optimizing [sqlx:test] rebuild time

https://kobzol.github.io/rust/2026/06/21/optimizing-sqlx-test-rebuild-time.html
1•ibobev•17m ago•0 comments

Networking tool to host WireGuard servers with only outbound connections

https://github.com/klauscam/BastionRoute
1•tuta88•18m ago•0 comments

Anthropic's Mythos mess just keeps getting more complicated

https://www.theregister.com/ai-and-ml/2026/06/22/anthropics-mythos-mess-just-keeps-getting-more-c...
1•rbanffy•18m ago•0 comments

Agile and Coding: An Agent- and Human-Friendly Architecture

https://davidvujic.blogspot.com/2026/06/an-agent-and-human-friendly-architecture.html
1•BerislavLopac•18m ago•0 comments

PivCo-Huffman "Merge" Operations

https://fgiesen.wordpress.com/2026/06/21/pivco-huffman-merge-operations/
1•ibobev•18m ago•0 comments

Show HN: Cyclearchive.com – searchable archive of historical cycling literature

https://cyclearchive.com/
1•alastairr•18m ago•0 comments

Interlude: Using the Index Registers Effectively on the Z80

https://bumbershootsoft.wordpress.com/2026/06/20/interlude-using-the-index-registers-effectively-...
1•ibobev•19m ago•0 comments

Keir Starmer announces his resignation as prime minister

https://www.bbc.co.uk/news/live/ckger03mrl0t
5•jjgreen•21m ago•0 comments

Metasurface in Solar Telescope Captures Polarized Light

https://spectrum.ieee.org/optical-metasurface-solar-telescope
1•rbanffy•21m ago•0 comments

Disposable software: software is now just paper plates

https://auren.substack.com/p/disposable-software-software-is-now
1•sandgiant•24m ago•0 comments

A C++ AirPlay 2 sender: the encrypted RAOP/RTSP recipe, written down

https://github.com/akustikrausch/airplay2-sender-cpp
1•akustikrausch•31m ago•0 comments

Use AI for reviewing code especially when the diff is huge

https://simianwords.bearblog.dev/you-should-use-ai-for-reviewing-code-especially-when-the-diff-is...
2•simianwords•33m ago•0 comments

Show HN: Gingerpaw : A voice dictation and agent workspace app

https://github.com/Vikrant-Khedkar/gingerpaw
2•vikrant-gg•35m ago•0 comments

Show HN: Graphical SQL Builder and Debugger

https://github.com/webofmarius/SQLJoiner
1•matei88•38m ago•0 comments

The Most Effective Screen Time Passcode Is One You Can't Remember

https://mindfultech.bearblog.dev/the-most-effective-screen-time-passcode-is-one-you-cant-remember/
1•rainydesert•47m ago•0 comments

Engineering Got Faster. Now the Hard Part Is Deciding What to Build

https://ferrix.ai/blog/engineering-got-faster-hard-part-is-deciding-what-to-build
1•B_Nemade•51m ago•0 comments

Multi-Turn Reflective Masking Elicits Reasoning in Mask Diffusion Models

https://zhangyanming-cs.github.io/Multi-Turn_RM/
1•ilreb•52m ago•0 comments

ZenStack, tRPC and Kit

https://attic.olup.me/projects/zenstack-trpc-kit
1•carlual•54m ago•0 comments

Donate your Claude Code traces to an open CC-BY-4.0 dataset

https://trace-commons-web.hf.space/
1•_josh_meyer_•57m ago•1 comments

Cool Magnetic Field Viewer [video]

https://www.youtube.com/watch?v=1OgwAEWtupw
1•thunderbong•1h ago•0 comments