fix(resume): Speed up resume picker preloading#453
Merged
Conversation
…racing # Conflicts: # nori-rs/tui/src/nori/viewonly_session_picker.rs
5 tasks
CSRessel
added a commit
that referenced
this pull request
Apr 27, 2026
## Summary 🤖 Generated with [Nori](https://noriagentic.com/) - Build `/resume` picker rows from first-line session metadata only, so preview and turn counting no longer block the picker from appearing. - Add lazy background summary updates for first-user previews and exact user-turn counts, with stale-generation protection and zero-turn row removal. - Document the fix slice in `CLI_RESUME_SPEED.md` and update Noridocs for transcript metadata/loading and resume picker behavior. ## Test Plan - [x] `cargo build --bin mock_acp_agent` - [x] `cargo test -p nori-acp -p nori-tui --no-fail-fast` - [x] `cargo clippy --all-features --tests` - [x] `cargo build --bin nori` - [x] `git diff --check` Stacked on #453 (`debug/resume-picker-tracing`). Share Nori with your team: https://www.npmjs.com/package/nori-skillsets
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
🤖 Generated with Nori
nori_resumetracing and writes the captured/resumepre-picker findings toCLI_RESUME_SPEED.md./resumesessions by the active agent before loading preview transcripts.Test Plan
just fmtjust fix -p nori-acpjust fix -p nori-tuicargo test -p nori-tui load_resumable_sessions_filters_agent_before_loading_previews --no-fail-fastcargo test -p nori-acp transcript::loader --no-fail-fastcargo test -p nori-tui --no-fail-fastcargo build --bin noricargo build --bin mock_acp_agentcargo test -p tui-pty-e2e --no-fail-fastgit diff --checkShare Nori with your team: https://www.npmjs.com/package/nori-skillsets