fix(agents): reuse effective release artifacts

This commit is contained in:
t8y2 committed 2026-08-03 13:10:18 +08:00
1 parent 4858fed870
commit 12323e406c
10 files changed
+818 -45

No files matched your search

+1 -1
View File
@@ -340,7 +340,7 @@ agents/drivers/<驱动模块名>/build/libs/
#### `agents/versions.json` 什么时候修改
<Callout type="warn">
修改已有驱动时,不要手动修改 `agents/versions.json`。Agent 发布工作流会对比上一个 `agents-v*` 标签,自动为发生变化的模块增加 patch 版本。
修改已有驱动时,不要手动修改 `agents/versions.json`。Agent 发布工作流会以上一个 `agents-v*` 标签对比运行时代码,并使用该版本发布后的版本同步提交作为有效版本基线,自动为发生变化的模块增加 patch 版本;未变化模块会复用上一不可变 Release 中经过校验的产物。
</Callout>
- 修改 `agents/drivers/<module>/`:发布时自动 bump 该模块版本
+1 -1
View File
@@ -340,7 +340,7 @@ Restart DBX or disconnect and reconnect the database so the old agent process ex
#### When to Change `agents/versions.json`
<Callout type="warn">
Do not edit `agents/versions.json` when changing an existing driver. The agent release workflow compares against the previous `agents-v*` tag and automatically increments the patch version of changed modules.
Do not edit `agents/versions.json` when changing an existing driver. The agent release workflow compares runtime files against the previous `agents-v*` tag, uses that release's post-release version-sync commit as the effective version baseline, and automatically increments the patch version of changed modules. Unchanged modules reuse verified artifacts from the previous immutable release.
</Callout>
- A change under `agents/drivers/<module>/` automatically bumps that module during release