Node.js 社区因为 19000 行代码引起了一场争议

2026-04-11 13:051阅读0评论SEO问题
  • 内容介绍
  • 相关推荐
问题描述:

这位名叫 mcollina (Matteo Collina) 的贡献者一下子贡献了 19000 行 AI 生成的代码,现在已经有人要求 Node.js 禁止 AI 了。

image1012×941 234 KB

一个 19000 行的 PR 引爆了 Node.js 社区,集体请愿禁止 AI 代码-CSDN博客

mcollina 的 PR:

Virtual File System for Node.js by mcollina · Pull Request #61478 · nodejs/node

Indunty 发起的禁止 AI 请愿:

indutny/no-ai-in-nodejs-core: A petition to disallow acceptance of LLM generated Pull Requests in Node.js core

网友解答:
--【壹】--:

跟写不写完多少 完全没关系
主要是质量抽象到奶奶家了

非顶层require
手写 path.join

逆天 不知道用的啥LLM 抽象完了


--【贰】--:

完了,只能用魔法打败魔法了。以后有 ai 成分的库要打上 ai 和后果自负的标签才行。我纯 ai 自主开发的项目可以让其应用这些 ai 库,否则一律禁止。


--【叁】--:

禁止随地拉喵


--【肆】--:

image938×1548 130 KB
应该是 2.1w+行才对()

image1152×444 52 KB

这段挺难绷的
image1920×3533 520 KB


--【伍】--:

不是开发者害了你,是这个AI乱世害了你啊


--【陆】--:

那是啊,那时 PR 一出,速速围观,叹为观止啊


--【柒】--:

关键是真人很难做到上万行在这么几天写完


--【捌】--:

想起当年围观 Vue 的重构 PR,那时,还没有 Vibe Coding

github.com/vuejs/vue

chore: move to typescript (#12001)

devpikax:move_to_typescript 已打开 02:15PM - 03 Apr 21 UTC pikax +16130 -141843

**What kind of change does this PR introduce?** (check at least one) - [x] Co…de style update - [x] Refactor - [x] Build-related changes - [x] Other, please describe: Typescript code base **Does this PR introduce a breaking change?** (check one) - [x] No **Other information:** Move the code base from flow to typescript ### Plan This PR plans to convert the current flow code into typescript and type some of the code, avoiding changes to javascript output code. This PR will stay open for a while, there's many pending PR which need to be merged before this. ## Status - [x] convert all the js files to typescript - [x] replace flow types with typescript - [x] make build and CI work - [ ] introduce typing to plain JS files


--【玖】--:

Linus:只要眼球足够多,bug 不是很难捉。AI:来呀,review 呀,反正有大把时光。


--【拾】--:

这个数还在变,说不定过几天就变成2.2w了


--【拾壹】--:

可以的,以后一律有问题摔锅给 ai 和 ai 开发的库。


--【拾贰】--:

AI拉屎可比人快多了


--【拾叁】--:

就是人写的,你上万行写的再好,不拆逻辑也不可能给你合并啊。


--【拾肆】--:

基建禁止AI是对的


--【拾伍】--:

(纯)AIGC真恶心


--【拾陆】--:

1w9你给谁审核,这么大的修改就应该避免并入分支


--【拾柒】--:

那是完全没法比


--【拾捌】--:

核心程序保持简洁高效是对的,支持


--【拾玖】--:

况且还是 AI 生成