Files
stack/agents/rocko/work/queue-219/run-0780-mos1432/single-cli-thread-launch.test.tap

114 lines
7.8 KiB
Plaintext

TAP version 13
# usage: {"event":"usage-unknown","business":"acme","run":"rd9fe94c6a93c","instance":"assistant","turn":"acdd17ee-d9c0-41c9-9b18-03f0e4d7ccf1","source":"@none","code":"baseline-unknown"}
# usage: {"event":"usage-unknown","business":"acme","run":"r488a73e7e21c","instance":"assistant","turn":"f40d47d4-d3e4-4ed8-9155-e3d28385a4f0","source":"@none","code":"baseline-unknown"}
# usage: {"event":"usage-unknown","business":"acme","run":"r62e991ccbe40","instance":"assistant","turn":"5a93737f-88ea-4a36-a8df-d5af7c5c727f","source":"@none","code":"baseline-unknown"}
# usage: {"event":"usage-unknown","business":"acme","run":"rab07b97c6b59","instance":"assistant","turn":"c366ee9b-47bc-41eb-89a5-6cdac996498e","source":"@none","code":"baseline-unknown"}
# Subtest: REQ-THREAD-2 REQ-LAUNCH-1 REQ-MSG-1 a thread message starts the thread's session, which stops when idle; its history survives the stop and a restart and no other thread sees it
ok 1 - REQ-THREAD-2 REQ-LAUNCH-1 REQ-MSG-1 a thread message starts the thread's session, which stops when idle; its history survives the stop and a restart and no other thread sees it
---
duration_ms: 5863.212229
type: 'test'
...
# usage: {"event":"usage-unknown","business":"acme","run":"r8f921b27b736","instance":"assistant","turn":"960a3503-f2d2-4683-9b36-24dbfa43d9a8","source":"@none","code":"baseline-unknown"}
# usage: {"event":"usage-unknown","business":"acme","run":"r2c17b223cf58","instance":"assistant","turn":"a2dec2ed-2ce7-4278-b023-d8a1eac619f0","source":"@none","code":"baseline-unknown"}
# Subtest: REQ-THREAD-2 REQ-LAUNCH-1 a running thread counts against its model's limit and an idle-stopped one doesn't
ok 2 - REQ-THREAD-2 REQ-LAUNCH-1 a running thread counts against its model's limit and an idle-stopped one doesn't
---
duration_ms: 1699.456613
type: 'test'
...
# usage: {"event":"usage-unknown","business":"acme","run":"ra7fc0a5e5087","instance":"assistant","turn":"e201b1b5-2e0c-4893-869f-e3c822d486e9","source":"@none","code":"baseline-unknown"}
# Subtest: REQ-THREAD-2 REQ-LAUNCH-1 a turn longer than the idle time isn't stopped, and the thread idles out after it
ok 3 - REQ-THREAD-2 REQ-LAUNCH-1 a turn longer than the idle time isn't stopped, and the thread idles out after it
---
duration_ms: 4443.468494
type: 'test'
...
# usage: {"event":"usage-unknown","business":"acme","run":"r25b13eb6e839","instance":"assistant","turn":"4b84a129-4452-48a3-9c82-8e847b026b42","source":"@none","code":"baseline-unknown"}
# usage: {"event":"usage-unknown","business":"acme","run":"r25b13eb6e839","instance":"assistant","turn":"ca697e50-5aa6-4ecf-ab5f-0180f39671d8","source":"@none","code":"baseline-unknown"}
# Subtest: REQ-THREAD-2 REQ-LAUNCH-1 a message sent after the idle snapshot keeps the session, which answers it
ok 4 - REQ-THREAD-2 REQ-LAUNCH-1 a message sent after the idle snapshot keeps the session, which answers it
---
duration_ms: 2906.555821
type: 'test'
...
# Subtest: REQ-ROLE-2 REQ-LAUNCH-1 a thread held by a run the launcher didn't start gets no second session
ok 5 - REQ-ROLE-2 REQ-LAUNCH-1 a thread held by a run the launcher didn't start gets no second session
---
duration_ms: 77.448744
type: 'test'
...
# usage: {"event":"usage-unknown","business":"acme","run":"rc92eb2ad48fb","instance":"assistant","turn":"86c5dc34-0018-468b-945d-cdde7c07cc1f","source":"@none","code":"baseline-unknown"}
# Subtest: REQ-LAUNCH-1 a thread run's session file has no landing, even when landHolders names its instance
ok 6 - REQ-LAUNCH-1 a thread run's session file has no landing, even when landHolders names its instance
---
duration_ms: 373.463679
type: 'test'
...
# Subtest: REQ-LAUNCH-1 a run that ends without taking its thread's message isn't started again for that message
ok 7 - REQ-LAUNCH-1 a run that ends without taking its thread's message isn't started again for that message
---
duration_ms: 220.418034
type: 'test'
...
# Subtest: REQ-THREAD-2 REQ-LAUNCH-1 a thread id that isn't a safe segment, or a thread of a non-thread instance, launches nothing
ok 8 - REQ-THREAD-2 REQ-LAUNCH-1 a thread id that isn't a safe segment, or a thread of a non-thread instance, launches nothing
---
duration_ms: 218.661261
type: 'test'
...
# Subtest: REQ-THREAD-1 REQ-LAUNCH-1 the chief can't launch the assistant outside a thread
ok 9 - REQ-THREAD-1 REQ-LAUNCH-1 the chief can't launch the assistant outside a thread
---
duration_ms: 77.033197
type: 'test'
...
# Subtest: C2-09a: fromSession refuses a creative instance outside a thread without a sandbox
ok 10 - C2-09a: fromSession refuses a creative instance outside a thread without a sandbox
---
duration_ms: 74.007967
type: 'test'
...
# limits: {"event":"limit-reached","business":"acme","check":"token-limit","export":"mayLaunch","subject":{"instance":"assistant","provider":"zai","model":"claude-sonnet-5-5","account":null},"path":["tokens","instances","assistant"],"limit":0,"count":0,"unknownTurns":0}
# limits: {"event":"limit-reached","business":"acme","check":"token-limit","export":"mayLaunch","subject":{"instance":"assistant","provider":"zai","model":"claude-sonnet-5-5","account":null},"path":["tokens","instances","assistant"],"limit":0,"count":0,"unknownTurns":0}
# Subtest: REQ-LIMIT-3 REQ-LIMIT-4 a thread start whose instance is at its token limit is refused, logged once with the limit and the count
ok 11 - REQ-LIMIT-3 REQ-LIMIT-4 a thread start whose instance is at its token limit is refused, logged once with the limit and the count
---
duration_ms: 189.559346
type: 'test'
...
# usage: {"event":"usage-unknown","business":"acme","run":"rb55b5fb42f65","instance":"assistant","turn":"1327e9e8-dbce-4d13-8d91-12224c10cc06","source":"@none","code":"baseline-unknown"}
# limits: {"event":"limit-reached","business":"acme","check":"token-limit","export":"mustStop","subject":{"instance":"assistant","provider":"zai","model":"claude-sonnet-5-5","account":null},"path":["tokens","instances","assistant"],"limit":0,"count":0,"unknownTurns":1}
# Subtest: REQ-LIMIT-4 a thread run at its token limit stops at the end of its turn: the reply lands, and the end record names the limit
ok 12 - REQ-LIMIT-4 a thread run at its token limit stops at the end of its turn: the reply lands, and the end record names the limit
---
duration_ms: 340.483797
type: 'test'
...
# usage: {"event":"usage-unknown","business":"acme","run":"rd4cf5ce21427","instance":"bean","turn":"27ddff31-caaa-4a9c-bda9-f36185b56dc9","source":"@none","code":"baseline-unknown"}
# usage: {"event":"usage-unknown","business":"acme","run":"r890816a98bc2","instance":"chet","turn":"70137265-3ce6-434e-bd90-cef6fd12d283","source":"@none","code":"baseline-unknown"}
# usage: {"event":"usage-unknown","business":"acme","run":"rd4cf5ce21427","instance":"bean","turn":"1d6ad2b2-d083-438a-b96f-e65ed3230da1","source":"@none","code":"baseline-unknown"}
# Subtest: C2-09a: creative thread messages start distinct runs and keep each instance history separate
ok 13 - C2-09a: creative thread messages start distinct runs and keep each instance history separate
---
duration_ms: 743.366431
type: 'test'
...
# usage: {"event":"usage-unknown","business":"acme","run":"rb4c5e063b74b","instance":"bean","turn":"66cf82d6-45bc-49ff-9916-e9a2092d9e64","source":"@none","code":"baseline-unknown"}
# usage: {"event":"usage-unknown","business":"acme","run":"r6eef47e198ff","instance":"bean","turn":"357e8a93-e184-471e-803d-505682754bbc","source":"@none","code":"baseline-unknown"}
# Subtest: C2-09a: terminating one creative thread does not signal an unselected peer of the same instance
ok 14 - C2-09a: terminating one creative thread does not signal an unselected peer of the same instance
---
duration_ms: 646.331526
type: 'test'
...
1..14
# tests 14
# suites 0
# pass 14
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 17998.465895