23 lines
1.9 KiB
Plaintext
23 lines
1.9 KiB
Plaintext
command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/bus/tests/limits-runtime.test.mjs"]
|
||
TMPDIR: /mnt/storage/scratch/tmp/oEntjx
|
||
launch nice: 19
|
||
limits: {"event":"limit-reached","business":"demo","check":"token-limit","export":"mayLaunch","subject":{"instance":"coder","provider":"zai","model":"glm-5.3-flash","account":null},"path":["tokens","instances","coder"],"limit":0,"count":0,"unknownTurns":0}
|
||
organization: {"event":"reload-needs-restart","business":"demo"}
|
||
usage: {"event":"usage-unknown","business":"demo","run":"run1","instance":"coder","turn":"18e16b92-0c3d-423f-8ce1-f4a68bf5b24d","source":"@none","code":"baseline-unknown"}
|
||
limits: {"event":"limit-reached","business":"demo","check":"token-limit","export":"mustStop","subject":{"instance":"coder","provider":"zai","model":"glm-5.3-flash","account":null},"path":["tokens","instances","coder"],"limit":0,"count":0,"unknownTurns":1}
|
||
usage: {"event":"usage-unknown","business":"demo","run":"run1","instance":"coder","turn":"65bc80de-4f65-4c0c-b11f-5fabbb337df8","source":"@none","code":"baseline-unknown"}
|
||
organization: {"event":"reload-needs-restart","business":"demo"}
|
||
✔ REQ-LIMIT-3 REQ-LIMIT-4 runtime: limits carries the token count, mayLaunch refuses at the limit, a reset moves since (176.332892ms)
|
||
✔ REQ-LIMIT-3 runtime: with no limit check switched on, the limit shows not enforced and every launch is allowed (48.303381ms)
|
||
✔ REQ-LIMIT-4 runtime: the broker asks the shipped token-limit after a turn, and the run at its limit stops on its next receive (64.384661ms)
|
||
✔ REQ-LIMIT-4 runtime: with no usage source a turn is unknown, counts zero and stops nothing under a limit of 1 (61.557366ms)
|
||
✔ REQ-LIMIT-3 runtime: switching a limit check on with plugins.set loads it without a launch or a turn (74.837608ms)
|
||
ℹ tests 5
|
||
ℹ suites 0
|
||
ℹ pass 5
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 483.732161
|