Files
Agent-Workbench/docs/workers-recovery-first.tap

133 lines
5.6 KiB
Plaintext

TAP version 13
# Subtest: stopping a parent accounts late responses and executes none of their proposed tools
ok 1 - stopping a parent accounts late responses and executes none of their proposed tools
---
duration_ms: 10135.9933
type: 'test'
...
# Subtest: unreported interrupted requests reserve estimated usage and the total deadline cannot reset on resume
ok 2 - unreported interrupted requests reserve estimated usage and the total deadline cannot reset on resume
---
duration_ms: 10092.1896
type: 'test'
...
# Subtest: a response exceeding the cumulative token allocation stops before registering or executing its tools
ok 3 - a response exceeding the cumulative token allocation stops before registering or executing its tools
---
duration_ms: 9855.2897
type: 'test'
...
# Subtest: cumulative tool allocation rejects the entire returned batch before any tool side effect
ok 4 - cumulative tool allocation rejects the entire returned batch before any tool side effect
---
duration_ms: 9914.3346
type: 'test'
...
# Subtest: single response 16 tool ceiling rejects the entire returned batch before any tool side effect
ok 5 - single response 16 tool ceiling rejects the entire returned batch before any tool side effect
---
duration_ms: 9628.7781
type: 'test'
...
# Subtest: consumed request steps remain consumed across explicit worker resumes
ok 6 - consumed request steps remain consumed across explicit worker resumes
---
duration_ms: 10491.8798
type: 'test'
...
# Subtest: a saved completed response with missing usage is conservatively accounted exactly once during recovery
ok 7 - a saved completed response with missing usage is conservatively accounted exactly once during recovery
---
duration_ms: 8764.1331
type: 'test'
...
# Subtest: an unexecuted second workspace plan resumes its original identity without recreating the first checkout
ok 8 - an unexecuted second workspace plan resumes its original identity without recreating the first checkout
---
duration_ms: 9508.4738
type: 'test'
...
# Subtest: a verified interrupted parent proposal resumes sealing without duplicating or replacing its original change
ok 9 - a verified interrupted parent proposal resumes sealing without duplicating or replacing its original change
---
duration_ms: 30026.5006
type: 'test'
...
# Subtest: recovery attaches a sealed parent batch saved before its group reference without creating another batch
ok 10 - recovery attaches a sealed parent batch saved before its group reference without creating another batch
---
duration_ms: 26704.7496
type: 'test'
...
# Subtest: explicitly retaining an unexecuted parent merge cancels its batch and frees the next parent goal
ok 11 - explicitly retaining an unexecuted parent merge cancels its batch and frees the next parent goal
---
duration_ms: 26521.4112
type: 'test'
...
# Subtest: unknown collaboration blocks ordinary proposals but permits only original batch recovery and rollback
ok 12 - unknown collaboration blocks ordinary proposals but permits only original batch recovery and rollback
---
duration_ms: 29624.038
type: 'test'
...
# Subtest: after a restart the batch application lazily reinstates the worker result guard before any parent write
ok 13 - after a restart the batch application lazily reinstates the worker result guard before any parent write
---
duration_ms: 25831.1949
type: 'test'
...
# Subtest: unknown original tool inputs must match before acknowledgement, and reviewed checkpoint IDs preserve the unknown fact
ok 14 - unknown original tool inputs must match before acknowledgement, and reviewed checkpoint IDs preserve the unknown fact
---
duration_ms: 10816.9308
type: 'test'
...
# Subtest: a parent stop observes and waits for a manually approved child check and its real descendant process
not ok 15 - a parent stop observes and waits for a manually approved child check and its real descendant process
---
duration_ms: 24214.5723
type: 'test'
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\workers-recovery.test.mjs:195:1'
failureType: 'testCodeFailure'
error: 'Timed out waiting for test state.'
code: 'ERR_TEST_FAILURE'
stack: |-
until (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:37:38)
async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers-recovery.test.mjs:200:3)
async Test.run (node:internal/test_runner/test:1409:7)
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
...
# Subtest: a real host crash preserves unknown checks, refuses a still living owned PID and never replays a model or tool
not ok 16 - a real host crash preserves unknown checks, refuses a still living owned PID and never replays a model or tool
---
duration_ms: 11490.0004
type: 'test'
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\workers-recovery.test.mjs:211:1'
failureType: 'testCodeFailure'
error: |-
The expression evaluated to a falsy value:
assert.ok(pids.some(info => alive(info.pid)))
code: 'ERR_ASSERTION'
name: 'AssertionError'
expected: true
actual: false
operator: '=='
stack: |-
TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers-recovery.test.mjs:226:105)
process.processTicksAndRejections (node:internal/process/task_queues:104:5)
async Test.run (node:internal/test_runner/test:1409:7)
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
...
1..16
# tests 16
# suites 0
# pass 14
# fail 2
# cancelled 0
# skipped 0
# todo 0
# duration_ms 263747.7797