Repository navigation
fix(tui): unblock v0.1.11: /new hang, NO_COLOR tests, release bench and design review - #548
Merged
Merged
Conversation
…m, so tests do not depend on the environment
Collaborator
Author
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
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.
Change
This clears the four 0.1.11 release blockers.
/newno longer hangs onLoading session history...(Closes ENG-1145).SessionCreatedevent. The receipt focused the new id while the store did not have it yet. The event then arrived no longer marked as ours, so the session stayed summary-only, and no body was ever requested.SessionCreatedevent for the session that is already focused now opens it empty (crates/qq-client/src/state/reduce.rs).NO_COLOR.NO_COLORfrom the environment insideSetForegroundColor. UnderNO_COLORit also wrote\x1b[min place of each color. That sequence is a full SGR reset, so the live TUI dropped bold and underline in the middle of a line.ColorOutput::Disabledis set, which the TUI reads fromNO_COLORonce at startup; tests pass it explicitly.cargo xtask checkno longer unsetsNO_COLOR, and the runbook note about it is gone.308cfa7b, the B1 build),mainand this branch interleaved, pinned to CPU 2, 5 rounds each.CHANGELOG.md(## Unreleased→ Upgrading) and the plan.inkandterminal. I also diffed every scene's text golden againsttests/design/.docs/plans/0.1.11.mdunder "Design review".INSPECTORpane at 200 columns.Verification
app::tests::a_created_session_whose_receipt_beats_its_event_still_opens_emptyfailed before the fix (assertion failed: app.sessions[&created].is_warm()) and passes after it.Real binary in a pty with the
benchmarks/tuifake provider,/newthen a 6 s wait:a3442bd8NO_COLOR=1 cargo nextest run -p qq-tui:main: 523 passed, 5 failed. Four wererender::tests::*;loop_upgrades_completed_code_to_highlighted_off_the_render_pathhit the 5 s timeout.NO_COLOR.cargo xtask checkpassed on76418735.Render bench: medians of 5 interleaved runs,
taskset -c 2, 160 × 48, onthor, I/O pressure 24–27%. Raw output is intarget/qq-perf/v0.1.11/final/.The full 24-scene table is in the plan.
Known impact
mainon every scene, and 9% faster on the 32 KB stream.## UnreleasedUpgrading block. The bump PR moves it under## 0.1.11.