Repository navigation
fix: complete warmup streams and prefer Luna - #103
Merged
Merged
Conversation
Contributor
Author
|
committed by codex |
xjoker
added a commit
that referenced
this pull request
Sep 30, 2026
fix: complete warmup streams and prefer Luna # Conflicts: # src/tui/app.rs
Owner
|
Sorry for the late reply — I've been busy lately and couldn't respond sooner. Thanks for the fix! Merged into
Verified on Windows: |
Closed
Contributor
Author
|
Hi, I got it. Thanks for your reply. |
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.
Problem
Warmup could receive HTTP 200, read only the first SSE chunk, close the connection before generation finished, and report success while the five-hour reset timer kept moving. Its
minipreference can also fall through to a high-priority larger model when an account's current Codex catalog offers Luna but no mini. Fixes #99.Changes
response.completedevent with a completed response status. Empty, truncated, incomplete, failed, and errored streams now fail instead of reporting a successful warmup. Apply the same check to the main request, model retry, auth retry, and additional model pools.-D warningsgate.Verification
http_200_without_completed_event_is_not_warmed; it failed on the unmodifieddevbranch and passed after the fix.cargo fmt --check,cargo clippy --all-targets -- -D warnings, andcargo test --all— passed on the preceding warmup-stream revision (9b6b186). The Luna selection rule was separately verified with the local build before the Rust toolchain was removed. The newdev-branch Luna regression test has not been rerun locally after that cleanup.bash -n scripts/install.sh— passed.scripts/install.ps1with PowerShell's parser — no errors.cargo audit— not run becausecargo-auditis unavailable locally.The updated
devbinary has not been exercised against a fresh real-account window. The HTTP mock and SSE parser tests cover the completion contract; cross-platform CI remains the release gate and is awaiting upstream maintainer approval for this fork PR.