[daily] route codex websocket through site api endpoints (#386)

* fix: route codex websocket through site api endpoints

* fix: preserve websocket endpoint exhaustion errors

* test: align proxy route mocks with first-byte timeout helpers
This commit is contained in:
Cita
2026-04-02 11:18:30 +08:00
committed by GitHub
parent 180d17adfc
commit 52c6ff5e5c
16 changed files with 242 additions and 66 deletions
@@ -35,6 +35,7 @@ vi.mock('../../db/index.js', () => {
insert: () => insertChain,
select: () => queryChain,
},
hasProxyLogStreamTimingColumns: async () => false,
schema: {
settings: { key: 'key' },
checkinLogs: { accountId: 'accountId', createdAt: 'createdAt' },