Skip to content

fix: show earlier messages in long native chat sessions - #107965

Merged
shakkernerd merged 2 commits into
mainfrom
fix/chat-run-boundaries
Jul 15, 2026
Merged

shakkernerd merged 2 commits into
mainfrom
fix/chat-run-boundaries

Conversation

@shakkernerd

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where scrolling through long native chat sessions could make one Worked for X summary grow while earlier messages remained hidden.

Why This Change Was Made

Preserves hidden heartbeat run boundaries through history projection, pagination, truncation, and live updates, then uses those boundaries to separate transcript groups and work summaries.

Existing duration calculation and heartbeat filtering behavior remain unchanged. This adds no dependency, protocol, configuration, or database changes.

User Impact

Users can scroll through long native sessions and see earlier messages and distinct runs instead of an increasingly large summary hiding the transcript.

Evidence

  • Live OCM Vite verification:
    • Opened Main Session
    • Switched to a short native session
    • Returned to Main Session
    • Scrolled upward through six pages
    • Confirmed earlier messages and separate runs remained visible
  • Blacksmith Testbox pearl-prawn:
    • Touched-file formatting and lint passed
    • 315 focused gateway and Control UI tests passed
    • Native offset-pagination integration test passed
  • Rebased onto current origin/main with an unchanged two-commit range.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui gateway Gateway runtime size: M maintainer Maintainer-authored PR labels Jul 15, 2026
@shakkernerd shakkernerd self-assigned this Jul 15, 2026
@shakkernerd
shakkernerd force-pushed the fix/chat-run-boundaries branch from dfea020 to 7d60818 Compare July 15, 2026 03:37
@shakkernerd
shakkernerd merged commit 977bf5b into main Jul 15, 2026
47 checks passed
@shakkernerd
shakkernerd deleted the fix/chat-run-boundaries branch July 15, 2026 03:38
@shakkernerd

Copy link
Copy Markdown
Contributor Author

Merged using rebase.

What changed after review:

  • Preserved hidden heartbeat run boundaries through pagination, truncation, snapshots, and live SSE updates.
  • Split native transcript groups and work summaries at those boundaries without changing duration calculation or heartbeat filtering.
  • Added focused gateway, pagination, SSE, and Control UI regression coverage.

Verification:

  • Rebased/refreshed onto current origin/main before pushing.
  • Blacksmith Testbox pearl-prawn: touched-file formatting and lint, 315 focused gateway/UI tests, and the native offset-pagination integration scenario passed.
  • Live OCM Vite proof: switched from Main Session to a short native session, returned, and scrolled upward through six pages with earlier messages and distinct runs remaining visible.
  • Auto-review: skipped by explicit maintainer instruction.
  • GitHub checks: no required checks configured and no failed checks at merge.

Landed on main:

Thanks @shakkernerd!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui gateway Gateway runtime maintainer Maintainer-authored PR size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant