Files
Agent-Workbench/docs/companion-a-b-evidence/second-upgrade-failure.tap
T
2026-10-31 17:38:57 +08:00

259 lines
12 KiB
Plaintext

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