159 lines
13 KiB
Plaintext
159 lines
13 KiB
Plaintext
✔ PNG bytes are fully decoded, metadata-free and bounded; JPEG EXIF orientation is applied to the sent PNG (104.6542ms)
|
||
✖ forged type, short headers, CRC damage, incomplete chunks, trailing payloads, animation and dimension bombs reject (23.5584ms)
|
||
✖ draft image ownership, withdrawal, reload and atomic Task binding retain original SHA and original bytes (1095.482ms)
|
||
✔ a failed session transaction restores draft status and cannot leave a Run consuming the attachment (1074.7241ms)
|
||
✔ draft limits, duplicate selection, source changes and cross-Task association reject before dispatch (2223.6267ms)
|
||
✔ demo and legacy paths refuse image dispatch without creating a Task or consuming the draft (1187.2725ms)
|
||
✖ chat-completions sends one owned image per actual request, pairs original tools and verifies exact sealed bytes (1283.0097ms)
|
||
✖ responses sends one owned image per actual request, pairs original tools and verifies exact sealed bytes (1008.3599ms)
|
||
✖ mixed pool excludes unknown vision before lease and sends zero HTTP to the incompatible member (1287.0283ms)
|
||
✖ vision probe requires correct randomized pixel order and evidence expires when the connection revision changes (1014.5866ms)
|
||
✔ HTTP upload/read/withdraw uses session authorization, returns byte SHA and refuses unknown ownership (1169.7763ms)
|
||
✔ image accounting excludes Base64 as text but seals every original request byte and reserves image input separately (2.2418ms)
|
||
✔ schema1 connections remain readable without inventing observed capabilities or migrating original state (855.9471ms)
|
||
✔ protocol, unsupported capabilities and stream choice persist; client claims cannot forge verified evidence (1193.9145ms)
|
||
✔ ability evidence belongs to exact connection and credential revision; unknown and unsupported reject required routing (0.7101ms)
|
||
✔ invalid declarations and inconsistent stream settings reject before registry, revision and credentials mutate (1018.1341ms)
|
||
✔ saved engine budgets verify all Chat/Responses route variants and reject a mismatched output allowance (1371.9733ms)
|
||
✔ owned CC Switch SQLite imports the selected TOML Responses wire_api and leaves unknown clients untouched (1416.8663ms)
|
||
✔ Responses executes one original tool through Runtime, carries encrypted Items, reports raw usage and seals exact wire bytes (3365.0207ms)
|
||
✔ mixed-protocol pool keeps both actual variants and changes route on 429 without re-executing completed tools (3263.2217ms)
|
||
▶ Responses incomplete, failed, missing call identity and unsupported hosted outputs never dispatch a tool
|
||
✔ Reject {"body":{"id":"resp_owned","status":"incomplete","output":[{"type":"function_call","id":"fc_partial" (1190.0446ms)
|
||
✔ Reject {"body":{"id":"resp_owned","status":"failed","output":[{"type":"function_call","id":"fc_failed","cal (1248.8223ms)
|
||
✔ Reject {"body":{"id":"resp_owned","status":"completed","output":[{"type":"function_call","id":"fc_bad","cal (1388.761ms)
|
||
✔ Reject {"body":{"id":"resp_owned","status":"completed","output":[{"type":"computer_call","id":"not-supporte (1198.4518ms)
|
||
✔ Responses incomplete, failed, missing call identity and unsupported hosted outputs never dispatch a tool (5027.5271ms)
|
||
▶ invalid JSON in a nonstream Chat or Responses tool group prevents every tool and pool replay
|
||
✔ chat-completions (1340.444ms)
|
||
✔ responses (1234.363ms)
|
||
✔ invalid JSON in a nonstream Chat or Responses tool group prevents every tool and pool replay (2575.3827ms)
|
||
✔ wire adapter preserves tool IDs but never passes Responses-private Items to Chat or another endpoint (0.1751ms)
|
||
✔ connection JSON import accepts explicit Responses protocol and continues to reject unknown protocols without reading client sessions (589.5139ms)
|
||
ℹ tests 30
|
||
ℹ suites 0
|
||
ℹ pass 24
|
||
ℹ fail 6
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 20907.3335
|
||
|
||
✖ failing tests:
|
||
|
||
test at tests\input-attachments.test.mjs:38:1
|
||
✖ forged type, short headers, CRC damage, incomplete chunks, trailing payloads, animation and dimension bombs reject (23.5584ms)
|
||
AssertionError [ERR_ASSERTION]: The validation function is expected to return "true". Received false
|
||
|
||
Caught error:
|
||
|
||
Error: 图片编码或大小无效。
|
||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:48:10)
|
||
at Test.runInAsyncScope (node:async_hooks:227:14)
|
||
at Test.run (node:internal/test_runner/test:1402:25)
|
||
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
|
||
at Test.postRun (node:internal/test_runner/test:1542:19)
|
||
at Test.run (node:internal/test_runner/test:1467:12)
|
||
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
|
||
generatedMessage: true,
|
||
code: 'ERR_ASSERTION',
|
||
actual: Error: 图片编码或大小无效。
|
||
at reject (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/context/input-attachments.mjs:6:57)
|
||
at validateImage (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/context/input-attachments.mjs:87:110)
|
||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:48:21
|
||
at getActual (node:assert:611:5)
|
||
at strict.throws (node:assert:759:24)
|
||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:48:10)
|
||
at Test.runInAsyncScope (node:async_hooks:227:14)
|
||
at Test.run (node:internal/test_runner/test:1402:25)
|
||
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
|
||
at Test.postRun (node:internal/test_runner/test:1542:19),
|
||
operator: 'throws',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at tests\input-attachments.test.mjs:51:1
|
||
✖ draft image ownership, withdrawal, reload and atomic Task binding retain original SHA and original bytes (1095.482ms)
|
||
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /归属|所属|不存在/. Input:
|
||
|
||
'Error: 执行记录不属于当前会话。'
|
||
|
||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:55:58)
|
||
at Test.runInAsyncScope (node:async_hooks:227:14)
|
||
at Test.run (node:internal/test_runner/test:1402:25)
|
||
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
|
||
at Test.postRun (node:internal/test_runner/test:1542:19)
|
||
at Test.run (node:internal/test_runner/test:1467:12)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||
generatedMessage: true,
|
||
code: 'ERR_ASSERTION',
|
||
actual: Error: 执行记录不属于当前会话。
|
||
at Store.owned (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:602:130)
|
||
at InputAttachments.get (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/context/input-attachments.mjs:115:39)
|
||
at InputAttachments.read (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/context/input-attachments.mjs:126:20)
|
||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:55:77
|
||
at getActual (node:assert:611:5)
|
||
at strict.throws (node:assert:759:24)
|
||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:55:58)
|
||
at Test.runInAsyncScope (node:async_hooks:227:14)
|
||
at Test.run (node:internal/test_runner/test:1402:25)
|
||
at Test.processPendingSubtests (node:internal/test_runner/test:974:18),
|
||
expected: /归属|所属|不存在/,
|
||
operator: 'throws',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at tests\input-attachments.test.mjs:88:56
|
||
✖ chat-completions sends one owned image per actual request, pairs original tools and verifies exact sealed bytes (1283.0097ms)
|
||
Error: 持久执行记录不能移动到其他任务或项目。
|
||
at StateDatabase.writeRecords (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:67:15)
|
||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:98:40
|
||
at StateDatabase.transaction (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:37:26)
|
||
at StateDatabase.save (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:97:17)
|
||
at Store.save (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:363:36)
|
||
at Store.beginRun (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:483:10)
|
||
at Runtime.start (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/runtime.mjs:188:31)
|
||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:97:77)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
|
||
test at tests\input-attachments.test.mjs:88:56
|
||
✖ responses sends one owned image per actual request, pairs original tools and verifies exact sealed bytes (1008.3599ms)
|
||
Error: 持久执行记录不能移动到其他任务或项目。
|
||
at StateDatabase.writeRecords (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:67:15)
|
||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:98:40
|
||
at StateDatabase.transaction (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:37:26)
|
||
at StateDatabase.save (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:97:17)
|
||
at Store.save (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:363:36)
|
||
at Store.beginRun (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:483:10)
|
||
at Runtime.start (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/runtime.mjs:188:31)
|
||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:97:77)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
|
||
test at tests\input-attachments.test.mjs:106:1
|
||
✖ mixed pool excludes unknown vision before lease and sends zero HTTP to the incompatible member (1287.0283ms)
|
||
Error: 持久执行记录不能移动到其他任务或项目。
|
||
at StateDatabase.writeRecords (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:67:15)
|
||
at file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:98:40
|
||
at StateDatabase.transaction (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:37:26)
|
||
at StateDatabase.save (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/storage/state-database.mjs:97:17)
|
||
at Store.save (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:363:36)
|
||
at Store.beginRun (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:483:10)
|
||
at Runtime.start (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/runtime.mjs:188:31)
|
||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:112:11)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
|
||
test at tests\input-attachments.test.mjs:117:1
|
||
✖ vision probe requires correct randomized pixel order and evidence expires when the connection revision changes (1014.5866ms)
|
||
Error: 服务没有返回纯文本响应;未标为已验证。
|
||
at error (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/models/model-hub.mjs:11:56)
|
||
at ModelHub.probe (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/models/model-hub.mjs:143:91)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/input-attachments.test.mjs:125:3)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||
status: 400
|
||
}
|