42 lines
4.2 KiB
Plaintext
42 lines
4.2 KiB
Plaintext
✔ unchanged proposals cannot hide repeated original-log reads or identical session inspections (5250.9315ms)
|
||
✔ reusing a verified proof never resets identical-state detection or creates a new proof (5595.1077ms)
|
||
✔ coverage merges adjacent pages, separates changed sources and never claims old Run coverage in a continuation (1.0036ms)
|
||
✔ continuation reads advance through historical pages without a false pause while repeated current-Run pages still pause (1.778ms)
|
||
✔ a new tool page replaces old latest-feedback space and still obeys its escaped protocol budget (0.6212ms)
|
||
✔ budgeted artifact pages count escaped protocol bytes and reconstruct original multilingual JSON without losing characters (9.205ms)
|
||
✔ known artifact coverage detects semantic repeats despite changing limits, and advancing pages or direct evidence restore progress (0.3752ms)
|
||
✖ actual large artifact reads are present in the next bounded HTTP request and next_offset progresses without redoing tools (5894.683ms)
|
||
✔ a real repeated artifact loop pauses the same Task after recorded results, survives reload and only resumes explicitly (5460.9147ms)
|
||
✔ actual HTTP continuation after reload sends distinct historically covered pages without false no_progress or replay (4010.2601ms)
|
||
ℹ tests 10
|
||
ℹ suites 0
|
||
ℹ pass 9
|
||
ℹ fail 1
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 15626.1116
|
||
|
||
✖ failing tests:
|
||
|
||
test at tests\read-budget.test.mjs:73:1
|
||
✖ actual large artifact reads are present in the next bounded HTTP request and next_offset progresses without redoing tools (5894.683ms)
|
||
AssertionError [ERR_ASSERTION]: {"failure":{"id":"4d472407-d714-4c12-ba8c-003a9d566c04","source":"model_connection","origin":"upstream","stage":"model_request","kind":"service","httpStatus":500,"endpoint":"http://127.0.0.1:53032/v1","model":"page-budget-fixture","route":"/chat/completions","attempts":3,"occurredAt":"2026-11-03T03:58:39.895Z","retryable":true,"title":"模型服务暂时无法处理请求","upstream":{"schema":1,"scope":"http-body","httpStatus":500,"code":null,"type":null,"message":"Newest actual result must be sent, not archived before the model sees it","param":null,"reason":null,"requestId":null,"responseId":null,"eventType":null,"headers":{"content-type":"application/json","date":"Tue, 03 Nov 2026 03:58:39 GMT"},"retryAfter":null,"retryAfterMs":null,"rawPreview":"{\"error\":{\"message\":\"Newest actual result must be sent, not archived before the model sees it\"}}","previewTruncated":false,"capture":{"scope":"http-body","receivedBytes":96,"capturedBytes":96,"storedBytes":96,"retention":"artifact","complete":true,"truncated":false,"interrupted":false,"capturedRange":[0,96],"redacted":false,"sha256":"bc1dd20cfb838626ba925ecf33e0b0ee15648ee4b11c588226aac3517a6f7a2d"},"artifactId":"e6e1be1c-1a4c-4349-9600-4fc0f4e34998","artifactSha256":"bc1dd20cfb838626ba925ecf33e0b0ee15648ee4b11c588226aac3517a6f7a2d","artifactScope":"http-body","sessionId":"2629585f-fb0f-4143-bbad-d45411b81d18"},"upstreamRequestId":null,"code":null,"type":null,"limitReason":null,"wireAttemptId":"80529dad-ab09-405e-8e0e-ee6a3f32aeb1","message":"模型服务暂时无法处理请求(HTTP 500)。 Newest actual result must be sent, not archived before the model sees it","detail":"Newest actual result must be sent, not archived before the model sees it","suggestion":"稍后重试,或检查模型服务状态。","retryDecision":"attempt_limit","remainingWaitBudgetMs":297094,"runId":"b86fe57f-56c1-4d64-bc04-1f53676cb497","messageId":"9d281227-37e6-450e-ba72-049c61d585d9"},"requests":4,"pages":[]}
|
||
+ actual - expected
|
||
|
||
+ 'failed'
|
||
- 'completed'
|
||
|
||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/read-budget.test.mjs:94:10)
|
||
at runNextTicks (node:internal/process/task_queues:65:5)
|
||
at process.processTimers (node:internal/timers:615:9)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||
generatedMessage: false,
|
||
code: 'ERR_ASSERTION',
|
||
actual: 'failed',
|
||
expected: 'completed',
|
||
operator: 'strictEqual',
|
||
diff: 'simple'
|
||
}
|