Skip to content

feat(package): add cached GitHub packaging with reusable binaries - #2574

Merged
footka merged 56 commits into
oceanbase:masterfrom
hnwyllmm:codex/prebuilt-binary-packaging
Nov 19, 2026
Merged

footka merged 56 commits into
oceanbase:masterfrom
hnwyllmm:codex/prebuilt-binary-packaging

Conversation

@hnwyllmm

@hnwyllmm hnwyllmm commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

任务描述

在 GitHub Actions 上调试并验证 seekdb 的跨平台编译和打包流程。每个平台先编译一次引擎,导出包含所需动态库的 seekdb-binary,RPM/DEB 可以直接引用该产物,也可以复用指定历史 workflow run 的产物,避免重复编译。成品包不带调试信息,调试文件单独导出为 seekdb-debug-info。

本次已将原分支 205a02d91bbd20971c75a4b672b59b3314d4fc44 rebase 到 master 6feab6323d97a0cf86ca6c4b50bdbf3d7433c6ef,并补齐新 SDK 布局的适配,rebase 后的代码基线为 788684d2f25456401619e4b130bdc01fe3a9b208。随后按要求删除本 PR 新增的 package/README.md,并移除 RPM/DEB/TGZ 的冗余 Shell 包装入口,当前 head 为 ce91725c7dcf9721594f3847e90fd43ae4b5d11c,安装后验证脚本与测试配置已从 workflow 中移出,macOS 默认编译并行度由 1 调整为 2。macOS arm64 的最低发版目标现为 15.0,使用 Development Kit 的 macOS 15 依赖清单。

根因

按用户明确的本轮发版范围,取消 DT_FILTER / DT_AUXILIARY、DF_1_NODEFLIB、DT_AUDIT / DT_DEPAUDIT 的专项处理。上一轮对这些机制只增加了检测及拒绝,并未实现额外依赖收集;本轮撤回这部分检查,继续按普通 DT_NEEDED 递归收集依赖。这些扩展机制不纳入当前打包支持范围,历史拒绝用例仅保留为对应旧提交的记录。

NSS 系统库排除 的缺口来自本 PR 的 aab913f49e69100d4a4c8b0c91ff0a5b6254ba6b:原实现将所有 libnss_* 视为系统库。直接依赖私有 libnss_review.so.2 的输入原本输出 42,旧导出、回读均成功,归档和 DEB 却缺库退出 127;显式指定它为插件又会被误判为系统库而拒绝。该问题在 3de9bfdbfe683634df64a2a2ed96b23a88603f5b 用原生 ELF 复现。

split DWARF 的缺口来自符号分离入口 97fc2aaaacc333621dd732cc2ed759b6dfa88ff2:objcopy --only-keep-debug 保存 skeleton 调试节,却没有收集 GCC -gsplit-dwarf 生成的 .dwo。在 3de9bf... 的 DWARF 4/5 对照中,调试归档只有 bin/seekdb.debug;原构建目录的 DWO 存在时 GDB 能显示 struct ReviewRecord 的 int value,移走 DWO 后同一调试包无法解析该类型。此次正常 ELF 回归另实测到 LLVM 18 strip 将 patchelf 新增段的 p_offset 从 0x5000 改成 0x3010,而 p_vaddr=0x5000、p_align=0x1000 不变,程序从输出 42 变成 SIGSEGV;旧基线也可复现,GNU strip 保持可运行。LLVM 上游同类段布局问题

libaio SONAME 复用 的缺口来自 27c7c9f7b8040a44c76ce0e805f0334716a8b40f:该提交取消 DEB 自带 libaio,恢复 libaio1 | libaio1t64, systemd 依赖,并添加了单向 libaio.so.1 → 系统 libaio.so.1t64 别名;输入反过来要求 libaio.so.1t64、系统只提供 libaio.so.1 时没有对应别名,归档校验和 DEB 构建成功,运行仍缺库退出 127。修复前基线 7aa18b769d19e16652391aa41b30781dd5299060 已用真实 Ubuntu 两种 libaio 提供方复现,依赖声明允许的两种提供方需要同时覆盖。

私有 PT_INTERP 和 obshell 依赖 也会使成功生成的包无法在目标目录运行:原收集器保留构建机上的绝对 loader 路径,移除该私有 loader 后,文件仍存在且有执行权限的成品由内核返回 ENOENT;obshell 原先只检查架构与 glibc 版本,其私有 DT_NEEDED 库不在引擎归档中,导致 DEB 中的引擎可运行、helper 却因缺库退出 127。obshell 的架构/ABI 检查和二进制重定位入口均可追溯到本 PR 的 aab913f49e69100d4a4c8b0c91ff0a5b6254ba6b;这两个缺口在修复前的 3fc6360017436d2fce3987efa0eab330b69cb1e7 仍存在。

时区导入数据已从 master 删除,也不再属于本轮打包产物。之前只取消默认携带,仍保留 --timezone-file / SEEKDB_TIMEZONE_FILE 可选入口、独立导入脚本和复用旧包时的专门过滤。本次清理这些遗留实现;复用二进制时明确收集 SQL、SRS 和运行所需资源,避免旧归档中的时区数据及孤立导入脚本重新进入成品。引擎内部的时区计算、内表和 UTC 包名时间戳不在清理范围。

此前处理的三个 review comment 都位于当时的 package/symbols.py(现为 package/debug_symbols.py),由本 PR 的符号分离提交 97fc2aaaa 引入,在修复前基线 3e8686705ac66a5157f6568076a670ea3e865f9f 仍存在:

  • Linux ELF 含 .gnu_debugdata 时,has_debug() 将其视为调试信息,但 strip --strip-unneeded 会保留该节;随后成品剥离检查报 Debug information remains after stripping,导致二进制导出和 DEB 复用失败。
  • ELF 已有 .gnu_debuglink 指向 previous-symbols.debug 时,直接调用 objcopy --add-gnu-debuglink=seekdb.debug 会保留旧节并成功退出;成品仍查找旧文件,而调试包只提供 bin/seekdb.debug。
  • Windows 原来仅按文件名复制 PDB。同名但来自另一构建的 PDB,或 GUID 相同但 age 不同的 PDB,也会与当前 EXE 的哈希一起发布,调试器无法正确关联符号。

解决方案

  • 删除 linux_dynamic() 中针对 FILTER/AUXILIARY、NODEFLIB、AUDIT/DEPAUDIT 的检测和报错,所有调用处恢复使用普通 dynamic() 读取;ABI 检查中删除仅用于这些标记的重复读取。此次不解析这些扩展语义,不收集它们引用的特殊后端或 auditor,也不修改输入的对应标志。
  • Linux 的系统库排除改为明确的 glibc SONAME 清单及对应架构的系统 loader,仅将 libnss_compat.so.2、libnss_dns.so.2、libnss_files.so.2 三项 NSS 模块列为 glibc;私有 NSS 库按普通依赖收集,也允许通过 --extra-library 显式加入。复用已有归档时逐个核对 DT_NEEDED 是否由系统清单、归档文件名或已声明的 SONAME 满足;旧的漏库归档明确报错并要求重新导出。保留合法的已加载 SONAME 别名,不要求重复存放同一库。
  • 导出 ELF 调试包前检查缩写表中的 DW_AT_dwo_name / DW_AT_GNU_dwo_name,明确拒绝 split DWARF,并提示去掉 -gsplit-dwarf 重编译;不再发布缺少 DWO 的符号包。GNU 工具使用 readelf --debug-dump=abbrev,LLVM 工具使用 llvm-dwarfdump --debug-abbrev,均识别压缩调试节。Linux 原生 objcopy/strip 改用 PATH 中的 GNU binutils,workflow 已安装这些工具,避免旧 LLVM 重排 patchelf 段布局;Android NDK、macOS 和 Windows 的符号工具选择保持原路径。
  • DEB 在私有库目录同时提供 libaio.so.1 → /usr/lib/<multiarch>/libaio.so.1t64 和 libaio.so.1t64 → /usr/lib/<multiarch>/libaio.so.1。两者都指向系统目录,不形成私有目录内的符号链接循环;对向目标缺失时,loader 继续查找系统中原 SONAME。仍只使用官方系统库,不捆绑 libaio 实现,也不修改原有 Depends。系统包只接受已支持的两种 libaio 名称;EL7/EL8 RPM 明确要求 .so.1,拒绝 .so.1t64 输入,避免生成官方 RPM 提供方无法满足的依赖。
  • Linux 的二进制导出、归档回读及系统包 ABI 检查新增 PT_INTERP 校验:x86_64 接受 /lib64/ld-linux-x86-64.so.2,aarch64 接受 /lib/ld-linux-aarch64.so.1;静态程序和普通 DSO 没有 interpreter 时仍可通过。其他路径明确报错并提示重新链接,不把构建机的私有 loader 当作可移植产物,也不自动替换 loader。
  • Linux server staging 对 obshell 使用独立、精确的核心 glibc SONAME 清单,支持静态链接及列明的系统运行库,私有依赖直接报错;不会仅因库名像 libnss_*.so 就放行。--obshell-bin help 同步声明该约束。共用 staging 覆盖 RPM/DEB、TGZ、原始构建目录和已有二进制输入;obshell 自带私有动态库的依赖收集不属于本次支持范围。现有 SDK helper 的 libresolv.so.2、libpthread.so.0、libdl.so.2、libc.so.6 均在支持范围。
  • Windows 线程命名恢复 master 基线的 SetThreadDescription(GetCurrentThread(), wname) 直接调用,删除本 PR 增加的 KernelBase.dll 动态查找、函数指针缓存及接口缺失时跳过的兼容分支。不再针对 Windows 10 1607 / Server 2016 增加这项适配;/MD、DLL 收集和打包校验保持现有实现。
  • 将 package/binary.py 重命名为 package/binary_distribution.py,明确其职责是二进制发行包的依赖收集、导出和校验;将 package/symbols.py 重命名为 package/debug_symbols.py,明确其职责是调试符号分离、剥离和身份校验。同步更新 workflow 调度、原生打包、iOS 归档和 macOS 动态库工具的导入与调用;MSI 改为直接导入 debug_symbols,消除对 package.symbols 间接导出的依赖。此次仅调整模块命名及引用,CLI、成品命名和处理逻辑保持一致。
  • 清理时区导入文件的全部打包与部署入口:删除 --timezone-file、SEEKDB_TIMEZONE_FILE、stage() 的对应参数与复制逻辑,并删除已无调用的 tools/import_time_zone_info.py。MSI 入口同步调整,workflow 下载及 .github/packaging.json 的 URL/SHA-256 已移除。复用二进制时只收集明确需要的资源目录和 SRS 工具,取消按时区名称过滤的特殊分支;历史包中的时区文件和导入脚本均不会进入新 RPM/DEB/TGZ。Windows 的 DLL 和依赖来源信息继续保留。Python datetime.timezone.utc 用于包名时间戳,继续使用。
  • 新增手动触发的 Package seekdb workflow,覆盖 Linux x86_64/aarch64 的 glibc 2.17/2.28、macOS 15.0 arm64、Windows x86_64 /MD、Android arm64/API 26、iOS 18 的 arm64 真机和模拟器,以及组合 XCFramework。Linux 使用固定版本和 SHA-256 的 Conda sysroot。
  • RPM/DEB 仍分别调用 rpmbuild 和 dpkg-deb,Python 负责收集已有二进制、资源、动态库及调用原生打包工具。支持 EL7/EL8、Debian 12/13、Ubuntu 22.04/24.04/26.04,包名和元数据包含发行版标识;保留原有 RPM libaio, systemd 和 DEB libaio1 | libaio1t64, systemd 依赖,由系统包管理器安装官方 libaio。RPM/DEB 包含 obshell。
  • binary_run_id 可选择历史二进制构建,跳过引擎编译和 SDK 初始化。打包前验证来源提交、版本、架构、glibc 基线和文件校验和,并记录二进制与打包代码各自的来源。DEB 从选中的基线中优先复用 glibc 2.28,每个发行版/架构仅生成一个系统包。
  • 包名使用秒级 UTC 时间 YYYYMMDDTHHMMSSZ,不再使用数字 release。二进制归档的日期位于源码 SHA 前;RPM/DEB 使用同一次 workflow 的时间戳和发行版后缀。本地打包统一使用 Python CLI 的命名参数。
  • ELF 导出时保留 .gnu_debugdata 到独立调试文件,并从成品显式删除;先移除旧 .gnu_debuglink 再重建,并校验新文件名与 CRC。Windows 从 EXE 的 CodeView 和 PDB 读取 GUID/age,确认一致后才复制,符号 manifest 同时记录身份;工具从已初始化的 Windows LLVM SDK 定位。
  • Linux/Android 导出独立 .debug,macOS/iOS 导出 UUID 匹配的 dSYM,Windows 导出链接器 PDB。成品中的可执行文件和动态库经过剥离检查;调试包与成品通过平台、时间、源码 SHA、哈希以及必要的 UUID/GUID 关联。Windows ZIP 允许 SDK 中可复现构建使用的 Unix epoch 时间戳。
  • 保留一个位于 deps/ 下的依赖缓存,包含 deps/3rd、deps/prebuilt 和相应 Android/iOS 依赖目录。cache key 包含 deps.lock.json、依赖 profile 和初始化脚本;iOS 另包含 Xcode/SDK/部署目标。编译输出、Conda、Rust/Cargo、NDK 和 Bazel 下载不单独持久化缓存,artifact 保留时间使用 GitHub 默认值。
  • 跟随 master 的 Use seekdb-deps release packages for gtest, VSAG and jemalloc #2496:使用统一的 deps.lock.json 和 deps/prebuilt SDK,不再保留旧分支中的 Windows SDK 下载条目、重复的 jemalloc Bazel 规则或旧 MODULE 锁文件改动。Windows 包从 deps/prebuilt/native 收集许可证、SDK manifest 和 lock 文件;Linux/Android 动态库回退目录、iOS 自定义初始化也适配到新布局。Actions 直接访问官方 GitHub release。
  • 删除已废弃的根目录 rpm/ 入口,以及 package/rpm/seekdb-build.sh、package/deb/seekdb-build.sh、package/tgz/seekdb-build.sh 三个包装入口,移除重复的发行版/预编译参数解析和隐式初始化、编译分支。构建由 build.py 显式执行,打包统一调用 python3 package/package.py 的 rpm、deb、tgz 格式;RPM spec 仍保留在 package/rpm/。workflow 原本就直接调用 Python,入口及打包逻辑保持不变。docs/developer-guide/en/build-and-run.md 相对 master 没有改动。

本地 RPM 复用已有产物的调用示例(输入归档须匹配目标架构和 glibc 2.17,obshell 为已有可执行文件):

python3 package/package.py rpm --version 1.4.0.0 --distribution el7 \
  --binary-package /path/to/binary.tar.gz \
  --obshell-bin /path/to/obshell --output dist

验证

当前验证:取消特殊 ELF 检查(代码基线 ce91725c7dcf9721594f3847e90fd43ae4b5d11c):

  • 原生 Linux x86_64 执行 package.py --help;以系统 /bin/true 作为最小可执行输入,实际完成 binary 导出、归档回读与解包后执行,退出码为 0。该用例验证普通打包入口和依赖收集,不作为完整 seekdb 构建结果。
  • 对历史构造的 FILTER、AUXILIARY、NODEFLIB、AUDIT、DEPAUDIT 五类归档逐个调用实际 binary_distribution.load(),均不再被专项检查拒绝。这里只验证检查已撤回,没有执行这些特殊程序,也不声明其额外库被收集或运行行为得到支持;上一轮“应拒绝”的断言不再属于当前验收范围。
  • 实际回读引擎来源 a130897144ce3a6c0924f5f238f81521479546b5 的 x86_64/glibc 2.17 历史二进制,复用并生成 server 与 libs 两个 TGZ。检查 server 包包含 seekdb、obshell、SRS 资源,且没有已删除的时区数据和导入脚本;未安装或启动完整数据库。首次验证脚本误按一个 TGZ 选包,按既有 server/libs 两个产物修正后完整重跑,产物检查断言保留。
  • 本轮只修改 package/binary_distribution.py 和 package/package.py,两个文件与执行快照逐字节一致;发布 tree 为 efb8c474ef03468f025190d0a3877cc99c8ce514。Python 解析、diff 和提交前检查通过,源码搜索确认 linux_dynamic() 及上述专项报错均已删除。未新增产品单元测试,没有重编译引擎或重跑 RPM/DEB、非 Linux 平台,历史产物包名及源码来源保留。
  • 截至 2026-11-19 06:50:28 UTC,当前提交 CLA 已通过,源码 license 检查与 Clippy/audit 正在运行,mysqltest setup 排队中;未触发全平台打包,历史 CI 结果不计为当前提交通过。

历史验证:NSS、audit、split DWARF 与符号工具回归(代码基线 ca5986768a6980feeac5faad840eab6cc6d1cf26):

  • 最终源码快照新增 14 组原生检查通过,并重跑此前 16 组 ELF/obshell 回归;libaio 的 10 个 DEB、20 个隔离 root 组合和 RPM 元数据/错误输入检查也再次通过。 环境为 Linux x86_64、Ubuntu 24.04/glibc 2.39、GCC 13.3、GNU binutils 2.42、patchelf 0.18,另实际使用 LLVM 18 reader/dwarfdump 与 GDB。新增问题以前一个已发布 head 3de9bfdbfe683634df64a2a2ed96b23a88603f5b 对照;此前 16 组及 libaio 分别保留 ab6595...、7aa18b... 原对照,不混称为相同源码。
  • NSS 的 5 组覆盖:glibc 2.17 基线的私有 NSS 直接依赖导出/回读/DEB 均输出 42;旧漏库归档的回读与 DEB 复用被拒绝;显式 dlopen 插件导出后运行 42;文件名与 SONAME 不同的已加载库别名仍运行 42;真正的 glibc libnss_files.so.2 不捆绑且正常运行。
  • audit 的 4 组覆盖根程序 DT_AUDIT / DT_DEPAUDIT 前后对照,以及两类标签的递归 DSO/显式插件入口。两个根程序原始输出 42、旧归档和 DEB 都输出 99;新导出、旧归档回读与 DEB 复用均明确拒绝,原输入字节不变。递归用例先链接主程序、再替换同 SONAME DSO,避免 GNU linker 将 audit 标签传播到主程序后测错入口;没有放宽结果断言。
  • 符号的 5 组覆盖 DWARF 4、DWARF 5、递归 split-DWARF DSO、普通 GNU reader、普通 LLVM reader。两种 split 格式均复现 DWO 被移走后 GDB 类型不可见,随后确认 DWO 存在、缺失、压缩以及 GNU/LLVM 两种读取路径均明确拒绝 split 输入。普通调试信息仍能分离、通过 debuglink 名称/CRC 校验,GNU/LLVM reader 环境下的成品均输出 42,GDB 仍可解析结构类型;Linux 两种环境均实际选用 GNU objcopy/strip。
  • LLVM 18 的正常 ELF 启动失败保留了分步诊断和 3de9bf... 原基线对照:patchelf 后仍输出 42,LLVM strip 后段偏移失去 4K 对齐并 SIGSEGV,GNU strip 可运行。修复工具选择后,同一正常 ELF 用例完整导出和运行通过。首次无 CRT、强制 core NSS 的合成夹具在本次改动前后均异常,系统 NSS 正例最终使用常规 C 入口;该首次失败单独保留,不计为产品修复或任意 ELF 布局的通过证据。
  • libaio 仍使用真实旧/新 Ubuntu 提供方、root 内显式系统 loader 及原有语义断言;这些是 glibc 2.39 下的库解析隔离组合,并非五种发行版完整安装认证。EL7-target RPM 实际构建/查询通过,但未在 EL7 安装。
  • 本次只修改 package/binary_distribution.py 和 package/debug_symbols.py,两者与最终隔离验证快照逐字节一致;本地/远端发布 tree 为 d554e126b552f1c1376a161b46828bddd242df63。Python 解析、diff、提交前检查通过;Windows 线程命名和 docs/developer-guide/en/build-and-run.md 均仍与 PR 的 master 基线一致。测试脚本保留在仓库外,没有新增产品单元测试,没有重新编译完整 seekdb 或新增非 Linux/aarch64 平台运行,历史包名及引擎来源保持原记录。
  • 截至 2026-11-19 04:38:32 UTC,此历史基线 CLA 已通过;源码 license 检查和 Clippy/audit 正在运行,mysqltest setup 排队中。此次没有触发全平台编译/打包,历史 workflow 成功不计为当前提交通过。

历史验证:libaio 双向别名与全部 ELF 回归(代码基线 3de9bfdbfe683634df64a2a2ed96b23a88603f5b):

  • 最终代码:10 个 DEB、20 个隔离 root 运行组合全部通过,前述 6+10 项 ELF/obshell 检查也完整重跑通过。 libaio 前后对照基线为 7aa18b769d19e16652391aa41b30781dd5299060;16 项既有回归沿用 ab6595a8c767eadf7fcf7f21439a15a289deaf7d 对照,均针对最终验证快照执行。没有把不同基线视为相同源码。
  • 使用真实 Ubuntu 22.04 libaio1 0.3.112-13build1 与 Ubuntu 24.04 libaio1t64 0.3.113-6build1.1。旧包从 Ubuntu 官方下载页 取出,完整 SHA-256 核对为 2dcfe0b49d7cccfbf1bd6a3f627cf44bea9f51fb32f7e0e552a0df75698e0d27;新包由签名 APT 源安装。原生汇编探针分别链接两种实际 SONAME,调用真实 io_setup(0, &ctx),检查返回 -EINVAL 后输出 42,不申请 AIO context。
  • 修复前,要求 .so.1t64 的输入在仅装旧 libaio1 的隔离 root 中退出 127;同一 DEB 在提供 libaio1t64 的 root 中返回 42。修复后对 Debian 12/13、Ubuntu 22.04/24.04/26.04 五个发行版标签分别构建两种输入,共 10 个 DEB,各自交叉两种系统库提供方,共 20 次运行全部返回 42。每个 DEB 的依赖均为原有 libaio1 | libaio1t64, systemd,私有目录只有两条绝对系统别名,没有 libaio 普通文件。
输入要求 root 仅提供的库 修复后
libaio.so.1 libaio1 的 .so.1 原系统名回退成功,输出 42
libaio.so.1 libaio1t64 的 .so.1t64 私有别名成功,输出 42
libaio.so.1t64 libaio1 的 .so.1 新增反向别名成功,输出 42
libaio.so.1t64 libaio1t64 的 .so.1t64 原系统名回退成功,输出 42
  • EL7-target RPM 的标准 .so.1 输入实际构建成功,查询确认保留 libaio、systemd 和正常 .so.1 自动依赖,没有 .so.1t64 自动依赖;T64 输入在发布前被明确拒绝。非标准 libaio.so 输入的 RPM/DEB 均在丢弃库前报错,不再悄悄生成缺库的系统包。
  • 隔离 root 均使用宿主 Ubuntu 24.04/glibc 2.39 的系统 loader/libc,加上各自真实 libaio 提供方;没有完整安装五种发行版。首次直接 chroot 启动时,最小 root 缺少 /proc/self/exe 导致主程序无法确定 $ORIGIN;已用 --list 确认别名解析正确,随后通过 root 内系统 loader 显式指定 /usr/bin/seekdb 完成验证。没有设置 LD_LIBRARY_PATH 或放宽运行结果断言,此准备环境差异不作为产品缺陷或五个完整 OS 的认证结果。
  • 此历史基线只改 package/package.py,与该轮最终集成快照逐字节一致,Python 解析、diff、提交前检查通过;远端与本地验证 tree 均为 37177d415c33231a2c0c0c51d159be8e498763a3。没有新增产品单元测试、未重编译完整 seekdb 引擎,未在 EL7/EL8 完整系统安装 RPM,也未新增 aarch64 或非 Linux 平台执行。历史产品包名及各自引擎来源保持原记录。
  • 截至 2026-11-19 03:58:54 UTC,此历史基线 CLA、源码 license 检查通过,Clippy/audit 和 mysqltest setup 正在运行;历史 CI 成功不计为当前提交通过。

历史验证:loader 与 obshell,并回归 ELF 属性(代码基线 7aa18b769d19e16652391aa41b30781dd5299060):

  • Linux x86_64 / Ubuntu 24.04 / glibc 2.39 / GCC 13.3.0 / GNU binutils 2.42 / patchelf 0.18.0:最终 16 项集成检查通过。 对照基线为 ab6595a8c767eadf7fcf7f21439a15a289deaf7d;其中 6 项覆盖新修复,10 项在最终代码上完整重跑前一轮 filter/NODEFLIB、正常依赖链、插件、字符串误判与历史归档回归。脚本和原生 C/ELF 探针仅用于隔离验证,不作为完整 seekdb 构建结果。
  • 私有 interpreter 用复制的 loader 和真实链接器 --dynamic-linker 构造。原程序返回 42,修复前 binary 导出、回读和 DEB 构建均成功;只移除原 loader 后,归档和 DEB 的可执行文件均由内核返回 ENOENT。修复后新导出、旧归档回读和 DEB 复用均在发布前拒绝该路径,提示 PT_INTERP 及规范 loader,输入文件字节不变。普通系统 loader 的 binary 导出、回读、执行仍返回 42。
  • 私有 obshell 用真实 DT_NEEDED=libobshell_private.so 构造。原 helper 返回 42;修复前 DEB 中的引擎返回 42、helper 因缺少该库退出 127。修复后 DEB、TGZ 和直接构建目录的 DEB 路径均明确拒绝该 helper、没有生成对应包。另以 libnss_review.so.2 构造名字类似系统库的私有依赖:修复前缺库退出 127,精确 SONAME 检查后被拒绝。
  • 静态链接、没有 PT_INTERP 的 helper 成功生成 DEB,解包后的引擎和 helper 都返回 42。真实历史 seekdb/obshell 继续取自 run 44031186819,引擎来源为 a130897144ce3a6c0924f5f238f81521479546b5、x86_64/glibc 2.17;其规范 loader 和四项系统库导入通过新校验,实际生成 Ubuntu 24.04 DEB,资源、obshell 和 libaio1 | libaio1t64, systemd 依赖保留,不含已删除的时区数据/工具。历史完整引擎只做归档和打包验证,没有安装或启动数据库。
  • 两个改动模块与最终验证快照逐字节一致,Python 解析、diff 和提交前检查通过;远端与本地验证版本的 tree 均为 6a89e1b1188d8bfc9739d0fddefbcfa7d23cdb0a。先用 5 项新检查及 10 项回归验证核心路径,再将 helper 系统库判断收紧为精确 SONAME、补充同名私有库对照,最终对 6+10 项全部重跑通过。没有添加产品单元测试或放宽已有产品断言,验证脚本未加入 PR,Windows 线程命名仍保持 master 原实现。
  • 本轮未重编译完整引擎、未新跑 RPM、Linux aarch64、glibc 2.17/2.28 宿主或非 Linux 平台执行;aarch64 loader 路径和 RPM 复用共用校验仅由源码确认,不计为这些平台实测通过。
  • 截至 2026-11-19 03:25:26 UTC,此历史基线 CLA、源码 license 检查通过,Clippy/audit 和 mysqltest setup 正在运行;历史 CI 成功不计为当前提交通过。

历史验证:Linux ELF 加载属性校验(代码基线 3fc6360017436d2fce3987efa0eab330b69cb1e7):

  • Linux x86_64 / Ubuntu 24.04 / glibc 2.39 / GNU binutils 2.42 / GCC 13.3.0:10 项集成检查全部通过。 使用实际编译的 ELF 和真实 binary --seekdb-bin、归档回读、deb --binary-package 命令。评审提交为 9731970412e7a1ed4f5eacf174f86430fa02d236,复现基线为 ab6595a8c767eadf7fcf7f21439a15a289deaf7d,已核对受影响模块在两者中逐字节一致。
原生输入 原程序输出 修复前导出的归档与 DEB 修复后
含 DT_FILTER 的 DSO 42 缺少 libbackend.so,均退出 127 新导出、旧归档回读、DEB 复用均明确拒绝
含 DT_AUXILIARY 的 DSO 42 均静默返回 -1 新导出、旧归档回读、DEB 复用均明确拒绝
主程序含 DF_1_NODEFLIB,通过私有目录找到 libc 42 找不到 libc.so.6,均退出 127 新导出、旧归档回读、DEB 复用均明确拒绝
递归 DSO 含 DF_1_NODEFLIB,通过私有目录找到 libm 42 找不到 libm.so.6,均退出 127 新导出、旧归档回读、DEB 复用均明确拒绝
  • 上述四类输入在修复前均成功导出、通过 manifest/ABI 校验并生成 DEB;修复后均在发布前报出对应属性和文件,未生成归档或 DEB,原始输入字节不变。另外验证 --extra-library 的 auxiliary filter 和直接构建目录中的 NODEFLIB 输入也不能绕过校验。
  • 三类正常对照通过 binary/独立 debug-info 导出、回读、剥离检查、成品执行及 DEB 解包执行,均返回 42:普通 DT_NEEDED 两级依赖链与继承的 RPATH(保留 NOW/ORIGIN 等正常标志)、通过 dlopen 加载的显式插件,以及 RUNPATH 字符串里包含 (FILTER) (AUXILIARY) (FLAGS_1) NODEFLIB 字样但没有这些实际属性的程序。未设置 LD_LIBRARY_PATH、LD_PRELOAD 或 LD_AUDIT;正常 DEB 的 libaio1 | libaio1t64, systemd 声明保持一致。
  • 历史完整 seekdb 二进制和 obshell 取自 run 44031186819 的原始输入,seekdb 来源为 a130897144ce3a6c0924f5f238f81521479546b5、x86_64/glibc 2.17。新校验通过后实际生成 Ubuntu 24.04 DEB,SQL、SRS、SRS 工具、obshell 和依赖声明保留,不含已删除的时区数据及导入工具。该项检查归档、ELF、包构建和文件列表,没有安装系统包或启动数据库。
  • 本提交只改 package/binary_distribution.py,与最终验证快照逐字节一致;Python 解析、diff 和提交前检查通过。远端提交与本地验证版本的 tree 均为 716ba5a9ce901456c84cf13f222151709e7f8239。Windows 线程命名仍与 PR 的 master 基线一致。隔离验证脚本未加入 PR,没有新增产品单元测试或修改既有产品断言,临时验证容器已移除。首轮 9 项通过后细化为按真实 tag 行解析,补充同名 RUNPATH 字符串对照,再对最终代码重跑全部 10 项通过。
  • 本轮未重编译完整引擎、未重跑 RPM 或非 Linux 平台执行,也未在 Linux aarch64、glibc 2.17/2.28 宿主运行这些新用例;RPM 使用同一 Linux 校验路径仅由源码确认,不能据此计为 RPM 实测通过。
  • 截至 2026-11-19 03:03:28 UTC,此历史基线 CLA、源码 license 检查通过,Clippy/audit 正在运行,mysqltest setup 排队;历史 CI 成功不计为本提交通过。

历史验证:恢复 Windows 线程命名调用(代码基线 ab6595a8c767eadf7fcf7f21439a15a289deaf7d):

  • 本提交只修改 src/oblib/lib/thread/ob_thread_name.cpp,由动态查找恢复为直接调用 SetThreadDescription。已将整个文件与 PR 的 master 基线 6feab6323d97a0cf86ca6c4b50bdbf3d7433c6ef 逐字节比较,完全一致,该文件相对 PR base 的 diff 为空;字符编码转换和其他平台分支均恢复为同一基线的内容。
  • git diff --check、staged diff 和提交前检查通过。没有新增单元测试,本轮未重编译 Windows seekdb 引擎、未重打 Windows ZIP 或执行 Windows 运行验证;下面的历史 Windows 构建记录不作为本提交的验证结果。
  • 远端提交与本地检查版本的 tree 均为 74dcfbabb4c49b94f8f2b8c945f71738b319f04e,本地分支已同步。各平台历史包名、引擎来源和既有验证记录保留。
  • 截至 2026-11-19 02:40:52 UTC,此历史基线 CLA 通过,源码 license 与 Clippy/audit 正在运行,mysqltest setup 排队;未将历史基线的成功状态计为本提交通过。

历史验证:清理时区打包入口(代码基线 9731970412e7a1ed4f5eacf174f86430fa02d236):

  • 对照基线为 b7474fb7f6c48e2119e62827f08be21f49db7d0d。对照命令设置 SEEKDB_TIMEZONE_FILE 后仍会复制数据并分发导入脚本;清理后相同环境变量被忽略,两个 CLI 均拒绝已删除的 --timezone-file。全仓库已无 timezone_V1.log、SEEKDB_TIMEZONE_FILE、--timezone-file 或 import_time_zone_info.py 的代码引用。
  • Linux x86_64 / Ubuntu 24.04:9 项集成检查通过。 实际执行 workflow 的 .github/scripts/package.py export,以原生汇编探针验证新的 binary/独立 debug-info 导出、manifest 回读和成品运行;旧源码、缓存文件和旧环境变量均未把时区数据带入归档,时区导入工具也不再分发。探针版本为 0.0.0、源码 SHA 为全零,不作为完整引擎构建结果。
  • 使用 run 44031186819 的原始 Linux x86_64/glibc 2.17 二进制归档,引擎来源为 a130897144ce3a6c0924f5f238f81521479546b5。实际重打 EL7 RPM、Ubuntu 22.04 DEB,并以新探针归档生成 DEB,均不含旧时区数据或导入工具;SQL、SRS、SRS 导入工具和 obshell 保留。RPM 的 libaio, systemd 与 DEB 的 libaio1 | libaio1t64, systemd 依赖声明保持原有规则。本轮检查包构建、元数据和文件列表,没有安装系统包或启动完整数据库。部署脚本在默认环境和设置旧环境变量时均不复制时区数据;未使用的 symbolizer 复制输入为 /bin/true,未执行该工具。
  • macOS 原生 / Windows 归档处理 / matrix:7 项检查通过。 macOS arm64、最低目标 15.0 的 C 探针完成 binary/独立 dSYM 导出、剥离校验、manifest 回读和成品运行;使用对照基线生成的含旧数据及导入工具的归档重打 TGZ,两者均被排除,SQL、SRS 和 SRS 工具保留。Windows 历史 /MD ZIP 来源为 fcdcc85213a594c412ad5b3d83bfff6db69d378e,在 macOS 上完成真实 PE/manifest 校验与 staging;新 payload 不含时区数据,18 个 DLL 和依赖来源记录保留。这不是 Windows 原生运行或 MSI/WiX 构建验证。实际 matrix 输出仍为 9 个二进制目标、14 个系统包目标。
  • Python/JSON 解析、Bash 语法及 staged diff 检查通过。四个改动文件与验证快照一致;经 GitHub Git Data API 提交后,远端与本地验证版本的 tree 均为 d36bf0be8744b1250cda68d9be267329374694e3,本地分支已同步。没有添加产品单元测试或修改既有产品断言;隔离验证脚本不加入 PR。没有重编译完整 seekdb 引擎或手动重跑全平台打包,未重验 Android/iOS 原生执行及数据库 SQL 时区行为。
  • 截至 2026-11-19 02:21:45 UTC,此历史基线 CLA 和源码 license 检查通过,Clippy/audit 正在运行,mysqltest setup 排队;历史基线的 CI 成功不计为本提交通过。

历史验证:模块命名调整(代码基线 b7474fb7f6c48e2119e62827f08be21f49db7d0d):

  • 对照基线为 130a21d625d1ee18c7fd96b1d5000bb7c0aba19f。binary_distribution.py 与原文件逐字节相同;七个相关模块在归一化导入名及 MSI 调用接收者后 AST 结构一致。全仓库检查了直接导入、动态文件路径和间接模块属性引用。直接 Git 推送遇到连接错误后,通过 GitHub Git Data API 提交;已确认远端提交和本地验证版本的 tree 均为 3b87c8d8a090ccebb7662703a647801178da4249,并同步本地分支到同一提交。
  • 本机 macOS arm64、最低目标 15.0 的原生 C 探针通过 binary/独立 dSYM 导出、manifest 回读、剥离校验、成品执行和 TGZ 重包,覆盖新模块之间的实际调用。三个打包入口的 CLI help 和 Python 解析通过;实际执行 workflow matrix,仍生成 9 个二进制目标和 14 个系统包目标。
  • MSI 的新直接导入在全新 Python 进程中加载,并调用同一 debug_symbols.strip_tree 对历史 Windows /MD 归档的真实 PE/DLL 内容执行检查,通过后再次验证无调试负载;引擎来源为 fcdcc85213a594c412ad5b3d83bfff6db69d378e。这是 macOS 上的 Windows 归档处理验证,不计为 Windows 原生运行或完整 MSI/WiX 构建。iOS CLI 导入已检查,本轮未重编译完整 seekdb 引擎或重跑 iOS 构建,未添加产品单元测试。
  • 此代码基线的 CLA、源码 license、Clippy/audit 已通过;后续执行的 mysqltest setup、4 个实际 slice 和 collect 也已通过。另有按变更范围跳过的同名检查;上述结果属于 b7474fb,不作为本次清理提交的 CI 结果。

历史验证:默认省略时区数据(代码基线 130a21d625d1ee18c7fd96b1d5000bb7c0aba19f):

  • Linux x86_64 / Ubuntu 24.04:8 项集成检查通过。 修复前基线 d5a8d64e8a73daebdb6f0d913c2b9ae72436b88e 在无时区文件时重现 required timezone data is missing。修复后用新编译的原生汇编探针运行实际 .github/scripts/package.py export,同时放置旧源码/缓存时区文件,确认它们均未进入新归档;归档回读、manifest 校验、成品执行及导入工具保留检查通过。新探针不依赖 libc,归档版本为 0.0.0、源码 SHA 为全零,不作为 seekdb 引擎构建结果。
  • 历史 seekdb 二进制取自 run 44031186819,引擎源码为 a130897144ce3a6c0924f5f238f81521479546b5、Linux x86_64/glibc 2.17。保持原始归档不变,通过真实 --binary-package 分别生成 EL7 RPM 和 Ubuntu 22.04 DEB,文件列表均无时区数据且保留 SQL、SRS 和导入工具;RPM 的 libaio, systemd 以及 DEB 的 libaio1 | libaio1t64, systemd 声明保留。无时区文件的新探针归档也成功生成 DEB。系统包检查范围是构建、元数据和文件列表,没有安装或启动完整数据库。
  • Linux 显式 --timezone-file 的二进制导出、归档回读及数据逐字节对照通过;开发部署脚本的默认省略和显式环境变量复制通过。部署复制检查中未使用的 symbolizer 输入以 /bin/true 占位,没有执行该工具。
  • macOS 原生 / Windows 归档处理 / workflow matrix:6 项检查通过。 macOS arm64 以 15.0 为目标编译 C 探针,完成无时区资源的 binary/独立 dSYM 导出、归档回读、成品执行、TGZ 重包,以及显式 SEEKDB_TIMEZONE_FILE 输入验证。Windows /MD 使用历史引擎 fcdcc85213a594c412ad5b3d83bfff6db69d378e 的 ZIP,在 macOS 上验证 PE/manifest 回读、历史包 staging 省略时区目录,以及无该目录的新 ZIP 回读;这不是 Windows 原生运行检查。实际执行 matrix CLI,仍输出 9 个二进制目标和 14 个系统包目标。
  • 验证快照中的六个改动文件与本提交逐字节一致。Python/JSON 解析、Bash 语法、MSI CLI help、staged diff 检查通过;未添加产品单元测试,也未放宽语义断言。当前平台时区支持范围不变,本轮没有重编译完整引擎、重验 SQL 时区行为或重跑 Android/iOS/Windows 原生构建。
  • 验证准备中曾尝试把历史已经处理过的 libaio.so.1 再当原始依赖导出,被既有的 ELF 对齐检查拒绝;原文件的相关 LOAD offset 为 4168、vaddr 为 4194304、alignment 为 2097152。本轮没有修改 ELF/RPATH 处理或放宽校验,新导出验证改用新编译探针,历史 RPM/DEB 复用仍使用原始归档。本地 matrix 首次调用缺少 GITHUB_SHA,补齐调用环境并读取既有 linux_matrix 输出后完成检查。
  • 该代码基线的 CLA、源码 license 和 Clippy/audit 均已通过;mysqltest 的 setup/slices/collect 因变更范围跳过,不计为数据库测试通过。

历史验证:符号导出修复(代码基线 d5a8d64e8a73daebdb6f0d913c2b9ae72436b88e):

  • 对应 mini-debuginfo、旧 debuglink、PDB 身份校验 三个 review comment。对照输入均在修复前 3e8686705ac66a5157f6568076a670ea3e865f9f 复现,修复后打包实现与本轮代码基线逐字节一致。
  • Linux x86_64 / Ubuntu 24.04 / GNU binutils 2.42:8 项前后对照集成检查通过。 使用真实编译的 ELF,分别构造仅有 mini-debuginfo、mini-debuginfo 与 DWARF 共存、已有旧 debuglink 三种输入,运行实际 binary --seekdb-bin CLI;另外以校验和有效且包含 mini-debuginfo 的归档运行实际 deb --binary-package。修复前重现两个导出失败、旧链接残留和 DEB 失败;修复后成品可运行且无调试负载,外部调试文件保留原 mini-debuginfo 字节,独立使用 pyelftools 验证新 debuglink 文件名/CRC,GDB 自动加载新符号并定位到原 C 文件第 2 行;DEB 解包后的程序也可运行。
  • Linux 上的 PE/PDB 工具链验证:6 项前后对照检查通过。 clang-cl/lld-link 实际生成两组 PE/PDB,再构造 CodeView age 不一致的输入。旧实现接受同名错误 GUID/age 的 PDB;修复后两者在复制 PDB 前被拒绝,匹配对照成功且 manifest 记录 GUID/age。该项是 Linux 上处理 Windows 格式文件,不计为 Windows 系统运行验证。
  • LLVM 13.0.1 ELF 实际执行检查通过:保留外部 mini-debuginfo、移除成品内该节、替换旧 debuglink 并验证 CRC,成品程序输出预期值。
  • Windows 原生验证:windows-2022 run 44235029418 首次运行成功,共 9 项检查通过。 使用真实初始化的 LLVM 18.1.8 SDK,确认无需预设 SDK PATH 即可定位 llvm-readobj.exe / llvm-pdbutil.exe;先执行上述 6 项 PE/PDB 对照,再用实际 /MD 编译的程序执行 3 项完整 binary --seekdb-bin --layout windows CLI 检查。匹配的 PDB 通过 GUID/age、manifest 与成品哈希校验,解压后的成品无调试负载且输出 42;错误 GUID 和错误 age 均被拒绝,未发布 ZIP。已下载并核对 9 项结果 JSON。验证分支提交为 4ed897d83205f06225038b0a0c8fe5d39558d544,与 PR head 仅有临时 .github/workflows/seekdb.yml 入口及两个 .github/scripts/review-symbols/ 验证脚本的差异,三个打包实现文件逐字节相同;这些临时文件不加入 PR。
  • Python 语法及 diff 检查通过;截至 2026-11-18 04:12:42 UTC,本轮提交的 CLA、源码 license、Clippy/audit 均通过;mysqltest 的 setup/slices/collect 因变更范围跳过,不计为数据库测试通过。
  • 本轮使用小型原生程序和隔离的 SQL/资源占位文件验证打包命令,没有重新编译完整 seekdb 引擎或重打历史产品包;没有添加产品单元测试或放宽断言。Linux 容器初始缺少 libc6-dev 和 patchelf,补齐后原样运行通过;临时容器已移除。Android 共享 ELF 处理路径仅由源码推断,此轮未在 Android 上重跑;macOS/iOS 的符号逻辑未改动,也未重验。

历史验证:处理 review comment 4598341180(3e8686705ac66a5157f6568076a670ea3e865f9f):

  • 问题发生在 Linux x86_64 的构建机具备 x86-64-v3 能力、依赖同时有普通基线库和 glibc-hwcaps/x86-64-v3 优化库时。旧收集器优先选宿主可用的优化 DSO,却把它复制成普通 lib/seekdb/<SONAME>,丢弃基线回退;导出的 glibc=2.17 元数据并不约束 AVX2,旧 CPU 因而可能 SIGILL。
  • 修复后,扁平化的 Linux runtime 只收集基线库,不展开宿主 hwcaps 子目录,并忽略 ld.so.cache 中标有 hwcap 的条目。显式搜索目录、插件输入及其真实符号链接目标也会检查:仅有 hwcaps 变体时拒绝导出,并提示通过 --runtime-lib-dir 提供基线库。没有修改包名、版本元数据或其他平台的处理逻辑。
  • 源码追踪:本 PR 的 aab913f49 新增了缓存依赖的扁平化复制;9570bdf8d 又增加 hwcaps 子目录优先查找,3b0c7c2cf 增加宿主能力过滤。以上路径仍未保留运行目标 CPU 的门控。本轮实测的修复前基线为 48a87e4486110ddba2e570342ab710d3c04fcff6,修复后文件与代码基线 3e8686705ac66a5157f6568076a670ea3e865f9f 逐字节一致。
  • 在隔离的 Ubuntu 24.04、glibc 2.39、Linux x86_64 容器中编译实际 ELF 探针和同 SONAME 的两份 DSO:基线返回标记 11,优化版实际执行 AVX2 vpsllvd 并返回 33。探针使用 _start/系统调用,库没有 libc 符号依赖;使用真实 prepare → write → load 导出、校验并导入 glibc=2.17 归档。还使用 QEMU Nehalem 模拟无 AVX2 CPU。下表是探针的返回标记,不是 seekdb 引擎的退出码:
输入 原生 AVX2 宿主 --glibc-hwcaps-mask '' QEMU Nehalem(无 AVX2)
原始程序 + 保留门控的库目录 33 11 11
修复前导出并校验通过的归档 33 33 SIGILL(进程状态 -4)
修复后导出并校验通过的归档 11 11 11
  • 11 项实际集成检查全部通过:覆盖上述原始/修复前/修复后运行、真实 ldconfig 缓存查找(也重现旧归档的 SIGILL)、hwcaps-only 依赖拒绝、显式优化搜索目录拒绝、符号链接到优化库拒绝、显式/符号链接插件拒绝,以及移走原始库后归档继续运行。未模拟 ldconfig 输出;没有修改既有测试断言或添加单元测试。验证脚本和生成的探针留在工作区,不加入成品包。
  • 该代码基线的 Python 语法及 diff 检查通过;CLA、源码 license、Clippy/audit 均已通过,mysqltest 因变更范围跳过。此处验证的是 Linux 打包器的实际 ELF 集成场景,没有重编译完整 seekdb 引擎或重打各平台成品;下方保留的历史产物不作为当前 head 重新构建的证据。

macOS 构建并行优化(代码基线 48a87e4486110ddba2e570342ab710d3c04fcff6):

  • 默认 jobs=0 时 macOS 从 --jobs=1 调整为 --jobs=2,iOS 仍为 1,Linux/Windows/Android 仍为 2;手动输入的 jobs 继续直接传给 Bazel。构建日志打印实际并行度,macOS 额外记录 CPU、内存和构建前后的 swap;诊断命令失败不影响构建结果。保持 O2、line_tables_only、最低系统 15.0、依赖锁定和单独调试包;仍仅缓存 deps。
  • 双路并行实测 run 44084346734 第 1 次尝试完整通过。实际机器为 macOS 15.8.2、3 核、7 GiB 内存;日志确认 Building macos with --jobs=2。与上一次 macOS 15 的单路构建对比如下,均为完整引擎冷编译,未复用编译缓存:
阶段 单路 run 44066671968 双路 run 44084346734
依赖初始化 4m23s 4m09s
完整引擎编译 74m42s 43m49s
二进制 job(不含排队) 82m22s 51m41s
归档导出/回读/成品 CLI 检查 2m05s 2m17s
  • 本次编译阶段缩短 30m53s / 41.3%,单次速度比为 1.70x;二进制 job 缩短 37.3%。两次源码的引擎、Bazel 配置、build.py、依赖 lock/初始化代码无差异,Bazel 均完成 2,936 个 action、1,385 次 darwin-sandbox 执行。两次使用相同 runner 标签和 macOS 15.8.2,但镜像由 20261104.0514.1 更新到 20261112.0539.3;这是不同 VM 上的单次运行对比,不能将 41.3% 全部当作固定镜像 A/B 的并行收益或后续每次运行的保证。
  • 已下载并解析 Bazel JSON trace:本地 action 并发采样最大值为 2,均值约 1.91;实际并行已生效。日志中的构建前、后两次 swap used 均为 0,仅代表这两个采样点。该 profile 只用于本次诊断,不加入成品包或编译缓存。
  • 成品/调试归档导出、调试信息分离、最低系统/动态库检查、归档回读和成品 seekdb --version 均通过,并上传 binary-macos15-arm64 与 debug-info-macos15-arm64,共 4 个文件。未将该 CLI 检查计为完整 macOS SQL/向量工作负载验证,本轮没有重建其他平台。
  • 验证提交为 95e92248052c0539b2f5777b92dc8b8156e627d5,与当时 PR head 48a87e4486110ddba2e570342ab710d3c04fcff6 仅有 .github/workflows/seekdb.yml 的差异:对应 package workflow 复制为已注册入口,加一个默认 Bazel JSON trace 的上传步骤。打包脚本与当时 PR head 相同;本地默认/显式 jobs 选择、Python 语法、Actionlint 和 diff 检查通过,该代码基线的 CLA、Clippy/audit、源码 license 检查通过;mysqltest 因变更范围跳过。

验证脚本拆分(代码基线 c9d0ee316a161a8c594bd1ab1c445e8520305fe5):

  • DEB 的低资源测试配置放在 .github/scripts/fixtures/seekdb-smoke.cnf,.github/scripts/check_deb.py 负责目标发行版容器、安装、service 文件检查、配置覆盖、启动/停止和 SQL 读写验证。Windows 的既有 PowerShell 检查原样移到 .github/scripts/check_windows.ps1;YAML 中的两个验证步骤只保留脚本调用。
  • Python CLI --help、AST 语法、Actionlint 和 diff 检查通过。验证逻辑仍覆盖 CLI、systemd service 文件、安装后的启动 helper、SQL 读写、停止 helper 和失败日志。
  • run 44081244203 已成功:复用 run 44031186819 的 Linux glibc 2.28/x86_64 二进制,Debian 12/13、Ubuntu 22.04/24.04/26.04 的 5 个 DEB 构建、安装、service 文件检查、启动 helper、SQL 读写及停止 helper 检查全部通过;日志均包含 Installed seekdb passed SQL read/write checks 和停止进程记录。独立 Windows PowerShell 脚本也使用历史 MD 成品通过 seekdb.exe --version 检查。本轮二进制构建 job 跳过,没有重新初始化 SDK 或编译引擎;未重验 aarch64 或其他平台。
  • 第 1 次尝试的 prepare 在查询历史 run 元数据时遇到 GitHub API 502 Bad Gateway,当时尚未执行 DEB 验证;仅重试失败任务后,第 2 次尝试完成且成功,没有为此修改源码。Windows 检查在第 1 次尝试已通过。
  • 该代码基线的 CLA、Clippy/audit、源码 license 检查通过;mysqltest 的 setup/slices/collect 因变更范围跳过,不计为数据库测试通过。
  • 验证分支提交为 e59c3a5b032bbc3bf39090f769643f3b6a0b538a;它与当时 PR head c9d0ee316a161a8c594bd1ab1c445e8520305fe5 仅有 .github/workflows/seekdb.yml 的差异,即将对应 package.yml 原样复制为已注册入口,再增加一个复用历史 Windows artifact 的验证 job;打包代码、脚本和测试配置与当时 PR head 一致。历史二进制源码为 a130897144ce3a6c0924f5f238f81521479546b5,不将其计为当前 head 的引擎构建。

macOS 15.0 目标切换验证(代码基线 6c2b17b83698ebc7e76872a4f077168d4dd3bf6e):

  • C/C++ 的 Bazel 最低目标、MACOSX_DEPLOYMENT_TARGET、Rust 工具链环境、PKG 的三个 Swift 工具和菜单栏应用 Info.plist 统一为 15.0;PKG 文件名按最低目标标识为 macos15。
  • 原生依赖初始化选择 oceanbase.macos15.arm64.deps,即 development-kit/darwin/15/arm64 的 12 个既有包;即使在更新的 macOS 主机上也使用该基线。当前锁定的 jemalloc/VSAG min13 发布包继续保留,其最低版本不高于新目标 15。
  • workflow 的 macOS 目标及依赖 cache 标识改为 macos15-arm64,cache key 使用 macOS 15 清单;发布时检查主程序和随包 dylib 的最低系统要求不高于 15.0,并回读导出的归档后执行其中的 seekdb --version。
  • 本机 macOS 27.0.1 上以 15.0 目标编译 C 可执行文件/dylib fixture,实际执行完整 Python 二进制/调试包导出、回读、剥离校验和移走原 dylib 后的运行;15.0 归档被接受,要求 16.0 的 dylib 被拒绝。这是工具链 fixture 验证,不是 seekdb 引擎运行结果。
  • 三个真实 Swift 辅助程序均以 15.0 目标编译通过,Info.plist 最低版本检查、Python 语法、matrix 单平台/全平台、SDK cache key、Bash 语法、Actionlint 和 diff 检查通过。
  • macOS 15 独立打包 run 44066671968 第 1 次尝试成功,实际 runner 为 macOS 15.8.2 arm64。依赖初始化 4m23s、保存 deps 缓存 40s、完整引擎编译 74m42s、导出/回读/成品启动检查 2m05s;二进制 job 82m22s,从 dispatch 至结束 84m22s。构建提交为 c64d88ca1c2aedb6e19ef821fa55f41c8b37b526,与当时 PR head 6c2b17b83698ebc7e76872a4f077168d4dd3bf6e 仅有 package.yml 原样复制到已注册 seekdb.yml 入口的差异,已检查文件列表和逐字节相等。
  • 导出的实际归档成功回读并执行 seekdb --version,输出版本 1.4.0.0 和上述源码 revision;主程序/随包 dylib 的最低系统检查、成品调试信息剥离与独立 dSYM 导出均通过。实际上传 binary-macos15-arm64 和 debug-info-macos15-arm64 两个 artifact,共 4 个文件(两个 .tar.gz 及各自的 .sha256)。这是成品 CLI 检查,没有将其计为完整 SQL/向量工作负载测试。
  • 新产物分组为 binary-macos15-arm64 / debug-info-macos15-arm64;归档平台标识为 macos15.0-arm64。macOS 15 这次验证中其余平台没有重打,以下全平台实测属于旧代码基线。该代码基线的 CLA、Clippy/audit、源码 license 检查通过;mysqltest 因变更范围而跳过,不计为本轮数据库测试通过。

历史:Shell 入口清理的本地验证(2f860178cd09afab1653175f4fda7e93e5689200):

  • RPM/DEB/TGZ 的直接 Python --help 命令均通过,确认已有的 --binary-package 和 --seekdb-bin 输入选项保留。
  • 直接调用 Python CLI:RPM 搭配 Debian 12、DEB 搭配 EL7 两种错误发行版参数都返回退出码 2,报错发生在生成文件之前;参数约束由 Python 入口统一处理。
  • 全仓搜索确认已无三个旧 Shell 入口的调用或残留引用;Actionlint 和暂存区空白检查通过。
  • git diff 13e1983e617ea44f5d8bac88333a9e7361e7899b HEAD 仅删除三个 Shell 文件,共 98 行;Python 打包模块、workflow 及产品代码未改动。本次未重跑完整引擎编译和打包,下面的全平台实测仍属于已注明的构建基线。

代码基线 788684d2f25456401619e4b130bdc01fe3a9b208 的 rebase 后本地验证记录:

  • actionlint .github/workflows/package.yml、10 个 Python 文件的语法检查、RPM/DEB/TGZ 包装脚本的 bash -n、git diff --check 和暂存区空白检查均通过。
  • 实际执行 108 组平台/glibc/格式矩阵组合,检查二进制引用和目标唯一性;全选时仍为 9 个二进制目标、14 个系统包任务,并启用 iOS XCFramework。
  • 修改临时副本中的 deps.lock.json 后,实际运行环境配置命令,确认 SDK cache key 随之变化。deps/init/prepare.py --help 验证 Linux profile 参数仍可用。
  • 用当前初始化器解包真实 Windows jemalloc/VSAG SDK,再用历史 Windows 二进制执行当前 staging:验证统一前缀、两项依赖的许可证、SDK manifest、当前 lock 文件的逐字节复制,以及主程序哈希和 18 个 DLL。该检查使用临时 lock 指向历史 VSAG e8260eea65ea、历史引擎 fcdcc85213a5,仅验证目录和打包适配;没有把它当作当前 master 固定的 VSAG 97588f036a3a 或当前引擎的构建结果。
  • 确认 MODULE.bazel、MODULE.bazel.lock、master 的 jemalloc 规则、Windows .deps profile 和 build-and-run.md 相对 master 均无差异。

2026-11-17 全平台重新打包实测(macOS 15 切换前的历史基线)

run 44031186819 已完成,第 1 次尝试的 25 个 job 全部成功,无失败或重试:prepare 1 个、完整二进制/framework 构建 9 个、系统包 14 个、XCFramework 1 个。实际上传 33 个 artifact、84 个文件,API 为全部 artifact 提供 SHA-256 digest;本次没有独立下载全部归档重新计算哈希。

构建提交为 a130897144ce3a6c0924f5f238f81521479546b5(临时分支 codex/package-all-20261117)。已用 git diff --name-only 788684d2f25456401619e4b130bdc01fe3a9b208 a130897144ce3a6c0924f5f238f81521479546b5 确认只有 .github/workflows/seekdb.yml 不同,并逐字节确认该入口是 package.yml 的原样副本。因此以下构建验证 PR head 788684d2f25456401619e4b130bdc01fe3a9b208 的产品与打包代码,归档记录的实际源码 SHA 保留为 a130897144ce…;不把两个完整 tree 写成相同。

后续清理分两次提交:13e1983e617ea44f5d8bac88333a9e7361e7899b 删除新增 README,2f860178cd09afab1653175f4fda7e93e5689200 删除三个未被 workflow 调用的 Shell 包装入口。该 Shell 清理提交相对上述代码基线仅删除这四个文件,已通过 git diff --name-status 确认;产品源码、Python 打包实现和 workflow 文件保持一致。本次入口清理的本地检查列在上方,没有重新运行下面的全平台构建,已有产物保留原始源码 SHA。

二进制/framework 目标 编译步骤耗时 二进制/独立调试产物
linux-x86_64-glibc2.17 28m00s 成品 / 调试
linux-x86_64-glibc2.28 25m19s 成品 / 调试
linux-aarch64-glibc2.17 37m03s 成品 / 调试
linux-aarch64-glibc2.28 38m48s 成品 / 调试
macos13-arm64 68m32s 成品 / 调试
windows-x86_64-md 35m30s 成品 / 调试
android-arm64-api26 24m39s 成品 / 调试
ios18.0-arm64 84m01s 成品 / 调试
ios18.0-simulator-arm64 67m22s 成品 / 调试
  • 9 个目标均完成依赖初始化和单一 deps cache 保存,初始化步骤耗时 1m23s–4m20s。上表仅统计编译步骤,未把 runner 排队时间算入;不同 runner 的耗时不能直接作为受控性能比较。
  • Windows /MD 在 windows-2022 上通过完整编译、DLL/目标/剥离检查、runtime/PDB 导出,以及解压后 seekdb.exe --version。本轮使用 master deps.lock.json 的 Windows jemalloc 845c8920ddfb 和 VSAG 97588f036a3a,实际经过新版统一 SDK 的许可证与 manifest 收集流程。
  • EL7/EL8 的 x86_64/aarch64 共 4 个 RPM 全部构建成功;Debian 12/13、Ubuntu 22.04/24.04/26.04 的 amd64/arm64 共 10 个 DEB 全部构建成功。14 个系统包均复用本轮已生成的 Linux 二进制和 obshell,不再初始化 SDK 或编译引擎;DEB 使用 glibc 2.28,RPM 分别使用匹配的 2.17/2.28。
  • 10 个 DEB 全部在对应官方发行版容器和原生架构 runner 上通过 APT 安装、引擎加载、systemd unit 检查、已安装服务辅助脚本启动、SQL create/insert/read/drop、正常关闭和上传。保留 libaio1 | libaio1t64, systemd 依赖;4 个 RPM 本轮验证到构建、ABI/剥离检查,没有重新执行 EL7/EL8 的安装启动测试。
  • iOS 真机和模拟器 framework/dSYM 导出均成功,XCFramework 组合 job 随后通过归档回读、组合、元数据/剥离检查和 Swift import;组合步骤 0m25s,没有重编译引擎。

**验证边界:**本轮证明上述 runner/容器环境中的编译、打包与已列出的运行检查。没有完成 macOS 13、iOS 18、Android API 26、最老 Windows 客户端/服务器的实机运行认证,也没有完成 systemd PID-1 启动和最老宿主内核认证。归档的最低版本元数据及静态检查不等同于这些运行结论。

以下历史实测使用旧源码与旧依赖基线,作为独立历史记录保留,不与本轮结果混用。

展开 rebase 前的构建、回归和产物记录

以下记录属于 rebase 前的分支(最终旧 head 205a02d91bbd20971c75a4b672b59b3314d4fc44,当时 master 基线为 ac27bdef5889f5484c1c3b57ea71b95760ebc8fe),更早记录另列其提交。此次 master 已切换依赖 SDK,旧 run 与当前源码不能视为相同 tree。

Windows MD 完整构建与独立 PDB

Windows run 43801460105 在 windows-2022 上通过:2,400 个编译动作、28m33s,包含 DLL/架构/Windows target 检查、PDB 分离、两个 ZIP 及校验和导出,以及解压后 seekdb.exe --version。构建源码为 fcdcc85213a594c412ad5b3d83bfff6db69d378e;已验证其 tree 相对旧 PR head 205a02d91bbd20971c75a4b672b59b3314d4fc44 仅多出将 package.yml 原样复制到已注册的 seekdb.yml 调试入口的差异。

历史产物 实际文件名
Windows runtime seekdb-binary-1.4.0.0-windows-x86_64-md-20261116T043554Z-sdbfcdcc85213a5.zip 及 .zip.sha256
Windows PDB seekdb-debug-info-1.4.0.0-windows-x86_64-md-20261116T043554Z-sdbfcdcc85213a5.zip 及 .zip.sha256

独立下载后验证两项 sidecar、71 个 runtime 文件的哈希、debug manifest、相同平台/源码/导出时间 2026-11-16T04:35:54Z 和 runtime 记录的 debug 归档哈希。成品包含 18 个 DLL,没有 PDB 或嵌入式调试信息;EXE 的 CodeView GUID 343237e7-e916-c238-4c4c-44205044422e、age 1 与 PDB 匹配。真实 Unix epoch SDK 许可证目录也通过 ZIP 导出,负载哈希不变。打包失败时的诊断 artifact 可保留完成的编译输入,供后续重新打包。

关联的 seekdb-deps PR #16 已合入。SDK run 43793839967 验证 Clang/OpenMP 18.1.8、ANTLR 静态链接定义、全对象链接与启动检查,以及 51 个 SDK manifest 文件哈希。历史 MD SDK manifest 记录 MSVC toolset 14.44.35207。这证明当时 windows-2022 的构建与启动,不代表完成最老 Windows 客户端/服务器版本的运行认证。

DEB 发行版扩展与系统包依赖

  • cf7f861bd(运行检查配置修正于 0579f2932):从同一个 seekdb 1.4.0.0/glibc 2.17 二进制生成并解包五种 amd64 DEB,核对 Version/Architecture/Depends、剥离状态、主程序与原始归档哈希;五种发行版均保留 libaio1 | libaio1t64, systemd。108 组矩阵检查保持九个二进制目标和十四个系统包任务,不增加引擎编译目标。
  • 首轮 hosted 检查在两种架构上均完成安装和引擎加载,之后暴露 smoke 配置使用了无效的 memory_limit;检查原始二进制源码后改为 memory_budget,并在进程提前退出时立即报告失败。本地远程运行尝试因 SSH/网络超时没有得出运行结论。
  • amd64 run 43545632072 和 arm64 run 43545636486 随后通过全部十种发行版/架构组合,复用 producer 43201911127 的 glibc 2.28 二进制。每种 DEB 均通过 APT 安装、引擎加载、systemd unit 检查、已安装服务辅助脚本启动、SQL create/insert/read/drop、正常关闭及上传;binary job 均跳过。调试分支相对 0579f2932 仅有原样复制 workflow 到注册入口的差异。未验证 systemd 作为 PID 1 启动及最老宿主机内核。
  • 20a34137c:复用真实 glibc 2.17 二进制生成 EL7/EL8 RPM 和 Debian 12/Ubuntu 22.04 DEB,查询包名、Release/Version、依赖并解包检查。主程序和输入归档哈希不变,obshell 保留且已剥离;RPM 仍为 libaio, systemd,DEB 仍为 libaio1 | libaio1t64, systemd。60 组矩阵、包装脚本新旧参数形式和完整打包入口通过;不匹配发行版在初始化前失败,EL7 拒绝 glibc 2.28 声明及实际要求过新的裸 ELF。
  • 历史产物复用 run 43399578670 使用 producer 43170742983,调试分支相对 20a34137c 仅复制 workflow 入口,三个系统打包任务成功,binary job 跳过。
  • 比较已发布 1.4.0 RPM 的 Requires:显式 libaio/systemd 不变,没有新增外部依赖,移除一个不再使用的 GLIBC_2.16 要求;新版 RPM 工具另生成自提供的 config(seekdb) capability。确认 XZ level 2、不打包 libaio 实体文件、不生成 seekdb-libs RPM。AlmaLinux 8 上保留仓库 GPG 校验的 DNF 自动获取官方 libaio-0.3.112-1.el8,安装事务跳过生命周期脚本;ldd 和 seekdb -V 通过。
  • 新 DEB Depends 与已发布 Ubuntu 22.04/Debian 12 包一致。Ubuntu 22.04/24.04 容器中 APT 分别自动安装 libaio1/libaio1t64 和 systemd,配置成功、解析到官方库且 seekdb -V 通过;libaio 仅为私有 SONAME 符号链接。设置 TELEMETRY_MODE=0,当时容器未以 systemd 为 PID 1,未测试服务启动。

动态库解析、工具链与 review 回归

  • c172b53a2 的 11 个 inline review thread 已处理。真实 glibc 2.28/2.39 ELF 覆盖两种 PLATFORM 写法、空 RPATH/RUNPATH 分量、插件 RPATH 继承、LD_LIBRARY_PATH/RPATH 顺序、native cache 与隐式 SDK 顺序、显式目录覆盖、兄弟 DSO 首次加载 SONAME 复用;同一源文件的冲突别名明确失败,避免拆分全局变量/TLS。
  • 在私有 glibc 2.39 cache 中通过 GLIBC_TUNABLES 禁用 AVX2,重现旧导出器错误选择被排除的 v3 变体;修复后的重定位导出保持 native baseline。完整 binary CLI 优先使用 native cache 而非隐式 SDK 副本。
  • Bazel 9.3 配合 --lockfile_mode=error,在固定 Conda glibc 2.17/2.28 的只读 sysroot fixture 上完成编译、链接、执行;保留空的 lib/usr/lib 中间目录,两者返回 42 且仅要求 GLIBC_2.2.5,输入 sysroot 不变。
  • TGZ 新旧参数均生成 UTC 命名、已剥离的 server/libs 归档,合并后可运行;MSI --help 无需 PYTHONPATH 即可导入。Android 冷初始化重现缺少 rpm2cpio,修复后通过隔离 profile 的真实 host RPM/target tar 解包,跳过不相关的 Rust bootstrap。
  • 用 hosted 1.4.0.0/glibc 2.17 可执行文件重新导出、回读 runtime/debug,检查剥离、glibc floor 和 --version。Python、Actionlint、shell、diff 和推送前安全检查通过。没有新增工具/脚本单元测试。
  • 旧 Linux jemalloc 源码方案曾用真实 Rust/native crate 和 glibc 2.17 sysroot 构建、检查严格 lockfile;旧 extension digest 问题曾在 macOS 上复现并修正。此次 rebase 后这些规则已被 master 的预编译 SDK 替代,不再保留旧 Cargo jemalloc 或 digest 补丁。

符号分离实测

  • 真实 Linux x86_64/glibc 2.17 seekdb 1.4.0.0,源码 22f678b6e11ab278a19078ef0dc89d4450cc711f:主程序由 532,679,144 缩至 118,549,064 字节,--version 可运行;runtime/debug 配对和哈希通过,独立符号可将 main 解析到 src/observer/main.cpp:815。
  • 分别从新剥离包和旧未剥离包各生成一次 RPM/DEB 并解包,主程序、动态库、obshell 均通过调试信息剥离检查,仅生成主 RPM。
  • macOS arm64 原生 O2/line-table executable+dylib fixture:完整导出/导入、dSYM UUID、剥离检查和重定位后运行通过。
  • iOS 真机/模拟器原生 fixture 使用 Xcode 16.3/iOS SDK 18.4,带生产 C header/ABI/source marker;独立 dSYM、UUID/二进制哈希、两种 Swift import、归档回读、XCFramework 组合和各 slice 剥离检查通过。
  • Android NDK 27.3.13750724/API 26 executable+shared-library fixture:LLVM 符号分离后保留 API 元数据和 16 KiB 对齐,独立 debug 可解析源码行。
  • Windows 11 原生 /MD executable+DLL fixture,LLVM 18/MSVC:独立 PDB、无嵌入调试信息/无 PDB 的 runtime、回读与运行通过。
  • 上述符号检查通过 Actionlint、Python、暂存区 diff 及推送前安全检查,没有新增跟踪的工具/脚本单元测试。

iOS 完整构建与较早的跨平台记录

iOS run 43356918339 使用 Xcode 16.4/iOS SDK 18.5、部署 iOS 18.0,完成真机与模拟器全引擎构建、framework 元数据/ABI/依赖检查、Swift import、导出/回读和 XCFramework 组合。验证源码为 PR 46021907a,临时分支 codex/ios-package-20261113 的 308afdb59 仅将 workflow 原样复制到注册入口。独立下载最终产物,验证 Actions digest、ZIP sidecar、完整文件列表、15 个 manifest 文件哈希、SHA256SUMS 和两个 slice 的部署目标。

历史 iOS artifact 实际归档
真机 framework seekdb-framework-1.4.0.0-ios18.0-arm64-20261113T044228Z-sdb308afdb59e2c.zip
模拟器 framework seekdb-framework-1.4.0.0-ios18.0-simulator-arm64-20261113T044455Z-sdb308afdb59e2c.zip
XCFramework seekdb-xcframework-1.4.0.0-ios18.0-arm64-20261113T044915Z-sdb308afdb59e2c.zip
  • iOS 冷初始化真机 4m54s、模拟器 2m54s,分别保存单一 deps cache。精简 host profile 当时约 127 MB,省去 1.09 GB 独立 LLVM 和 host-only shell/client;完整引擎编译分别 88m22s、92m27s(默认一线程、无持久编译缓存),组合任务共 50s 且不编译引擎。较早在验证 Mac 从已有归档解包 host SDK 耗时 8.75s,Bison 2.4.1/Flex 2.5.35 只依赖系统 libSystem;这不是冷下载耗时。
  • 多平台 run 43201911127 完成四个 Linux 二进制和四组系统包、macOS arm64、Android arm64。首次 Windows bootstrap 失败,因此该 run 总体仍为失败;Windows 重试 43218494630 随后成功,2,409 个编译动作、42m45s,ZIP 约 44 MB。这些较早 hosted 包生成于符号分离前,不能用于证明新剥离行为。
  • 历史 Windows SDK cache restore 在隔离 MSYS PATH 后为 50–68s,随后初始化 11s;曾有一次解包超过 20 分钟。旧编译方案选择 GNU Make 4.4.1 避免 jemalloc 源码构建路径错误;当前 master 已消费预编译 jemalloc,无需该 Make 方案。
  • 下载 macOS arm64 历史包,核验 Actions digest、归档 SHA-256、35 个 manifest 文件哈希;清除 DYLD 覆盖后在 macOS 27.0.1 arm64 运行 seekdb -V,返回 1.4.0.0 和预期源码,manifest 记录部署 13.0。只验证较新宿主机,未验证 macOS 13。另保留 Android arm64/API 26 历史包。

UTC 命名和历史二进制复用

  • UTC 命名 run 43199525151 和 其 RPM/DEB 成功,使用 93b2c5c29、临时入口分支 codex/package-time-20261112。不传 release,复用历史二进制,binary job 全部跳过;两种系统包文件名和原生元数据使用同一个 20261112T102438Z。
  • TZ=Pacific/Honolulu 下验证实际 UTC 秒;RPM/dpkg 比较跨秒和跨午夜均按时间递增,且比旧 -1 新。实际二进制重新导出/回读、文件名/manifest 对齐、真实 RPM 无 release 参数及两种包装脚本新旧形式通过,保持 libaio/systemd/obshell。
  • 历史复用 run 43193011139 和 其产物 使用打包提交 5e752a240、临时入口分支 codex/package-reuse-20261112,复用 producer 43170742983,二进制 provenance 仍为 22f678b6e11ab278a19078ef0dc89d4450cc711f。Version 留空时继承版本,生成 RPM/DEB、SHA-256、provenance,跳过编译。
  • 手动 workflow 命令覆盖所有平台/双 glibc/Windows、live API 来源解析、继承和显式版本、UTC 时间;拒绝不支持的复用组合以及源码、架构、glibc 或版本不匹配的真实输入。
  • Linux glibc 2.17 smoke run 43170742983 和 原始 binary:构建一次 44m13s,系统包任务约两分钟且不初始化 SDK/重编译。验证 Actions/内层 SHA-256、源码和所有 manifest 文件;glibc 2.17 下 seekdb -V 通过。打包 workflow 由 405d16fcd 原样路由到当时已注册入口;该 run 的早期系统包先于依赖修正,依赖行为随后通过 DNF/APT 重打包验证。
  • 较早初始化检查也覆盖 SDK cache 和 HTTPS/下载引导;相关静态检查均在各自当时提交上执行。它们不替代此次 master SDK 切换后的重新构建。

影响范围

Linux 发版二进制使用规范系统 loader;私有 PT_INTERP 输入会在导出/回读或系统包 ABI 检查时报错。obshell 限制为静态链接或只依赖受支持的核心 glibc SONAME,额外私有动态库不随 helper 自动收集;该限制已在 CLI help 中明确。现有 SDK helper 已验证可继续复用。

Linux 二进制新导出、已有归档复用及系统包收集会拒绝上述未支持的 ELF 加载属性。正常 DT_NEEDED、继承的 RPATH、显式插件和系统库搜索仍使用原有实现;本次不新增这些特殊属性的运行支持。Windows 线程命名仍是前一提交恢复的 master 直接调用,其他平台的实现未在本次改动。

成品不再携带命名时区导入数据或专用导入工具,也不再接受打包时区数据的命令行参数或环境变量。固定偏移及已有引擎时区计算语义保持现状。本轮只清理打包、部署入口和孤立导入脚本,不改数据库内表或启动初始化;旧可选参数直接报未识别,不提供兼容入口。

构建、依赖缓存、跨平台目标、系统包布局、调试信息导出和 Windows 可选线程命名适配;没有数据库或存储格式改动。本地 RPM/DEB/TGZ 调用统一改为 Python CLI 的命名参数,旧 Shell 入口及其位置参数形式已移除;系统包版本修订号继续采用 UTC 时间戳。原始 binary/framework 现在不带调试信息,调试时须使用匹配的 seekdb-debug-info。

本分支 macOS arm64 最低发版目标为 15.0,已与 C/C++、Rust、Swift、Info.plist、依赖选择和打包校验同步;旧 macOS 13 数据仅保留为历史构建记录。Android 仍为 API 26,iOS 为 18.0,Windows 使用 /MD。macOS 15.8.2 上的完整构建、归档回读和成品 --version 检查已通过,未覆盖完整 macOS SQL/向量工作负载;iOS 18、Android API 26 及最老 Windows 客户端/服务器的完整 seekdb 运行 smoke 仍未完成,Windows 线程命名沿用 master 的直接 API 调用,不再为 Windows 10 1607 / Server 2016 增加专门兼容分支;Windows 整包最低支持范围仍需实机验证。完整 systemd PID-1 启动和最老宿主内核认证不在本轮覆盖范围内。

合入理由

将每个平台的引擎编译与后续发行版打包分开,支持复用历史二进制,便于在 GitHub Actions 上调试多平台构建和测量实际耗时。历史实测已覆盖完整 Windows MD 构建、Linux 二进制复用、十种 DEB 安装/SQL 检查及完整 iOS framework 组合;本次已补齐 master 新 SDK 布局,并用上述已验证代码基线的源码完成 9 个二进制/framework 目标、14 个系统包和 XCFramework 的重新构建与打包;全部 25 个 job 通过。其后 macOS 最低目标已切换到 15.0,并增加导出归档回读与成品启动检查,单独的 macOS 15 完整构建、归档回读、成品启动检查和上传已于 run 44066671968 第 1 次尝试全部通过。最老系统实机运行、完整 systemd 启动及宿主内核认证仍是验证边界。

其他信息

  • 相关改动还包括 seekdb-deps PR #16,已于 2026-11-16 合入,解决 Windows Clang/OpenMP 与 ANTLR 静态链接问题。此次 rebase 使用 master 已固定的依赖版本,无需再修改该仓库。
  • seekdb-bindings 未修改;语言绑定的发版 workflow 和 release 发布仍属于后续工作。
  • 当前 workflow 未增加 WASM 打包任务;master 的依赖 lock 已包含 WASM,并不等于本 PR 已打出 WASM 成品。
  • 新 workflow 进入默认分支后才会在 Actions 显示新的手动入口;历史调试 run 通过原有注册入口执行,遵循 GitHub workflow dispatch 要求。
展开各平台实际包名(33 个 artifact、84 个文件;macOS 已更新为 15 目标)

以下列出两个已成功 run 的实际产物,不能将其解释为当前 PR head 的一次全平台构建:macOS 的 2 个产品 artifact/4 个文件已替换为 run 44084346734 的双路编译 macOS 15 产物,源码为 95e92248052c0539b2f5777b92dc8b8156e627d5(额外的 build profile 是诊断 artifact,不计入包列表);其余 31 个 artifact/80 个文件保留自 run 44031186819,源码为 a130897144ce3a6c0924f5f238f81521479546b5。名称来自各自导出日志,并与上传步骤的文件数量核对,版本均为 1.4.0.0。系统包共享 UTC 修订时间 20261117T062819Z;二进制/framework 和对应 debug 包共享各自的实际导出时间,XCFramework 使用组合时的时间。

linux-x86_64-glibc2.17

Artifact: binary-linux-x86_64-glibc2.17(下载)

seekdb-binary-1.4.0.0-linux-x86_64-glibc2.17-20261117T070254Z-sdba130897144ce.tar.gz
seekdb-binary-1.4.0.0-linux-x86_64-glibc2.17-20261117T070254Z-sdba130897144ce.tar.gz.sha256
obshell.tar.gz

Artifact: debug-info-linux-x86_64-glibc2.17(下载)

seekdb-debug-info-1.4.0.0-linux-x86_64-glibc2.17-20261117T070254Z-sdba130897144ce.tar.gz
seekdb-debug-info-1.4.0.0-linux-x86_64-glibc2.17-20261117T070254Z-sdba130897144ce.tar.gz.sha256

linux-x86_64-glibc2.28

Artifact: binary-linux-x86_64-glibc2.28(下载)

seekdb-binary-1.4.0.0-linux-x86_64-glibc2.28-20261117T065753Z-sdba130897144ce.tar.gz
seekdb-binary-1.4.0.0-linux-x86_64-glibc2.28-20261117T065753Z-sdba130897144ce.tar.gz.sha256
obshell.tar.gz

Artifact: debug-info-linux-x86_64-glibc2.28(下载)

seekdb-debug-info-1.4.0.0-linux-x86_64-glibc2.28-20261117T065753Z-sdba130897144ce.tar.gz
seekdb-debug-info-1.4.0.0-linux-x86_64-glibc2.28-20261117T065753Z-sdba130897144ce.tar.gz.sha256

linux-aarch64-glibc2.17

Artifact: binary-linux-aarch64-glibc2.17(下载)

seekdb-binary-1.4.0.0-linux-aarch64-glibc2.17-20261117T070913Z-sdba130897144ce.tar.gz
seekdb-binary-1.4.0.0-linux-aarch64-glibc2.17-20261117T070913Z-sdba130897144ce.tar.gz.sha256
obshell.tar.gz

Artifact: debug-info-linux-aarch64-glibc2.17(下载)

seekdb-debug-info-1.4.0.0-linux-aarch64-glibc2.17-20261117T070913Z-sdba130897144ce.tar.gz
seekdb-debug-info-1.4.0.0-linux-aarch64-glibc2.17-20261117T070913Z-sdba130897144ce.tar.gz.sha256

linux-aarch64-glibc2.28

Artifact: binary-linux-aarch64-glibc2.28(下载)

seekdb-binary-1.4.0.0-linux-aarch64-glibc2.28-20261117T071131Z-sdba130897144ce.tar.gz
seekdb-binary-1.4.0.0-linux-aarch64-glibc2.28-20261117T071131Z-sdba130897144ce.tar.gz.sha256
obshell.tar.gz

Artifact: debug-info-linux-aarch64-glibc2.28(下载)

seekdb-debug-info-1.4.0.0-linux-aarch64-glibc2.28-20261117T071131Z-sdba130897144ce.tar.gz
seekdb-debug-info-1.4.0.0-linux-aarch64-glibc2.28-20261117T071131Z-sdba130897144ce.tar.gz.sha256

macos15-arm64

本项来自双路并行 run 44084346734,已通过 macOS 15.8.2 上的归档回读和成品 CLI 检查;与其他平台的历史 run 来源不同。

Artifact: binary-macos15-arm64(下载)

seekdb-binary-1.4.0.0-macos15.0-arm64-20261117T132438Z-sdb95e92248052c.tar.gz
seekdb-binary-1.4.0.0-macos15.0-arm64-20261117T132438Z-sdb95e92248052c.tar.gz.sha256

Artifact: debug-info-macos15-arm64(下载)

seekdb-debug-info-1.4.0.0-macos15.0-arm64-20261117T132438Z-sdb95e92248052c.tar.gz
seekdb-debug-info-1.4.0.0-macos15.0-arm64-20261117T132438Z-sdb95e92248052c.tar.gz.sha256

windows-x86_64-md

Artifact: binary-windows-x86_64-md(下载)

seekdb-binary-1.4.0.0-windows-x86_64-md-20261117T070703Z-sdba130897144ce.zip
seekdb-binary-1.4.0.0-windows-x86_64-md-20261117T070703Z-sdba130897144ce.zip.sha256

Artifact: debug-info-windows-x86_64-md(下载)

seekdb-debug-info-1.4.0.0-windows-x86_64-md-20261117T070703Z-sdba130897144ce.zip
seekdb-debug-info-1.4.0.0-windows-x86_64-md-20261117T070703Z-sdba130897144ce.zip.sha256

android-arm64-api26

Artifact: binary-android-arm64-api26(下载)

seekdb-binary-1.4.0.0-android-aarch64-api26-20261117T065940Z-sdba130897144ce.tar.gz
seekdb-binary-1.4.0.0-android-aarch64-api26-20261117T065940Z-sdba130897144ce.tar.gz.sha256

Artifact: debug-info-android-arm64-api26(下载)

seekdb-debug-info-1.4.0.0-android-aarch64-api26-20261117T065940Z-sdba130897144ce.tar.gz
seekdb-debug-info-1.4.0.0-android-aarch64-api26-20261117T065940Z-sdba130897144ce.tar.gz.sha256

ios18.0-arm64

Artifact: binary-ios18.0-arm64(下载)

seekdb-framework-1.4.0.0-ios18.0-arm64-20261117T082321Z-sdba130897144ce.zip
seekdb-framework-1.4.0.0-ios18.0-arm64-20261117T082321Z-sdba130897144ce.zip.sha256

Artifact: debug-info-ios18.0-arm64(下载)

seekdb-debug-info-1.4.0.0-ios18.0-arm64-20261117T082321Z-sdba130897144ce.zip
seekdb-debug-info-1.4.0.0-ios18.0-arm64-20261117T082321Z-sdba130897144ce.zip.sha256

ios18.0-simulator-arm64

Artifact: binary-ios18.0-simulator-arm64(下载)

seekdb-framework-1.4.0.0-ios18.0-simulator-arm64-20261117T080638Z-sdba130897144ce.zip
seekdb-framework-1.4.0.0-ios18.0-simulator-arm64-20261117T080638Z-sdba130897144ce.zip.sha256

Artifact: debug-info-ios18.0-simulator-arm64(下载)

seekdb-debug-info-1.4.0.0-ios18.0-simulator-arm64-20261117T080638Z-sdba130897144ce.zip
seekdb-debug-info-1.4.0.0-ios18.0-simulator-arm64-20261117T080638Z-sdba130897144ce.zip.sha256

iOS XCFramework

Artifact: ios-xcframework(下载)

seekdb-xcframework-1.4.0.0-ios18.0-arm64-20261117T085958Z-sdba130897144ce.zip
seekdb-xcframework-1.4.0.0-ios18.0-arm64-20261117T085958Z-sdba130897144ce.zip.sha256

Linux 系统包

Artifact: system-packages-el7-x86_64(下载)

seekdb-1.4.0.0-20261117T062819Z.el7.x86_64.rpm
seekdb-1.4.0.0-20261117T062819Z.el7.x86_64.rpm.sha256
packaging-info.json

Artifact: system-packages-el8-x86_64(下载)

seekdb-1.4.0.0-20261117T062819Z.el8.x86_64.rpm
seekdb-1.4.0.0-20261117T062819Z.el8.x86_64.rpm.sha256
packaging-info.json

Artifact: system-packages-debian12-x86_64(下载)

seekdb_1.4.0.0-20261117T062819Z+debian12_amd64.deb
seekdb_1.4.0.0-20261117T062819Z+debian12_amd64.deb.sha256
packaging-info.json

Artifact: system-packages-debian13-x86_64(下载)

seekdb_1.4.0.0-20261117T062819Z+debian13_amd64.deb
seekdb_1.4.0.0-20261117T062819Z+debian13_amd64.deb.sha256
packaging-info.json

Artifact: system-packages-ubuntu22.04-x86_64(下载)

seekdb_1.4.0.0-20261117T062819Z+ubuntu22.04_amd64.deb
seekdb_1.4.0.0-20261117T062819Z+ubuntu22.04_amd64.deb.sha256
packaging-info.json

Artifact: system-packages-ubuntu24.04-x86_64(下载)

seekdb_1.4.0.0-20261117T062819Z+ubuntu24.04_amd64.deb
seekdb_1.4.0.0-20261117T062819Z+ubuntu24.04_amd64.deb.sha256
packaging-info.json

Artifact: system-packages-ubuntu26.04-x86_64(下载)

seekdb_1.4.0.0-20261117T062819Z+ubuntu26.04_amd64.deb
seekdb_1.4.0.0-20261117T062819Z+ubuntu26.04_amd64.deb.sha256
packaging-info.json

Artifact: system-packages-el7-aarch64(下载)

seekdb-1.4.0.0-20261117T062819Z.el7.aarch64.rpm
seekdb-1.4.0.0-20261117T062819Z.el7.aarch64.rpm.sha256
packaging-info.json

Artifact: system-packages-el8-aarch64(下载)

seekdb-1.4.0.0-20261117T062819Z.el8.aarch64.rpm
seekdb-1.4.0.0-20261117T062819Z.el8.aarch64.rpm.sha256
packaging-info.json

Artifact: system-packages-debian12-aarch64(下载)

seekdb_1.4.0.0-20261117T062819Z+debian12_arm64.deb
seekdb_1.4.0.0-20261117T062819Z+debian12_arm64.deb.sha256
packaging-info.json

Artifact: system-packages-debian13-aarch64(下载)

seekdb_1.4.0.0-20261117T062819Z+debian13_arm64.deb
seekdb_1.4.0.0-20261117T062819Z+debian13_arm64.deb.sha256
packaging-info.json

Artifact: system-packages-ubuntu22.04-aarch64(下载)

seekdb_1.4.0.0-20261117T062819Z+ubuntu22.04_arm64.deb
seekdb_1.4.0.0-20261117T062819Z+ubuntu22.04_arm64.deb.sha256
packaging-info.json

Artifact: system-packages-ubuntu24.04-aarch64(下载)

seekdb_1.4.0.0-20261117T062819Z+ubuntu24.04_arm64.deb
seekdb_1.4.0.0-20261117T062819Z+ubuntu24.04_arm64.deb.sha256
packaging-info.json

Artifact: system-packages-ubuntu26.04-aarch64(下载)

seekdb_1.4.0.0-20261117T062819Z+ubuntu26.04_arm64.deb
seekdb_1.4.0.0-20261117T062819Z+ubuntu26.04_arm64.deb.sha256
packaging-info.json

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T07:05:01.998166Z ce91725 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@hnwyllmm hnwyllmm changed the title feat(package): reuse prebuilt seekdb binary distributions feat(package): build RPM and DEB packages from existing seekdb binaries Nov 11, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5f863b0ffb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/package.py Resolved
Comment thread package/binary.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 612cc9e1f6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary.py Resolved
Comment thread package/binary.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 88a2083751

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary_distribution.py Resolved
Comment thread package/binary.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cb431b6849

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary.py Resolved
Comment thread package/package.py Resolved
Comment thread package/binary.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1b0426cdc3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/package.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c888b29af1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary.py Resolved
@CLAassistant

CLAassistant commented Nov 12, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@hnwyllmm hnwyllmm changed the title feat(package): build RPM and DEB packages from existing seekdb binaries feat(package): reuse prebuilt seekdb binaries for release packaging Nov 12, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 93a8b9054a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary.py Resolved
Comment thread package/binary.py Resolved
@hnwyllmm hnwyllmm changed the title feat(package): reuse prebuilt seekdb binaries for release packaging feat(package): add cached GitHub packaging with reusable binaries Nov 12, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2f60739278

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/package.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 51a4d62415

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 693c35ffad

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 405d16fcdf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8758d40ce4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary_distribution.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e359e9115e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/package.yml Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5e752a2409

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 93b2c5c298

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/package.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1b1f7826ef

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ca26cdb0ba

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary_distribution.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0248783f2d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/package.py Resolved
@hnwyllmm
hnwyllmm force-pushed the codex/prebuilt-binary-packaging branch from c172b53 to 6dd3c1e Compare November 13, 2026 08:15

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f65afd195b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/symbols.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0579f2932b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/symbols.py Resolved
Comment thread package/debug_symbols.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3bda30e0c2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/package.py Resolved
Reject links, special files, and privileged permission bits before accepting directory bundles. Keep the RPM implementation beside its spec and preserve the root entrypoint as a forwarding shim. Revert the build-and-run guide change.
@hnwyllmm
hnwyllmm force-pushed the codex/prebuilt-binary-packaging branch from 205a02d to 788684d Compare November 17, 2026 04:38
@hnwyllmm
hnwyllmm marked this pull request as draft November 17, 2026 10:16

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2f860178cd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary_distribution.py Resolved
@hnwyllmm
hnwyllmm marked this pull request as ready for review November 19, 2026 01:02

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9731970412

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary_distribution.py Resolved
Comment thread package/binary_distribution.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ab6595a8c7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary_distribution.py Resolved
Comment thread package/package.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3fc6360017

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/package.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7aa18b769d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary_distribution.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3de9bfdbfe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary_distribution.py Resolved
Comment thread package/debug_symbols.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ca5986768a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary_distribution.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ce91725c7d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/binary_distribution.py Resolved
Comment thread package/debug_symbols.py Resolved
@footka
footka merged commit 8084119 into oceanbase:master Nov 19, 2026
10 checks passed
@hnwyllmm
hnwyllmm deleted the codex/prebuilt-binary-packaging branch November 19, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants