feat: add task records and verified engineering check jobs
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
import { Store } from '../../src/server/store.mjs';
|
||||
import { CheckRunner } from '../../src/core/check-runner.mjs';
|
||||
|
||||
const [directory, sessionId, phase] = process.argv.slice(2);
|
||||
const store = new Store(directory), session = store.session(sessionId), runner = new CheckRunner(store);
|
||||
const plan = await runner.plan(session);
|
||||
const original = store.save.bind(store);
|
||||
store.save = (value, options) => {
|
||||
const result = original(value, options);
|
||||
if (options?.type === (phase === 'queued' ? 'check.queued' : 'check.result')) process.exit(69);
|
||||
return result;
|
||||
};
|
||||
const started = await runner.start(session, plan.id); await started.promise;
|
||||
process.exit(1);
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
# 自有 1.0.0 热升级工件
|
||||
|
||||
从本产品已交付的 `releases/Agent-Workbench-1.0.0-win-x64/dist-server/hot-upgrade.mjs` 保留原字节,用于验证运行过一次旧热升级的进程继续升级到SQLite内核。
|
||||
|
||||
这里仅包含Agent Workbench自有升级实现与原捆绑的公开依赖,没有用户数据或连接凭据。测试为它创建独立数据/端口和界面目录,验证旧handler闭包恢复、本地进程身份、原对象中的合成内存连接、连续升级及数据库所有权释放。
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user