proxy: emit buffered sse terminal status #35
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/buffered-sse-terminal-status"
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
response.incompleteorresponse.failedterminal SSE events from buffered Responses bodies based onstatus.response.completed, preserving existing created/output item events plus[DONE].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-buffered-sse-red CODE_SIGNING_ALLOWED=NO -only-testing:CodexModelSwitcherTests/CompatibilityProxyServerTests/testBufferedEventStreamUsesIncompleteTerminalEventForIncompleteResponseBodies -only-testing:CodexModelSwitcherTests/CompatibilityProxyServerTests/testBufferedEventStreamUsesFailedTerminalEventForFailedResponseBodiesfailed before implementation because the helper emittedresponse.completed.DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer xcodebuild test -project CodexModelSwitcher.xcodeproj -scheme CodexModelSwitcher -configuration Debug -destination platform=macOS -derivedDataPath /tmp/CodexModelSwitcher-DerivedData-buffered-sse-focused CODE_SIGNING_ALLOWED=NO -only-testing:CodexModelSwitcherTests/CompatibilityProxyServerTests/testBufferedEventStreamKeepsCompletedTerminalEventForCompletedResponseBodies -only-testing:CodexModelSwitcherTests/CompatibilityProxyServerTests/testBufferedEventStreamUsesIncompleteTerminalEventForIncompleteResponseBodies -only-testing:CodexModelSwitcherTests/CompatibilityProxyServerTests/testBufferedEventStreamUsesFailedTerminalEventForFailedResponseBodiesDEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer xcodebuild test -project CodexModelSwitcher.xcodeproj -scheme CodexModelSwitcher -configuration Debug -destination platform=macOS -derivedDataPath /tmp/CodexModelSwitcher-DerivedData-buffered-sse-proxy 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.sheventStreamData(for:)is currently helper-only, so coverage is at the helper surface rather than a production runtime path.