Skip to content

test(release): account for installed query aliases - #892

Open
Dong1017 wants to merge 1 commit into
codex/500-atomic-candidatefrom
codex/500-installed-inventory
Open

Dong1017 wants to merge 1 commit into
codex/500-atomic-candidatefrom
codex/500-installed-inventory

Conversation

@Dong1017

Copy link
Copy Markdown
Collaborator

Governing Issue and delivery slice

Refs #715

Anchors touched: none

The accepted atomic-library implementation requires installed-release verification. The candidate wheel gained inferrsi/knowledge/data/ranking/query_aliases.json when #801 merged, bringing the installed inventory to 776 resources. The release smoke expected 775. The repair updates that assertion to 776. Accepted scope · Query aliases change

@amy-why-3459 @zengchuang-hw, please review the installed resource count and the same-wheel replay.

Changed artifact and evidence

tests/repository/check_installed.py is the sole changed path on the candidate base 02d641d0fb15f07cd09ddc1fe9601fb39819251e. The build at c71be251db39be4e03b25a7b8bd49b12278e2d8d produced the same 7,774,932-byte wheel as the base. SHA-256 49cedff96825da6bddc6ccb11096504c5e3fea7a5d1b7ba4720ce8d8f01dab2c. The original smoke failed on that wheel with installed resource count is 776, expected 775.

Verification

  • A clean Python 3.12.14 Windows build produced the wheel and source archive. twine check passed both files, and the release source archive check passed. All 2,625 regular files in the source archive have the same hashes as the base archive.
  • A fresh [skills] installation passed the committed smoke script from outside the checkout and tools/check_release.py installed --tag v0.3.5. The 776 installed resources match the checkout file by file. The smoke reported inventory SHA-256 86d5b11bddbad2a613cdb5d2a5fec4c0a644caf081f37d4e7aec7ec216cd62a7.
  • Ruff, git diff --check, and all 130 focused release, package inventory and PR reference tests passed.
  • The broader Windows run was stopped after reporting 853 outcomes. All six failures reproduced on the candidate base 02d641d0fb15f07cd09ddc1fe9601fb39819251e and involved CRLF, symbolic-link privileges, FIFO support or subprocess output encoding.

Knowledge authorship declaration

{
  "schema_version": 1,
  "head_sha": "c71be251db39be4e03b25a7b8bd49b12278e2d8d",
  "human_only": false,
  "material_ai_authors": [
    {
      "tool": "Codex",
      "model_id": "gpt-6.2-sol",
      "effort": "max",
      "role": "author"
    }
  ]
}

Remaining work and Issue acceptance

#715's sealed-generation release acceptance and #745's cutover remain separate checks under Dong1017's integration decisions. The candidate already includes #789. Archive verification

The candidate wheel ships one additional ranking resource. Update the installed inventory assertion after verifying the checkout and wheel package the same 776 files.

Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation and verification)
@Dong1017

Copy link
Copy Markdown
Collaborator Author

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw,请正式评审 #892。准确提交 c71be25,候选基线 02d641d。

#801 新增的运行时查询别名随普通 wheel 安装,库存检查需要计入该 Python 文件。改动仅在安装校验,前后 wheel 的 SHA-256 一致。Ruff、Twine 和 130 项定向测试通过。补充回归有 836 通过、11 跳过,另 6 项失败均在同一 Windows 环境的直接父提交复现。

@Dong1017 Dong1017 added the area:knowledge Knowledge line: packs, skill library, knowledge admission label Nov 30, 2026

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

PASS
dot, acting for zengchuang-hw.

回应正式检视邀请。精确 base 02d641d0fb15f07cd09ddc1fe9601fb39819251e,head c71be251db39be4e03b25a7b8bd49b12278e2d8d。独立对比两个完整且未截断的 Git trees:唯一变化为 tests/repository/check_installed.py,Knowledge 与 repo-pack 资源 blob 全部相同,两边均为 776,包含新增的 knowledge/data/ranking/query_aliases.json。本修复只更新精确计数;逐文件清单、固定引用存在性、inventory 摘要及 checkout 字节一致性检验不变。

未下载、重建或安装作者报告的 wheel,不把树相同当成第二次 wheel 复跑。批准只涵盖 #715 候选测试修复,不是发布、切换或 #745 资格。

Copy link
Copy Markdown
Contributor

dot, acting for zengchuang-hw.

收到 PR 正文 中关于 installed resource count 的邀请(source: PR body)。这个提交的独立复核已记录在正式检视,不重复投票。

@amy-why-3459 amy-why-3459 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM
Dot, acting for @amy-why-3459.

独立核对 02d641d0fb15f07cd09ddc1fe9601fb39819251e → c71be251db39be4e03b25a7b8bd49b12278e2d8d:完整 diff 只将已安装资源计数从 775 更正为 776。#801 的改动和该提交均含 knowledge/data/ranking/query_aliases.json。逐项已安装路径、源树字节对账和 inventory 摘要的检查均未放宽。作者记录的同一 wheel 在旧断言失败、新断言通过,符合这一改动;我未重新构建或安装该 wheel,未见当前提交的 hosted CI run。仅批准 #715 的安装校验修正,不批准发布或切换。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:knowledge Knowledge line: packs, skill library, knowledge admission

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants