fix: preserve labeled session titles during heartbeat polls#46209
fix: preserve labeled session titles during heartbeat polls#46209JFWaskin wants to merge 2 commits into
Conversation
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Greptile SummaryThis PR fixes a bug where labeled sessions were being renamed to
Confidence Score: 4/5
|
…ates - Add 'truncates at word boundary' and 'updatedAt missing' tests to session-title.test.ts - Remove duplicate deriveSessionTitle test block from session-utils.test.ts - Add minimal compatibility test verifying session-utils re-export Addresses review feedback on PR openclaw#46209.
|
Closing this as implemented after Codex automated review. PR #46209 is redundant on current main. The linked bug in #42495 is already solved by the shipped session-state path: heartbeat/cron/exec system-event turns reuse persisted session metadata, skip synthetic system-event origin derivation, and Control UI session rows resolve visible names from persisted displayName/label/origin.label before transcript-derived titles. The PR's helper extraction is now refactor-only, and related PR #42584 plus issue #46116 were already reviewed as implemented by the same current behavior. Best possible solution: Close this PR as already implemented. Keep the shipped system-event metadata preservation path; any remaining desire to split What I checked:
So I’m closing this as already implemented rather than keeping a duplicate issue open. Codex Review notes: model gpt-5.5, reasoning high; reviewed against 6cd047e7c270; fix evidence: release v2026.4.24, commit cbcfdf62c729. |
Summary
heartbeatdisplayNameandsubjectstay ahead of label-based fallbacksTesting
./node_modules/.bin/vitest run src/gateway/session-title.test.tsCloses #42495.