mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
[codex] Fix app-server initialized request analytics build (#17830)
Problem: PR #17372 moved initialized request handling into `dispatch_initialized_client_request`, leaving analytics code that uses `connection_id` without a local binding and breaking `codex-app-server` builds. Solution: Restore the `connection_id` binding from `connection_request_id` before initialized request validation and analytics tracking.
This commit is contained in:
committed by
GitHub
Unverified
parent
706f830dc6
commit
1fd9c33207
@@ -725,6 +725,8 @@ impl MessageProcessor {
|
||||
session: Arc<ConnectionSessionState>,
|
||||
request_context: RequestContext,
|
||||
) {
|
||||
let connection_id = connection_request_id.connection_id;
|
||||
|
||||
if !session.initialized() {
|
||||
let error = JSONRPCErrorError {
|
||||
code: INVALID_REQUEST_ERROR_CODE,
|
||||
|
||||
Reference in New Issue
Block a user