[codex] Fast-close Cloudflare stream challenges#239
Merged
KilimiaoSix merged 3 commits intoMay 18, 2026
Conversation
Collaborator
Author
|
补充说明:这个 PR 目前包含以下修复范围。
验证覆盖:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/v1/responseswhen Cloudflare/HTML challenge responses arrive and the upstream body stalls.Verification
git diff --checkrustfmt --edition 2021 --check crates/service/src/apikey/apikey_models.rs crates/core/src/storage/model_sources.rs crates/core/src/storage/accounts.rs crates/core/tests/storage.rscargo test -p codexmanager-corecargo test -p codexmanager-core model_sourcecargo test -p codexmanager-service account_pool_bootstrap -- --nocapturecargo test -p codexmanager-service auto_association -- --nocapturecargo test -p codexmanager-service --test gateway_logs basic::gateway_rewrites_account_pool_model_from_enabled_mapping -- --test-threads=1cargo test -p codexmanager-service gateway::upstream::attempt_flow::transportcargo test -p codexmanager-service cloudflare -- --nocapturecargo test -p codexmanager-service --test app_settings -- --test-threads=1cargo test -p codexmanager-service --test gateway_logs -- --test-threads=1cargo test -p codexmanager-servicecd apps && pnpm install --frozen-lockfile && pnpm run build:desktop