mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-06 16:06:08 +00:00
Prevent hidden retries after ambiguous WebSocket sends, enforce connection-local continuation ownership, and persist raw upstream failure details for operations diagnostics. Co-authored-by: Codex <noreply@openai.com>
12 lines
396 B
SQL
12 lines
396 B
SQL
-- 为运维错误保留 payload 发送边界与上游错误原文。
|
|
alter table model_requests
|
|
add column raw_upstream_error text;
|
|
|
|
alter table ops_events
|
|
add column upstream_send_state text,
|
|
add column raw_upstream_error text,
|
|
add constraint ops_events_upstream_send_state_ck check (
|
|
upstream_send_state is null
|
|
or upstream_send_state in ('not_sent', 'sent', 'ambiguous')
|
|
);
|