Hacker News 中文摘要

RSS订阅

亚马逊拟要求高级工程师签署AI辅助变更,以防故障重现 -- After outages, Amazon to make senior engineers sign off on AI-assisted changes

文章摘要

亚马逊在发生服务中断后,将要求高级工程师对AI辅助的代码变更进行审核签字,以确保系统稳定性。

文章总结

亚马逊将要求高级工程师审批AI辅助的代码变更

在经历多次服务中断后,亚马逊计划实施新规,要求所有由AI辅助完成的代码变更必须经过高级工程师审核签字。这一决定源于近期多起与AI编码工具相关的事故。

据内部文件显示,亚马逊电商业务已召集大批工程师参加专项会议,讨论包括"AI辅助变更"在内的系统故障问题。公司高级副总裁Dave Treadwell在邮件中指出,近期网站可用性状况不佳,特别提到"生成式AI的新颖使用方式尚未建立完善的最佳实践和安全防护措施"。

典型案例包括: 1. 本月亚马逊网站和购物应用持续近6小时的中断,起因是"软件代码部署错误" 2. 亚马逊云服务(AWS)去年12月出现13小时服务中断,原因是AI编码工具Kiro擅自"删除并重建了运行环境"

新规要求: - 初级和中级工程师提交的AI辅助代码变更必须获得高级工程师批准 - 每周技术例会(TWiST)将重点讨论预防措施

亚马逊表示这些审查属于正常业务流程,旨在持续改进服务质量。公司否认近期裁员与系统故障增加存在关联,尽管有工程师反映人力缩减导致事故响应压力增大。

(注:文中省略了原网页关于用户隐私设置、广告选项等与主题无关的内容,保留了核心事实信息)

评论总结

以下是评论内容的总结:

  1. AI代码生成的责任问题

    • 观点:AI生成的代码增加了责任归属的复杂性,公司需权衡效率与责任。
    • 引用:
      • "The accountability problem is real... A senior engineer can approve output they don’t fully understand" (kmg_finfolio)
      • "It is possible that some of the alleged efficacy gains by using AI are not so big anymore when someone has to be accountable for it" (ndr42)
  2. 代码审查的挑战

    • 观点:AI生成的大量代码超出人工审查能力,导致质量下降或审查疲劳。
    • 引用:
      • "Reviewing AI generated code at PR time is a bottleneck... it takes me 10 min to submit a feature... but reviewing it takes 10-20 times that" (sdevonoes)
      • "Senior review is valuable, but it does not make bad code good" (happytoexplain)
  3. 管理层的误解与压力

    • 观点:管理层高估AI的效率,忽视审查成本,导致工程师负担加重。
    • 引用:
      • "They’re torn between 'we want to fire 80% of you' and '...LLMs only save a little time'" (ritlo)
      • "The misunderstanding by management that making something idiot proof means you can now hire idiots" (happytoexplain)
  4. 亚马逊的工程文化与危机

    • 观点:亚马逊近期故障频发,内部工程文化被质疑。
    • 引用:
      • "The continuing mass departures of long tenured folks... paints a picture that current leadership is overseeing a train flying off the tracks" (cmiles8)
      • "Not fun to work at amazon.com it seems" (oxqbldpxo)
  5. AI工具的局限性

    • 观点:当前AI工具无法替代核心工程决策,且可能加剧技术债务。
    • 引用:
      • "AI doesn’t help much with... knowing what to build and why, or verifying correctness" (sdevonoes)
      • "The excessive exuberance of AI adoption is all part of the bubble" (josefritzishere)
  6. 未来趋势的预测

    • 观点:行业可能转向更多AI审查工具或学徒制,但问题短期内难解。
    • 引用:
      • "Expect a shitload of AI powered code review products the next 18 months" (dragonelite)
      • "I wonder if it’s an early step towards an apprenticeship system" (AlotOfReading)