fix(providers): keep cache marker TTL order valid; never restructure … #1191
Annotations
10 errors and 11 warnings
|
src/core/llm/providers/__tests__/AnthropicProvider.test.ts > AnthropicProvider > thinking-block replay > strips thinking from earlier assistant turns, replaying only the last (bounded payload):
src/core/llm/providers/__tests__/AnthropicProvider.test.ts#L728
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ src/core/llm/providers/__tests__/AnthropicProvider.test.ts:728:80
|
|
src/io/voice-pipeline/__tests__/provider-health.test.ts:
src/io/voice-pipeline/providers/DeepgramStreamingSTT.ts#L2
Error: Cannot find package 'ws' imported from '/home/runner/work/agentos/agentos/src/io/voice-pipeline/providers/DeepgramStreamingSTT.ts'
❯ src/io/voice-pipeline/providers/DeepgramStreamingSTT.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
Caused by: Error: Failed to load url ws (resolved id: ws) in /home/runner/work/agentos/agentos/src/api/agency.ts. Does the file exist?
❯ loadAndTransform node_modules/.pnpm/vite@5.4.21_@types+node@20.19.40/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:51969:17
|
|
src/io/voice-pipeline/__tests__/env-constructor.test.ts:
src/io/voice-pipeline/providers/DeepgramStreamingSTT.ts#L2
Error: Cannot find package 'ws' imported from '/home/runner/work/agentos/agentos/src/io/voice-pipeline/providers/DeepgramStreamingSTT.ts'
❯ src/io/voice-pipeline/providers/DeepgramStreamingSTT.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
Caused by: Caused by: Error: Failed to load url ws (resolved id: ws) in /home/runner/work/agentos/agentos/src/api/agency.ts. Does the file exist?
❯ loadAndTransform node_modules/.pnpm/vite@5.4.21_@types+node@20.19.40/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:51969:17
|
|
src/io/avatar/__tests__/SimliServerSession.test.ts:
src/io/avatar/providers/SimliServerSession.ts#L2
Error: Cannot find package 'ws' imported from '/home/runner/work/agentos/agentos/src/io/avatar/providers/SimliServerSession.ts'
❯ src/io/avatar/providers/SimliServerSession.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
Caused by: Caused by: Error: Failed to load url ws (resolved id: ws) in /home/runner/work/agentos/agentos/src/api/agency.ts. Does the file exist?
❯ loadAndTransform node_modules/.pnpm/vite@5.4.21_@types+node@20.19.40/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:51969:17
|
|
src/cognition/memory/__tests__/assemble-for-prompt-concurrency.test.ts > assembleForPrompt concurrency > runs persistent read + prospective embed while retrieval is still in flight:
src/cognition/memory/__tests__/assemble-for-prompt-concurrency.test.ts#L131
AssertionError: expected 1 to be greater than or equal to 2
❯ src/cognition/memory/__tests__/assemble-for-prompt-concurrency.test.ts:131:7
|
|
src/cognition/memory/__tests__/AgentMemory.mood-args.test.ts > AgentMemory.getContext mood arg > supplied currentMood passes through; default budget 2000 preserved:
src/cognition/memory/__tests__/AgentMemory.mood-args.test.ts#L59
AssertionError: expected "spy" to be called with arguments: [ 'q', 2000, { valence: 0.4, …(2) } ]
Received:
1st spy call:
@@ -4,6 +4,9 @@
{
"arousal": 0.2,
"dominance": 0,
"valence": 0.4,
},
+ {
+ "maxTierRank": undefined,
+ },
]
Number of calls: 1
❯ src/cognition/memory/__tests__/AgentMemory.mood-args.test.ts:59:39
|
|
src/cognition/memory/__tests__/AgentMemory.mood-args.test.ts > AgentMemory.getContext mood arg > omitted → NEUTRAL passed to assembleForPrompt:
src/cognition/memory/__tests__/AgentMemory.mood-args.test.ts#L54
AssertionError: expected "spy" to be called with arguments: [ 'q', 1000, { valence: +0, …(2) } ]
Received:
1st spy call:
@@ -4,6 +4,9 @@
{
"arousal": 0,
"dominance": 0,
"valence": 0,
},
+ {
+ "maxTierRank": undefined,
+ },
]
Number of calls: 1
❯ src/cognition/memory/__tests__/AgentMemory.mood-args.test.ts:54:39
|
|
src/orchestration/__tests__/mission-integration.test.ts > Mission Orchestrator Integration > plans a mission, assigns providers, expands the graph, and tools work:
src/orchestration/__tests__/mission-integration.test.ts#L148
AssertionError: expected 'claude-sonnet-4-6' to be 'claude-sonnet-4-20250514' // Object.is equality
Expected: "claude-sonnet-4-20250514"
Received: "claude-sonnet-4-6"
❯ src/orchestration/__tests__/mission-integration.test.ts:148:30
|
|
src/orchestration/__tests__/ProviderAssignmentEngine.test.ts > ProviderAssignmentEngine > best strategy > prefers stronger providers when multiple are available:
src/orchestration/__tests__/ProviderAssignmentEngine.test.ts#L51
AssertionError: expected 'claude-sonnet-4-6' to be 'claude-sonnet-4-20250514' // Object.is equality
Expected: "claude-sonnet-4-20250514"
Received: "claude-sonnet-4-6"
❯ src/orchestration/__tests__/ProviderAssignmentEngine.test.ts:51:37
|
|
tests/extensions/ExtensionLoader.spec.ts:
src/extensions/ExtensionLoader.ts#L13
Error: [vitest] No "execFile" export is defined on the "child_process" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("child_process"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ src/extensions/ExtensionLoader.ts:13:33
❯ tests/extensions/ExtensionLoader.spec.ts:7:1
|
|
Test & Lint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Test & Lint:
src/api/runtime/TurnExecutionPipeline.ts#L46
'RollingSummaryCompactionResult' is defined but never used. Allowed unused vars must match /^_/u
|
|
Test & Lint:
src/api/runtime/TurnExecutionPipeline.ts#L41
'RollingSummaryPhaseResult' is defined but never used. Allowed unused vars must match /^_/u
|
|
Test & Lint:
src/api/runtime/TurnExecutionPipeline.ts#L25
'AdaptiveExecutionDecision' is defined but never used. Allowed unused vars must match /^_/u
|
|
Test & Lint:
src/api/runtime/RagMemoryInitializer.ts#L42
'StandaloneMemoryRollingSummarySinkOptions' is defined but never used. Allowed unused vars must match /^_/u
|
|
Test & Lint:
src/api/runtime/RagMemoryInitializer.ts#L41
'StandaloneMemoryLongTermRetrieverOptions' is defined but never used. Allowed unused vars must match /^_/u
|
|
Test & Lint:
src/api/runtime/GMIChunkTransformer.ts#L39
'ITurnPlanner' is defined but never used. Allowed unused vars must match /^_/u
|
|
Test & Lint:
src/api/runtime/GMIChunkTransformer.ts#L15
'StreamId' is defined but never used. Allowed unused vars must match /^_/u
|
|
Test & Lint:
src/api/runtime/ExternalToolResultHandler.ts#L40
'runWithSpanContext' is defined but never used. Allowed unused vars must match /^_/u
|
|
Test & Lint:
src/api/runtime/ExternalToolResultHandler.ts#L39
'startAgentOSSpan' is defined but never used. Allowed unused vars must match /^_/u
|
|
Test & Lint:
src/api/agency.ts#L91
'AgencyProvenanceTrail' is defined but never used. Allowed unused vars must match /^_/u
|