开发者用 Codex 审查 100 个开源 PR,其中 76 个未留任何评论
来源标题:I used Codex to review 100 open-source PRs. I left no comment on 76 of them
一名开发者用 OpenAI Codex 审查 100 个开源 PR,结果有 76 个没有给出任何评论。该实验显示,Codex 在多数情况下未对代码提出反馈,只在其余 24 个 PR 中留下了评论。
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
It took me a while to ask what it costs someone else to answer a review comment. Codex can produce a plausible question about a few lines of code, while the maintainer getting the notification might have to write a test just to find out whether I was wrong.
I have no software engineering background. I built arc9, a review skill that guides Codex through the relevant code at a specific commit. We (me and AI) sometimes tested a finding in isolation. I decided which leads to pursue and what to post. I counted each primary PR once, even when we read a related PR to check the same finding.
In Kafka #24292, restoring a cache could evict an index and schedule it for deletion. If initialization then failed, shutdown canceled the deletion after the index was already gone from the map that cleanup walked. I asked who closed it and noted I hadn't run the sequence. The author reproduced it, fixed it, and added a test that fails if the evicted index stays open.
Kafka #24292 comment · Kafka #24292 author reply
In Kafka #24324, the test already checked that the session had expired one nanosecond after its heartbeat deadline. I suggested adding an assertion that the session was still valid exactly at the deadline. The PR merged with the test as written. I'd skip that comment today. The author had already explained what should happen at the deadline.
Kafka #24324 comment · Kafka #24324 merged test
In DuckDB #29115, I described the two-row Parquet file we tested. Column x held only 1.0 and 2.0, with exact min/max bounds and no nan_count statistic. On the PR build, max(x) returned NaN with parquet_can_have_nan enabled and 2.0 with it disabled. The author reproduced it on main and opened a fix with a regression test. I posted that AI-assisted comment before reading DuckDB's policy, which requires contributors to write their own comments. I now check each project's policy before choosing a PR and skip DuckDB with this workflow.
DuckDB #29115 comment · DuckDB #29115 author reply · DuckDB #29179 fix PR · DuckDB AI policy
In Flink #30022, the author confirmed that after restoring a 2.3.0 savepoint, Flink could reuse an active event ID if the clock moved backward. Skipping occupied IDs cost about 30% in their RocksDB test, so they chose to document the behavior.
Flink #30022 comment · Flink #30022 author reply
I wanted to see whether that cost could move to recovery. We tested two prototypes against RocksDB. Both preserved the old IDs. One scanned saved state at restore time to rebuild the counters, and the other checked for occupied IDs as it assigned them. Including recovery, checking on allocation finished sooner at about 2.1 million events, while the scan finished sooner at about 4.19 million. Those were timings for our two prototypes. We hadn't measured the author's implementation. Picking one would require deciding how long a Flink job could afford to spend recovering and how much work it would do before the next restart. The maintainer had already made that call, so I kept the benchmark in my notes.
As of November 23, I had commented on 24 of the 100 PRs. On 13 of those PRs, a review point was confirmed or addressed. I was still waiting for a reply on 10, and I closed one review without confirmation. The three confirmed bugs described here, in Kafka, DuckDB, and Flink, all predated the PRs we reviewed. I didn't measure maintainer time. I did track whether the first comment gave the author enough to reproduce the problem, fix it, or decide to live with it.
Before I post now, I weigh what the bug could cost against what it would take the author to check my evidence. If they'd have to start the investigation from scratch, I either do more of that work myself or leave the comment unwritten.
Disclosure: English is not my first language. I outlined the findings and used AI tools to help draft and edit the English prose.
This appendix records the status of the 24 PRs as of November 23, 2026, when I finished the review project. Each PR link opens my first comment.
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。