proxy: cancel upstream on streaming disconnect #36
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/streaming-disconnect-cancellation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary:
Verification:
DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer xcodebuild test -project CodexModelSwitcher.xcodeproj -scheme CodexModelSwitcher -configuration Debug -destination platform=macOS -derivedDataPath /tmp/CodexModelSwitcher-DerivedData-disconnect-preheaders-red CODE_SIGNING_ALLOWED=NO -only-testing:CodexModelSwitcherTests/CompatibilityProxyServerTests/testStreamingProxyCancelsUpstreamRequestBeforeResponseHeadersWhenDownstreamDisconnectsfailed before the production fix withunfulfilled expectations: "upstream request is cancelled".DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer xcodebuild test -project CodexModelSwitcher.xcodeproj -scheme CodexModelSwitcher -configuration Debug -destination platform=macOS -derivedDataPath /tmp/CodexModelSwitcher-DerivedData-disconnect-socket-green CODE_SIGNING_ALLOWED=NO -only-testing:CodexModelSwitcherTests/CompatibilityProxyServerTests/testStreamingProxyCancelsUpstreamRequestBeforeResponseHeadersWhenDownstreamDisconnects -only-testing:CodexModelSwitcherTests/CompatibilityProxyServerTests/testStreamingProxyCancelsIdleUpstreamStreamWhenDownstreamDisconnectsDEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer xcodebuild test -project CodexModelSwitcher.xcodeproj -scheme CodexModelSwitcher -configuration Debug -destination platform=macOS -derivedDataPath /tmp/CodexModelSwitcher-DerivedData-disconnect-proxy-final2 CODE_SIGNING_ALLOWED=NO -only-testing:CodexModelSwitcherTests/CompatibilityProxyServerTestsgit diff --check -- CodexModelSwitcher/CompatibilityProxyServer.swift CodexModelSwitcherTests/CompatibilityProxyServerTests.swift TODO.mdDEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer scripts/verify.sh