fix: 修复 0.7.3 发布门禁与书籍分块 - #1003
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更说明
0.7.3 发布检查发现:Ruff 在安装无关运行时依赖时失败,部分认证 HTTP 测试因未传账号而跳过,应用 Release 会重复上传未升版的 CLI。补齐这些门禁,并修复检查中稳定复现的书籍分块随机丢失短文档标题问题。
bug-fix/process/testingv0.7.2正式 tag 为基线,保留定时任务、主动压缩、推理/工具展示、执行审计、后台任务恢复和升级影响,补齐子智能体禁用执行与书籍分块修复。CLI 自 v0.7.2 无变更,沿用 0.1.4。工程主张与 Owner
.github/workflows拥有候选/正式 tag 的触发与 CLI 的发布边界;文档站仍仅在 main push 后部署。system-tests.yml的 Docker exec 显式传递 CI 账号,HTTP 测试回读 Run、API Key 和 Skill 授权结果;verifier 拒绝移除凭据的命令。ragflow_like/nlp.py的无放回抽样保证短文档全部段落参与标题识别;分块结果由实际 parser 输出拥有。验证情况
候选检查与 CLI 发布隔离
python3 scripts/verify_engineering_contracts.py;python3 -m unittest scripts.test_verify_engineering_contracts scripts.test_release_workflows scripts.test_bump_version scripts.test_dependency_update_policy(73 passed);Actionlint 1.7.12-shellcheck= -pyflakes=;从锁文件独立安装 Ruff 0.16.4 后运行ruff check backend/package、ruff format backend/package --check、ruff check --select I backend/package。认证 HTTP 与书籍分块
docker compose exec -T api uv run --no-sync --no-dev pytest test/integration/api/test_agent_run_result_causality.py test/integration/api/test_apikey_router.py test/integration/api/test_skill_artifact_authorization.py -q -rs(18 passed,零 skip);docker compose exec -T api uv run --no-sync pytest test/unit/plugins/test_ragflow_like_chunking.py -q(21 passed)。文档与回归
远端 Backend Unit Tests 在当前 head 执行
uv run pytest test/unit -m 'not slow' -q:1980 passed / 1 skipped / 6 warnings。git log v0.7.2..HEAD --oneline --no-merges、git diff v0.7.2 HEAD -- packages/yuxi-cli(无 CLI 变更);pnpm --dir docs run build、工程契约相对链接检查、git diff --check。简化 / 删除验收
不涉及独立 simplification;Ruff 改为三个线性检查命令,CLI 沿用现有手动入口。
远端七类 workflow 均已通过:工程契约、Ruff、后端、Web、Runtime、依赖审计、文档构建。文档部署在任务分支/PR 中按设计跳过,未部署生产站点。
独立语义 Review
全新上下文 Reviewer 已审查全部 diff、3 个新增文件、规范、实际抽样消费者、认证接线、发布事件与 v0.7.2 基线;无阻塞 findings。独立运行 65 项脚本测试、工程契约与 diff 检查通过,并核对分块缺陷负控。最终本地全量 unit 已在 Review 后收敛。
未验证范围与风险
/app/uv.lock权限失败,使用现有容器依赖运行docker compose exec -T api uv run --no-sync --group test pytest test/unit -m 'not slow' -q,1929 passed / 52 skipped / 7 warnings。事故反馈
未确认生产高影响事故,不新增 postmortem;保留可复现缺陷、负向案例与实际 gate。
界面变更
不涉及。
关联事项
无。
补充说明
预发布阶段保留 changelog 的待发布状态;最终发布材料定稿后再创建候选/正式 tag。应用 Release 与 PyPI 发布解耦。