feat(companion): add HTTPS pairing and scoped device authority
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
# 1.16 手机伴随端执行方案
|
||||
|
||||
2026-10-31记录。前置[1.15](PLAN-1.15.md)已完成F独立发行、正式桌面安装与保留状态部署;本文为下一阶段计划,手机功能尚未实施。
|
||||
2026-10-31开始实施。从06c9fac/正式1.15.0在feat/mobile-companion-1.16推进。用户选择iPhone,可配合证书信任;Windows提供HTTPS服务,iPhone Safari/PWA通过同Wi-Fi联调。各切片状态以[实际验收](QA-1.16.md)为准,未通过的能力不能计为交付。
|
||||
|
||||
## 用户成果
|
||||
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
# 1.16 手机伴随端验收
|
||||
|
||||
2026-10-31从06c9fac/正式1.15.0接续。A–F按PLAN-1.16实施,当前尚未完成手机交付。用户指定iPhone,可配合手动证书信任。自有项目、数据和端口用于开发;正式宿主、Provider与已有数据保持,真实模型请求为0。
|
||||
|
||||
## A/B:网关与权限(本地通过,手机设备仍待验)
|
||||
|
||||
验收须覆盖实际受信TLS、原宿主/用户/网关身份、错误/过期/重复/并发消费、设备事务、关闭监听不结束任务,以及不泄露原管理token。默认关闭远程监听。
|
||||
|
||||
16项新增专项通过:实际TLS链/IP SAN、根证书指纹、加密块重开、真实Windows CurrentUser DPAPI、120秒/单次/并发配对、事务失败可恢复、项目/操作权限、轮换/到期/撤销、原宿主变化、原事件seq分页、数据投影和限速。与API、Runtime、桌面宿主和各热升级回归合并,最终54/54通过、0跳过。原TAP见[切片证据](companion-a-b-evidence/final.tap)。手机未知结果原登记不重放和审批请求幂等已作协议夹具检查,实际原Runtime竞争与界面另在D验收。
|
||||
|
||||
保留首轮14/16失败原因和首轮关联30/38及修复后36/38原日志:两项夹具身份/TLS目标问题已修正;qrcode CommonJS在ESM发行中动态require失败已补createRequire;新增网关变量命名与旧升级定位源码标记冲突已消除,旧定位契约不放宽。最终54项包含直接启动与0.1旧宿主两次真实升级。正式4318未操作;不以本地通过宣称真实iPhone完成。
|
||||
|
||||
## C–F:实施中及待验收
|
||||
|
||||
设备权限、独立手机界面、审批/停止、事件恢复、真实iPhone与独立发行分别记录。手机界面和浏览器模拟结果不能代替真实设备步骤;没有设备结果时不记完整交付。
|
||||
@@ -0,0 +1,13 @@
|
||||
# 1.16 手机伴随端切片回顾
|
||||
|
||||
## 开始前核对
|
||||
|
||||
06c9fac已完成1.15,工作区干净。继承既有正式安装及数据,原候选及失败证据不改写。1.16以Windows为执行宿主,iPhone Safari/PWA通过同Wi-Fi和受信HTTPS联调,不依赖原生iOS构建链。
|
||||
|
||||
按A–F推进,每个切片记录观察、问题、修正、验证和本地提交。先实现TLS与权限契约,再用真实原任务完成手机流程,最终由真实iPhone和独立发行结果判断交付。
|
||||
|
||||
## A/B本地回顾
|
||||
|
||||
原Store只保留桌面update observer;手机采用授权项目SQL分页和短轮询,不新增需跨热升级迁移的观察者。网关使用原宿主/用户/目录身份,默认关闭,升级前必须关闭独立监听;关闭手机网关不调用Runtime.stop。新的手机授权仅保留摘要和脱敏审计。TLS私钥通过原CurrentUser DPAPI保护,未读取Provider凭据。
|
||||
|
||||
首轮未经过bundle执行而只看源码会漏掉二维码库CommonJS依赖;实际API/热升级回归及时揭示了问题。修复发行require后又发现源码定位标记冲突,保持原管理处理器唯一标记并对旧版连续升级复验。最终54/54通过,原失败与最终日志分别保存。接下来独立手机entry、设备管理和任务详情进入C;审批/停止的真实原Runtime竞争、断线及实际iPhone分别验收。
|
||||
@@ -0,0 +1,334 @@
|
||||
TAP version 13
|
||||
# Subtest: the bundled local service enforces host, origin, token and JSON object contracts
|
||||
ok 1 - the bundled local service enforces host, origin, token and JSON object contracts
|
||||
---
|
||||
duration_ms: 2196.4388
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an in-flight connection probe prevents configuration changes and another probe until its actual result returns
|
||||
ok 2 - an in-flight connection probe prevents configuration changes and another probe until its actual result returns
|
||||
---
|
||||
duration_ms: 2349.1248
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: API review applies verified content, detects conflicts, exports sessions and keeps keys in memory
|
||||
ok 3 - API review applies verified content, detects conflicts, exports sessions and keeps keys in memory
|
||||
---
|
||||
duration_ms: 4792.0407
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a real bundle restart preserves proposals, interrupts old approvals and requests fresh consent on resume
|
||||
ok 4 - a real bundle restart preserves proposals, interrupts old approvals and requests fresh consent on resume
|
||||
---
|
||||
duration_ms: 10638.2515
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: runtime diagnostics and model-response validation use actual records and preserve the saved connection
|
||||
ok 5 - runtime diagnostics and model-response validation use actual records and preserve the saved connection
|
||||
---
|
||||
duration_ms: 2092.0017
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: persistent event replay is read-only and keeps run/artifact identity across reconnects
|
||||
ok 6 - persistent event replay is read-only and keeps run/artifact identity across reconnects
|
||||
---
|
||||
duration_ms: 8166.6453
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: pairing is short lived, single-use, generation-bound and validates exact permissions
|
||||
ok 7 - pairing is short lived, single-use, generation-bound and validates exact permissions
|
||||
---
|
||||
duration_ms: 927.8145
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: device transaction failure neither consumes the ticket nor leaves a credential
|
||||
ok 8 - device transaction failure neither consumes the ticket nor leaves a credential
|
||||
---
|
||||
duration_ms: 600.8998
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: devices have project and action boundaries; rotation, expiration, revocation and host changes reject old authority
|
||||
ok 9 - devices have project and action boundaries; rotation, expiration, revocation and host changes reject old authority
|
||||
---
|
||||
duration_ms: 866.5426
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: persistent registry stores hashes and a bounded audit, never raw credentials
|
||||
ok 10 - persistent registry stores hashes and a bounded audit, never raw credentials
|
||||
---
|
||||
duration_ms: 719.0345
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: real TLS verifies IP SAN, CA chain, encrypted restart and public fingerprint
|
||||
ok 11 - real TLS verifies IP SAN, CA chain, encrypted restart and public fingerprint
|
||||
---
|
||||
duration_ms: 876.1836
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: TLS sealing failure leaves listener closed and no plaintext or successful TLS registration
|
||||
ok 12 - TLS sealing failure leaves listener closed and no plaintext or successful TLS registration
|
||||
---
|
||||
duration_ms: 810.7035
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: HTTP pairing is concurrent single-use; secure cookie and strict origin/host checks
|
||||
ok 13 - HTTP pairing is concurrent single-use; secure cookie and strict origin/host checks
|
||||
---
|
||||
duration_ms: 880.9565
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: gateway never exposes management routes, arbitrary assets or unpaired project data
|
||||
ok 14 - gateway never exposes management routes, arbitrary assets or unpaired project data
|
||||
---
|
||||
duration_ms: 801.8095
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: authorized project events paginate from original seq without leaking other project events or payloads
|
||||
ok 15 - authorized project events paginate from original seq without leaking other project events or payloads
|
||||
---
|
||||
duration_ms: 1443.8762
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: remote task projection excludes raw model history, host configuration, tool input and credentials
|
||||
ok 16 - remote task projection excludes raw model history, host configuration, tool input and credentials
|
||||
---
|
||||
duration_ms: 652.4081
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: permission checks apply to direct remote mutation, not only UI controls
|
||||
ok 17 - permission checks apply to direct remote mutation, not only UI controls
|
||||
---
|
||||
duration_ms: 1052.8996
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: approval fingerprint and exact task/revision are bound; duplicate requests never execute twice
|
||||
ok 18 - approval fingerprint and exact task/revision are bound; duplicate requests never execute twice
|
||||
---
|
||||
duration_ms: 1080.0886
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: unknown original operation is recorded and never replayed after response failure
|
||||
ok 19 - unknown original operation is recorded and never replayed after response failure
|
||||
---
|
||||
duration_ms: 1025.2881
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: revocation and gateway closure reject old access without invoking runtime stop
|
||||
ok 20 - revocation and gateway closure reject old access without invoking runtime stop
|
||||
---
|
||||
duration_ms: 1049.2047
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: rate limits reject pairing brute force and do not persist candidate secrets
|
||||
ok 21 - rate limits reject pairing brute force and do not persist candidate secrets
|
||||
---
|
||||
duration_ms: 1015.942
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: real Windows CurrentUser DPAPI persists only a sealed CA and reopens it
|
||||
ok 22 - real Windows CurrentUser DPAPI persists only a sealed CA and reopens it
|
||||
---
|
||||
duration_ms: 1911.906
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a rebuilt source archive binds actual generated client assets and retains its original running identity after disk changes
|
||||
ok 23 - a rebuilt source archive binds actual generated client assets and retains its original running identity after disk changes
|
||||
---
|
||||
duration_ms: 1582.7944
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
ok 24 - host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
---
|
||||
duration_ms: 0.7783
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stop confirmation binds the original instance, creation and loaded runtime
|
||||
ok 25 - stop confirmation binds the original instance, creation and loaded runtime
|
||||
---
|
||||
duration_ms: 0.192
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
ok 26 - state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
---
|
||||
duration_ms: 1026.9164
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
ok 27 - failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
---
|
||||
duration_ms: 2405.8429
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
ok 28 - host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
---
|
||||
duration_ms: 1.63
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
ok 29 - host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
---
|
||||
duration_ms: 582.57
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a stop from the event loop interrupts immediate model replies before later tools
|
||||
ok 30 - a stop from the event loop interrupts immediate model replies before later tools
|
||||
---
|
||||
duration_ms: 1490.7039
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a stop after the first tool preserves a complete interrupted multi-call protocol group
|
||||
ok 31 - a stop after the first tool preserves a complete interrupted multi-call protocol group
|
||||
---
|
||||
duration_ms: 2160.1239
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands
|
||||
ok 32 - the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands
|
||||
---
|
||||
duration_ms: 5765.214
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: denial prevents command execution and produces a paired denied result
|
||||
ok 33 - denial prevents command execution and produces a paired denied result
|
||||
---
|
||||
duration_ms: 1884.7637
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping during approval interrupts pending calls without executing or replaying them
|
||||
ok 34 - stopping during approval interrupts pending calls without executing or replaying them
|
||||
---
|
||||
duration_ms: 1521.9807
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping a running fixture command terminates its own process tree and retains uncertain state
|
||||
ok 35 - stopping a running fixture command terminates its own process tree and retains uncertain state
|
||||
---
|
||||
duration_ms: 2139.324
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: command output decodes split UTF-8 and excludes the workbench key from child environment
|
||||
ok 36 - command output decodes split UTF-8 and excludes the workbench key from child environment
|
||||
---
|
||||
duration_ms: 1063.4353
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model-list testing uses a tentative key without changing the saved connection and redacts service errors
|
||||
ok 37 - model-list testing uses a tentative key without changing the saved connection and redacts service errors
|
||||
---
|
||||
duration_ms: 6.12
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities
|
||||
ok 38 - truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities
|
||||
---
|
||||
duration_ms: 3405.7791
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: request projection keeps exact tool pairs and complete recent user instructions while preserving disk history
|
||||
ok 39 - request projection keeps exact tool pairs and complete recent user instructions while preserving disk history
|
||||
---
|
||||
duration_ms: 1371.9415
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
|
||||
ok 40 - a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
|
||||
---
|
||||
duration_ms: 4716.2931
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed upgrade restores the original artifact object, provider and request handler
|
||||
ok 41 - failed upgrade restores the original artifact object, provider and request handler
|
||||
---
|
||||
duration_ms: 1794.2995
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
ok 42 - claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
---
|
||||
duration_ms: 762.0886
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
ok 43 - sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
---
|
||||
duration_ms: 1058.0759
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
ok 44 - live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
---
|
||||
duration_ms: 715.689
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
ok 45 - an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
---
|
||||
duration_ms: 947.9357
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
ok 46 - an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
---
|
||||
duration_ms: 1712.04
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
ok 47 - the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
---
|
||||
duration_ms: 846.4857
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
ok 48 - release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
---
|
||||
duration_ms: 909.3419
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade adopts a retained virtual data root without reopening SQLite or changing rows, Provider or routing
|
||||
ok 49 - hot upgrade adopts a retained virtual data root without reopening SQLite or changing rows, Provider or routing
|
||||
---
|
||||
duration_ms: 1360.8202
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed adoption restores the original virtual data-root name and original open database
|
||||
ok 50 - failed adoption restores the original virtual data-root name and original open database
|
||||
---
|
||||
duration_ms: 798.2686
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
ok 51 - hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
---
|
||||
duration_ms: 562.0017
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
ok 52 - hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
---
|
||||
duration_ms: 474.5689
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a directly started compiled host upgrades twice with the same PID, sessions, applied bytes and volatile provider
|
||||
ok 53 - a directly started compiled host upgrades twice with the same PID, sessions, applied bytes and volatile provider
|
||||
---
|
||||
duration_ms: 3312.8041
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the running 0.1.0 process upgrades in place and retains its project, session, files and volatile model connection
|
||||
ok 54 - the running 0.1.0 process upgrades in place and retains its project, session, files and volatile model connection
|
||||
---
|
||||
duration_ms: 6009.7972
|
||||
type: 'test'
|
||||
...
|
||||
1..54
|
||||
# tests 54
|
||||
# suites 0
|
||||
# pass 54
|
||||
# fail 0
|
||||
# cancelled 0
|
||||
# skipped 0
|
||||
# todo 0
|
||||
# duration_ms 53648.534
|
||||
@@ -0,0 +1,556 @@
|
||||
TAP version 13
|
||||
# Subtest: the bundled local service enforces host, origin, token and JSON object contracts
|
||||
not ok 1 - the bundled local service enforces host, origin, token and JSON object contracts
|
||||
---
|
||||
duration_ms: 1003.4786
|
||||
type: 'test'
|
||||
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\api.test.mjs:8:1'
|
||||
failureType: 'testCodeFailure'
|
||||
error: |-
|
||||
Workbench launch failed: file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11
|
||||
throw Error('Dynamic require of "' + x + '" is not supported');
|
||||
^
|
||||
|
||||
Error: Dynamic require of "fs" is not supported
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11:9
|
||||
at node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:18654:16)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19085:23)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19203:22)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:38674:29
|
||||
at ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
at async node:internal/modules/esm/loader:647:26
|
||||
|
||||
Node.js v24.22.1
|
||||
|
||||
code: 'ERR_ASSERTION'
|
||||
name: 'AssertionError'
|
||||
expected: true
|
||||
actual: ''
|
||||
operator: '=='
|
||||
stack: |-
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11:9
|
||||
node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:18654:16)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19085:23)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19203:22)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:38674:29
|
||||
ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
async node:internal/modules/esm/loader:647:26
|
||||
launchWorkbench (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:94:10)
|
||||
async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/api.test.mjs:9:34)
|
||||
async Test.run (node:internal/test_runner/test:1409:7)
|
||||
async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3)
|
||||
...
|
||||
# Subtest: an in-flight connection probe prevents configuration changes and another probe until its actual result returns
|
||||
not ok 2 - an in-flight connection probe prevents configuration changes and another probe until its actual result returns
|
||||
---
|
||||
duration_ms: 725.1588
|
||||
type: 'test'
|
||||
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\api.test.mjs:27:1'
|
||||
failureType: 'testCodeFailure'
|
||||
error: |-
|
||||
Workbench launch failed: file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11
|
||||
throw Error('Dynamic require of "' + x + '" is not supported');
|
||||
^
|
||||
|
||||
Error: Dynamic require of "fs" is not supported
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11:9
|
||||
at node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:18654:16)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19085:23)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19203:22)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:38674:29
|
||||
at ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
at async node:internal/modules/esm/loader:647:26
|
||||
|
||||
Node.js v24.22.1
|
||||
|
||||
code: 'ERR_ASSERTION'
|
||||
name: 'AssertionError'
|
||||
expected: true
|
||||
actual: ''
|
||||
operator: '=='
|
||||
stack: |-
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11:9
|
||||
node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:18654:16)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19085:23)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19203:22)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:38674:29
|
||||
ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
async node:internal/modules/esm/loader:647:26
|
||||
launchWorkbench (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:94:10)
|
||||
async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/api.test.mjs:28:32)
|
||||
async Test.run (node:internal/test_runner/test:1409:7)
|
||||
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||||
...
|
||||
# Subtest: API review applies verified content, detects conflicts, exports sessions and keeps keys in memory
|
||||
not ok 3 - API review applies verified content, detects conflicts, exports sessions and keeps keys in memory
|
||||
---
|
||||
duration_ms: 877.0347
|
||||
type: 'test'
|
||||
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\api.test.mjs:42:1'
|
||||
failureType: 'testCodeFailure'
|
||||
error: |-
|
||||
Workbench launch failed: file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11
|
||||
throw Error('Dynamic require of "' + x + '" is not supported');
|
||||
^
|
||||
|
||||
Error: Dynamic require of "fs" is not supported
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11:9
|
||||
at node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:18654:16)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19085:23)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19203:22)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:38674:29
|
||||
at ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
at async node:internal/modules/esm/loader:647:26
|
||||
|
||||
Node.js v24.22.1
|
||||
|
||||
code: 'ERR_ASSERTION'
|
||||
name: 'AssertionError'
|
||||
expected: true
|
||||
actual: ''
|
||||
operator: '=='
|
||||
stack: |-
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11:9
|
||||
node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:18654:16)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19085:23)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19203:22)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:38674:29
|
||||
ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
async node:internal/modules/esm/loader:647:26
|
||||
launchWorkbench (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:94:10)
|
||||
async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/api.test.mjs:43:34)
|
||||
async Test.run (node:internal/test_runner/test:1409:7)
|
||||
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||||
...
|
||||
# Subtest: a real bundle restart preserves proposals, interrupts old approvals and requests fresh consent on resume
|
||||
not ok 4 - a real bundle restart preserves proposals, interrupts old approvals and requests fresh consent on resume
|
||||
---
|
||||
duration_ms: 959.4322
|
||||
type: 'test'
|
||||
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\api.test.mjs:76:1'
|
||||
failureType: 'testCodeFailure'
|
||||
error: |-
|
||||
Workbench launch failed: file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11
|
||||
throw Error('Dynamic require of "' + x + '" is not supported');
|
||||
^
|
||||
|
||||
Error: Dynamic require of "fs" is not supported
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11:9
|
||||
at node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:18654:16)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19085:23)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19203:22)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:38674:29
|
||||
at ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
at async node:internal/modules/esm/loader:647:26
|
||||
|
||||
Node.js v24.22.1
|
||||
|
||||
code: 'ERR_ASSERTION'
|
||||
name: 'AssertionError'
|
||||
expected: true
|
||||
actual: ''
|
||||
operator: '=='
|
||||
stack: |-
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11:9
|
||||
node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:18654:16)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19085:23)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19203:22)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:38674:29
|
||||
ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
async node:internal/modules/esm/loader:647:26
|
||||
launchWorkbench (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:94:10)
|
||||
async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/api.test.mjs:77:34)
|
||||
async Test.run (node:internal/test_runner/test:1409:7)
|
||||
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||||
...
|
||||
# Subtest: runtime diagnostics and model-response validation use actual records and preserve the saved connection
|
||||
not ok 5 - runtime diagnostics and model-response validation use actual records and preserve the saved connection
|
||||
---
|
||||
duration_ms: 874.5208
|
||||
type: 'test'
|
||||
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\api.test.mjs:105:1'
|
||||
failureType: 'testCodeFailure'
|
||||
error: |-
|
||||
Workbench launch failed: file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11
|
||||
throw Error('Dynamic require of "' + x + '" is not supported');
|
||||
^
|
||||
|
||||
Error: Dynamic require of "fs" is not supported
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11:9
|
||||
at node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:18654:16)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19085:23)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19203:22)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:38674:29
|
||||
at ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
at async node:internal/modules/esm/loader:647:26
|
||||
|
||||
Node.js v24.22.1
|
||||
|
||||
code: 'ERR_ASSERTION'
|
||||
name: 'AssertionError'
|
||||
expected: true
|
||||
actual: ''
|
||||
operator: '=='
|
||||
stack: |-
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11:9
|
||||
node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:18654:16)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19085:23)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19203:22)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:38674:29
|
||||
ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
async node:internal/modules/esm/loader:647:26
|
||||
launchWorkbench (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:94:10)
|
||||
async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/api.test.mjs:106:34)
|
||||
async Test.run (node:internal/test_runner/test:1409:7)
|
||||
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||||
...
|
||||
# Subtest: persistent event replay is read-only and keeps run/artifact identity across reconnects
|
||||
not ok 6 - persistent event replay is read-only and keeps run/artifact identity across reconnects
|
||||
---
|
||||
duration_ms: 707.8704
|
||||
type: 'test'
|
||||
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\api.test.mjs:122:1'
|
||||
failureType: 'testCodeFailure'
|
||||
error: |-
|
||||
Workbench launch failed: file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11
|
||||
throw Error('Dynamic require of "' + x + '" is not supported');
|
||||
^
|
||||
|
||||
Error: Dynamic require of "fs" is not supported
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11:9
|
||||
at node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:18654:16)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19085:23)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19203:22)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:38674:29
|
||||
at ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
at async node:internal/modules/esm/loader:647:26
|
||||
|
||||
Node.js v24.22.1
|
||||
|
||||
code: 'ERR_ASSERTION'
|
||||
name: 'AssertionError'
|
||||
expected: true
|
||||
actual: ''
|
||||
operator: '=='
|
||||
stack: |-
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11:9
|
||||
node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:18654:16)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19085:23)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19203:22)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:38674:29
|
||||
ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
async node:internal/modules/esm/loader:647:26
|
||||
launchWorkbench (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:94:10)
|
||||
async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/api.test.mjs:123:34)
|
||||
async Test.run (node:internal/test_runner/test:1409:7)
|
||||
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||||
...
|
||||
# Subtest: a rebuilt source archive binds actual generated client assets and retains its original running identity after disk changes
|
||||
ok 7 - a rebuilt source archive binds actual generated client assets and retains its original running identity after disk changes
|
||||
---
|
||||
duration_ms: 1987.8439
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
ok 8 - host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
---
|
||||
duration_ms: 0.7577
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stop confirmation binds the original instance, creation and loaded runtime
|
||||
ok 9 - stop confirmation binds the original instance, creation and loaded runtime
|
||||
---
|
||||
duration_ms: 0.1309
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
ok 10 - state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
---
|
||||
duration_ms: 1286.9472
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
ok 11 - failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
---
|
||||
duration_ms: 2538.2104
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
ok 12 - host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
---
|
||||
duration_ms: 1.175
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
ok 13 - host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
---
|
||||
duration_ms: 936.5359
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a stop from the event loop interrupts immediate model replies before later tools
|
||||
ok 14 - a stop from the event loop interrupts immediate model replies before later tools
|
||||
---
|
||||
duration_ms: 1649.8051
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a stop after the first tool preserves a complete interrupted multi-call protocol group
|
||||
ok 15 - a stop after the first tool preserves a complete interrupted multi-call protocol group
|
||||
---
|
||||
duration_ms: 1918.1817
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands
|
||||
ok 16 - the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands
|
||||
---
|
||||
duration_ms: 4352.8588
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: denial prevents command execution and produces a paired denied result
|
||||
ok 17 - denial prevents command execution and produces a paired denied result
|
||||
---
|
||||
duration_ms: 2118.9445
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping during approval interrupts pending calls without executing or replaying them
|
||||
ok 18 - stopping during approval interrupts pending calls without executing or replaying them
|
||||
---
|
||||
duration_ms: 1961.9679
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping a running fixture command terminates its own process tree and retains uncertain state
|
||||
ok 19 - stopping a running fixture command terminates its own process tree and retains uncertain state
|
||||
---
|
||||
duration_ms: 2129.2296
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: command output decodes split UTF-8 and excludes the workbench key from child environment
|
||||
ok 20 - command output decodes split UTF-8 and excludes the workbench key from child environment
|
||||
---
|
||||
duration_ms: 1312.7886
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model-list testing uses a tentative key without changing the saved connection and redacts service errors
|
||||
ok 21 - model-list testing uses a tentative key without changing the saved connection and redacts service errors
|
||||
---
|
||||
duration_ms: 5.9883
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities
|
||||
ok 22 - truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities
|
||||
---
|
||||
duration_ms: 2884.9196
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: request projection keeps exact tool pairs and complete recent user instructions while preserving disk history
|
||||
ok 23 - request projection keeps exact tool pairs and complete recent user instructions while preserving disk history
|
||||
---
|
||||
duration_ms: 1693.0511
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
|
||||
ok 24 - a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
|
||||
---
|
||||
duration_ms: 4525.4854
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed upgrade restores the original artifact object, provider and request handler
|
||||
ok 25 - failed upgrade restores the original artifact object, provider and request handler
|
||||
---
|
||||
duration_ms: 1630.4765
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
ok 26 - claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
---
|
||||
duration_ms: 851.2513
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
ok 27 - sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
---
|
||||
duration_ms: 835.2472
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
ok 28 - live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
---
|
||||
duration_ms: 1006.5435
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
ok 29 - an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
---
|
||||
duration_ms: 898.6232
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
ok 30 - an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
---
|
||||
duration_ms: 1678.8204
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
ok 31 - the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
---
|
||||
duration_ms: 841.1664
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
ok 32 - release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
---
|
||||
duration_ms: 1075.3137
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade adopts a retained virtual data root without reopening SQLite or changing rows, Provider or routing
|
||||
ok 33 - hot upgrade adopts a retained virtual data root without reopening SQLite or changing rows, Provider or routing
|
||||
---
|
||||
duration_ms: 1494.1818
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed adoption restores the original virtual data-root name and original open database
|
||||
ok 34 - failed adoption restores the original virtual data-root name and original open database
|
||||
---
|
||||
duration_ms: 784.762
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
ok 35 - hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
---
|
||||
duration_ms: 958.6187
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
ok 36 - hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
---
|
||||
duration_ms: 871.3889
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a directly started compiled host upgrades twice with the same PID, sessions, applied bytes and volatile provider
|
||||
not ok 37 - a directly started compiled host upgrades twice with the same PID, sessions, applied bytes and volatile provider
|
||||
---
|
||||
duration_ms: 733.5798
|
||||
type: 'test'
|
||||
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\upgrade.test.mjs:10:1'
|
||||
failureType: 'testCodeFailure'
|
||||
error: |-
|
||||
Workbench launch failed: file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11
|
||||
throw Error('Dynamic require of "' + x + '" is not supported');
|
||||
^
|
||||
|
||||
Error: Dynamic require of "fs" is not supported
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11:9
|
||||
at node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:18654:16)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19085:23)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19203:22)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:38674:29
|
||||
at ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
at async node:internal/modules/esm/loader:647:26
|
||||
|
||||
Node.js v24.22.1
|
||||
|
||||
code: 'ERR_ASSERTION'
|
||||
name: 'AssertionError'
|
||||
expected: true
|
||||
actual: ''
|
||||
operator: '=='
|
||||
stack: |-
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:11:9
|
||||
node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:18654:16)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19085:23)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:19203:22)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:17:50)
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/server.mjs:38674:29
|
||||
ModuleJob.run (node:internal/modules/esm/module_job:561:25)
|
||||
async node:internal/modules/esm/loader:647:26
|
||||
launchWorkbench (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:94:10)
|
||||
async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/upgrade.test.mjs:11:32)
|
||||
async Test.run (node:internal/test_runner/test:1409:7)
|
||||
async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3)
|
||||
...
|
||||
# Subtest: the running 0.1.0 process upgrades in place and retains its project, session, files and volatile model connection
|
||||
not ok 38 - the running 0.1.0 process upgrades in place and retains its project, session, files and volatile model connection
|
||||
---
|
||||
duration_ms: 2294.5523
|
||||
type: 'test'
|
||||
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\upgrade.test.mjs:38:1'
|
||||
failureType: 'testCodeFailure'
|
||||
error: |-
|
||||
Runtime upgrade failed: Error: Dynamic require of "fs" is not supported
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:11:9
|
||||
at node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:18654:16)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:17:50)
|
||||
at node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:19085:23)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:17:50)
|
||||
at node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:19203:22)
|
||||
at __require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:17:50)
|
||||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:38675:29
|
||||
at ModuleJobSync.runSync (node:internal/modules/esm/module_job:665:37)
|
||||
at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:347:47)
|
||||
code: 'ERR_TEST_FAILURE'
|
||||
stack: |-
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:11:9
|
||||
node_modules/qrcode/lib/renderer/png.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:18654:16)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:17:50)
|
||||
node_modules/qrcode/lib/server.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:19085:23)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:17:50)
|
||||
node_modules/qrcode/lib/index.js (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:19203:22)
|
||||
__require2 (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:17:50)
|
||||
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/dist-server/hot-upgrade.mjs:38675:29
|
||||
ModuleJobSync.runSync (node:internal/modules/esm/module_job:665:37)
|
||||
ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:347:47)
|
||||
upgradeRunning (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/upgrade-running.mjs:129:42)
|
||||
process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/upgrade.test.mjs:70:18)
|
||||
async Test.run (node:internal/test_runner/test:1409:7)
|
||||
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||||
...
|
||||
1..38
|
||||
# tests 38
|
||||
# suites 0
|
||||
# pass 30
|
||||
# fail 8
|
||||
# cancelled 0
|
||||
# skipped 0
|
||||
# todo 0
|
||||
# duration_ms 28091.1508
|
||||
@@ -0,0 +1,258 @@
|
||||
TAP version 13
|
||||
# Subtest: the bundled local service enforces host, origin, token and JSON object contracts
|
||||
ok 1 - the bundled local service enforces host, origin, token and JSON object contracts
|
||||
---
|
||||
duration_ms: 2398.5298
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an in-flight connection probe prevents configuration changes and another probe until its actual result returns
|
||||
ok 2 - an in-flight connection probe prevents configuration changes and another probe until its actual result returns
|
||||
---
|
||||
duration_ms: 2309.2915
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: API review applies verified content, detects conflicts, exports sessions and keeps keys in memory
|
||||
ok 3 - API review applies verified content, detects conflicts, exports sessions and keeps keys in memory
|
||||
---
|
||||
duration_ms: 4303.8204
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a real bundle restart preserves proposals, interrupts old approvals and requests fresh consent on resume
|
||||
ok 4 - a real bundle restart preserves proposals, interrupts old approvals and requests fresh consent on resume
|
||||
---
|
||||
duration_ms: 10552.0269
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: runtime diagnostics and model-response validation use actual records and preserve the saved connection
|
||||
ok 5 - runtime diagnostics and model-response validation use actual records and preserve the saved connection
|
||||
---
|
||||
duration_ms: 2035.1003
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: persistent event replay is read-only and keeps run/artifact identity across reconnects
|
||||
ok 6 - persistent event replay is read-only and keeps run/artifact identity across reconnects
|
||||
---
|
||||
duration_ms: 7131.3767
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a rebuilt source archive binds actual generated client assets and retains its original running identity after disk changes
|
||||
ok 7 - a rebuilt source archive binds actual generated client assets and retains its original running identity after disk changes
|
||||
---
|
||||
duration_ms: 2018.4278
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
ok 8 - host challenge proof rejects a stale challenge, changed identity and changed signature
|
||||
---
|
||||
duration_ms: 0.6999
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stop confirmation binds the original instance, creation and loaded runtime
|
||||
ok 9 - stop confirmation binds the original instance, creation and loaded runtime
|
||||
---
|
||||
duration_ms: 0.1341
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
ok 10 - state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON
|
||||
---
|
||||
duration_ms: 1034.1621
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
ok 11 - failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
---
|
||||
duration_ms: 2269.7603
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
ok 12 - host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered
|
||||
---
|
||||
duration_ms: 1.0627
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
ok 13 - host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts
|
||||
---
|
||||
duration_ms: 715.8724
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a stop from the event loop interrupts immediate model replies before later tools
|
||||
ok 14 - a stop from the event loop interrupts immediate model replies before later tools
|
||||
---
|
||||
duration_ms: 1335.7391
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a stop after the first tool preserves a complete interrupted multi-call protocol group
|
||||
ok 15 - a stop after the first tool preserves a complete interrupted multi-call protocol group
|
||||
---
|
||||
duration_ms: 1918.681
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands
|
||||
ok 16 - the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands
|
||||
---
|
||||
duration_ms: 5023.739
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: denial prevents command execution and produces a paired denied result
|
||||
ok 17 - denial prevents command execution and produces a paired denied result
|
||||
---
|
||||
duration_ms: 1862.7343
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping during approval interrupts pending calls without executing or replaying them
|
||||
ok 18 - stopping during approval interrupts pending calls without executing or replaying them
|
||||
---
|
||||
duration_ms: 1841.5925
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: stopping a running fixture command terminates its own process tree and retains uncertain state
|
||||
ok 19 - stopping a running fixture command terminates its own process tree and retains uncertain state
|
||||
---
|
||||
duration_ms: 2199.5374
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: command output decodes split UTF-8 and excludes the workbench key from child environment
|
||||
ok 20 - command output decodes split UTF-8 and excludes the workbench key from child environment
|
||||
---
|
||||
duration_ms: 1064.2569
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model-list testing uses a tentative key without changing the saved connection and redacts service errors
|
||||
ok 21 - model-list testing uses a tentative key without changing the saved connection and redacts service errors
|
||||
---
|
||||
duration_ms: 5.5337
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities
|
||||
ok 22 - truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities
|
||||
---
|
||||
duration_ms: 2544.29
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: request projection keeps exact tool pairs and complete recent user instructions while preserving disk history
|
||||
ok 23 - request projection keeps exact tool pairs and complete recent user instructions while preserving disk history
|
||||
---
|
||||
duration_ms: 1579.8632
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
|
||||
ok 24 - a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes
|
||||
---
|
||||
duration_ms: 4314.0651
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed upgrade restores the original artifact object, provider and request handler
|
||||
ok 25 - failed upgrade restores the original artifact object, provider and request handler
|
||||
---
|
||||
duration_ms: 1941.2982
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
ok 26 - claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
---
|
||||
duration_ms: 844.3569
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
ok 27 - sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
---
|
||||
duration_ms: 1017.7445
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
ok 28 - live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
---
|
||||
duration_ms: 727.4079
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
ok 29 - an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
---
|
||||
duration_ms: 836.2491
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
ok 30 - an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
---
|
||||
duration_ms: 1697.5218
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
ok 31 - the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
---
|
||||
duration_ms: 1082.1289
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
ok 32 - release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
---
|
||||
duration_ms: 1070.3313
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade adopts a retained virtual data root without reopening SQLite or changing rows, Provider or routing
|
||||
ok 33 - hot upgrade adopts a retained virtual data root without reopening SQLite or changing rows, Provider or routing
|
||||
---
|
||||
duration_ms: 1552.9529
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed adoption restores the original virtual data-root name and original open database
|
||||
ok 34 - failed adoption restores the original virtual data-root name and original open database
|
||||
---
|
||||
duration_ms: 827.2672
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
ok 35 - hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
|
||||
---
|
||||
duration_ms: 889.0345
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
ok 36 - hot upgrade refuses active probes and restores retained model methods if installation fails
|
||||
---
|
||||
duration_ms: 837.2508
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: a directly started compiled host upgrades twice with the same PID, sessions, applied bytes and volatile provider
|
||||
not ok 37 - a directly started compiled host upgrades twice with the same PID, sessions, applied bytes and volatile provider
|
||||
---
|
||||
duration_ms: 2307.8727
|
||||
type: 'test'
|
||||
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\upgrade.test.mjs:10:1'
|
||||
failureType: 'testCodeFailure'
|
||||
error: 'The existing request handler could not be identified uniquely.'
|
||||
code: 'ERR_TEST_FAILURE'
|
||||
stack: |-
|
||||
upgradeRunning (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/upgrade-running.mjs:103:41)
|
||||
process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/upgrade.test.mjs:24:20)
|
||||
async Test.run (node:internal/test_runner/test:1409:7)
|
||||
async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3)
|
||||
...
|
||||
# Subtest: the running 0.1.0 process upgrades in place and retains its project, session, files and volatile model connection
|
||||
not ok 38 - the running 0.1.0 process upgrades in place and retains its project, session, files and volatile model connection
|
||||
---
|
||||
duration_ms: 4785.5103
|
||||
type: 'test'
|
||||
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\upgrade.test.mjs:38:1'
|
||||
failureType: 'testCodeFailure'
|
||||
error: 'The existing request handler could not be identified uniquely.'
|
||||
code: 'ERR_TEST_FAILURE'
|
||||
stack: |-
|
||||
upgradeRunning (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/upgrade-running.mjs:103:41)
|
||||
process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/upgrade.test.mjs:90:18)
|
||||
async Test.run (node:internal/test_runner/test:1409:7)
|
||||
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||||
...
|
||||
1..38
|
||||
# tests 38
|
||||
# suites 0
|
||||
# pass 36
|
||||
# fail 2
|
||||
# cancelled 0
|
||||
# skipped 0
|
||||
# todo 0
|
||||
# duration_ms 43498.0512
|
||||
Reference in New Issue
Block a user