datasette 用户终于可以避免测试中偶发的 segfault 崩溃,做数据探索和 API 构建的团队建议升级。
datasette 1.0a29 版本发布,新增 TokenRestrictions.abbreviated(datasette) 工具方法用于创建 "_r" 字典。修复了当表包含零行时表头和列选项不可见的问题,以及 Mobile Safari 上列操作对话框的显示 bug。最关键的是修复了一个由 Datasette.close() 竞态条件导致的 segfault 崩溃 bug,作者通过 Codex CLI 创建最小 Dockerfile 复现并解决了该问题。
datasette 1.0a29
Release: datasette 1.0a29 New TokenRestrictions.abbreviated(datasette) utility method for creating "_r" dictionaries. #2695 Table headers and column options are now visible even if a table contains zero rows. #2701 Fixed bug with display of column actions dialog on Mobile Safari. #2708 Fixed bug where tests could crash with a segfault due to a race condition between Datasette.close() and Datasette.close() . #2709 That segfault bug was gnarly . I added a mechanism to Datasette recently that would automatically close connections at the end of each test, but it turned out that introduced a race condition where an in-flight query could sometimes be executing in a thread against a connection that was being claused. I ended up solving that by having Codex CLI (with GPT-5.5 xhigh) create a minimal Dockerfile that recreated the bug. Tags: projects , datasette