Skip to content

perf: user input record - #515

Merged
LeeEirc merged 1 commit into
devfrom
perf_cmd_record
Jul 16, 2026
Merged

LeeEirc merged 1 commit into
devfrom
perf_cmd_record

Conversation

@LeeEirc

@LeeEirc LeeEirc commented Jul 16, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 16, 2026 07:30
@fit2bot
fit2bot requested a review from a team July 16, 2026 07:30
@LeeEirc
LeeEirc merged commit 21da7bc into dev Jul 16, 2026
8 of 9 checks passed
@LeeEirc
LeeEirc deleted the perf_cmd_record branch July 16, 2026 07:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the session input parser to flush/settle user input when the parser goroutine exits, aiming to ensure command records are finalized at session end.

Changes:

  • Adds a deferred ParseUserInput(charEnter) call on parser shutdown to force a final command settlement/record.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/session/parser.go
logger.Infof("Session %s: Parser start", p.id)
go func() {
defer func() {
p.ParseUserInput(charEnter)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants