ข้ามไปที่เนื้อหา
เหตุการณ์ร้อนแรงกำลังพัฒนา

Loose Ends liveness checker released for AI-written code

เนื้อหานี้ยังไม่มีในภาษาของคุณ จึงแสดงเป็นEnglish

1 รายงาน1 แหล่งข่าวที่รายงานอัปเดต 10 ชม. ที่แล้ว

เริ่มตรงนี้

ไดเจสต์ AI

Loose Ends, a new command-line tool, checks whether code added or touched in a change is still reachable from a real entry point. It flags orphaned additions, newly orphaned code, and replaced implementations left in place, building a liveness graph across TypeScript, JavaScript, Python, and Java. It reports only what the change did, so existing dead code never blocks a pull request. The tool installs via npm and requires Node.js 20 or newer and git; Python and Java projects need no package.json. A GitHub Action, which runs without a server and is free on public repos, adds inline annotations on the diff, keeps one PR comment updated, writes the report to the job summary, and fails the job on blocking findings. The --apply option writes the change to your tree only after verification passes.

สร้างจากรายงาน · อัปเดต 9 ชม. ที่แล้ว

ไทม์ไลน์รายงาน

ไล่ตามรายงานเพื่อดูเหตุการณ์นี้จากหลายด้าน

13 พฤศจิกายน
  1. Hacker News · AI
    Loose Ends: การตรวจสอบความมีชีวิตสำหรับโค้ดที่ไม่ได้ใช้ซึ่ง AI agents ทิ้งไว้

    Loose Ends เป็นเครื่องมือ CLI ใหม่ที่ตรวจสอบว่าโค้ดที่เพิ่มหรือถูกแตะต้องในการเปลี่ยนแปลงยังคงเข้าถึงได้จากจุดเริ่มต้นจริงหรือไม่ โดยระบุการเพิ่มโค้ดที่กลายเป็นโค้ดกำพร้า โค้ดที่เพิ่งกลายเป็นโค้ดกำพร้า และการนำไปใช้งานที่ถูกแทนที่ซึ่งยังคงถูกทิ้งไว้ เครื่องมือนี้สร้างกราฟความมีชีวิตข้าม TypeScript, JavaScript, Python และ Java และรายงานเฉพาะสิ่งที่การเปลี่ยนแปลงนั้นทำ เพื่อให้โค้ดที่ตายอยู่แล้วไม่บล็อก pull request ติดตั้งได้ผ่าน npm ต้องใช้ Node.js 20 หรือใหม่กว่าและ git

ความร้อนแรงของเหตุการณ์นี้

ยังมีการเฝ้าดูต่อเนื่องไม่พอจะวาดแนวโน้ม