Files

78 lines
3.7 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"phase": "start", "utc": "2026-10-26T22:46:35.392405+00:00", "test": "packages/harness/tests/proxy-routing.test.mjs", "bound": 180, "nice": 19, "privateHome": "/mnt/storage/scratch/tmp/gkdh/home", "privateConfig": "/mnt/storage/scratch/tmp/gkdh/home/config/unconfigured.json"}
✖ joined proxy context maps provider anthropic by identity, not model name (1.364131ms)
✖ joined proxy context maps provider zai by identity, not model name (0.201719ms)
✔ no proxy context preserves an arbitrary nonproxy provider and original route shape (0.622618ms)
✖ joined proxy context refuses unsupported provider rather than using an upstream credential or guessed API (0.249337ms)
✔ provider proxy still requires an explicit route inside joined context (0.358346ms)
ℹ tests 5
ℹ suites 0
ℹ pass 2
ℹ fail 3
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 60.487842
✖ failing tests:
test at packages/harness/tests/proxy-routing.test.mjs:10:3
✖ joined proxy context maps provider anthropic by identity, not model name (1.364131ms)
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ undefined
- 'anthropic'
at TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/fethry-row332/packages/harness/tests/proxy-routing.test.mjs:12:12)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1402:25)
at Test.start (node:internal/test_runner/test:1262:17)
at startSubtestAfterBootstrap (node:internal/test_runner/harness:387:17) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: undefined,
expected: 'anthropic',
operator: 'strictEqual',
diff: 'simple'
}
test at packages/harness/tests/proxy-routing.test.mjs:10:3
✖ joined proxy context maps provider zai by identity, not model name (0.201719ms)
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
undefined !== 'glm'
at TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/fethry-row332/packages/harness/tests/proxy-routing.test.mjs:12:12)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1402:25)
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
at Test.postRun (node:internal/test_runner/test:1542:19)
at Test.run (node:internal/test_runner/test:1467:12)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: undefined,
expected: 'glm',
operator: 'strictEqual',
diff: 'simple'
}
test at packages/harness/tests/proxy-routing.test.mjs:22:1
✖ joined proxy context refuses unsupported provider rather than using an upstream credential or guessed API (0.249337ms)
AssertionError [ERR_ASSERTION]: Missing expected exception.
at TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/fethry-row332/packages/harness/tests/proxy-routing.test.mjs:23:10)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1402:25)
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
at Test.postRun (node:internal/test_runner/test:1542:19)
at Test.run (node:internal/test_runner/test:1467:12)
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: { code: 'proxy-provider-unsupported' },
operator: 'throws',
diff: 'simple'
}
{"phase": "end", "utc": "2026-10-26T22:46:35.494174+00:00", "exit": 1, "niceRestoredTo": 19, "priorityCorrections": {"16": 1}, "ownedPids": [2244966, 2244967, 2244973]}