Skip to content

[Bug]: After installing the Desktop App all historic session are vanished after each time app restarts #42913

Closed as not planned

Description

@oferlanger

Bug Description

Image After installing the desktop version, following every version update, when the desktop app launches, all historical sessions disappear.

Steps to Reproduce

  1. Version Update
  2. All historic sessions are vanished as if they never existed

Expected Behavior

Historic sessions should not be impacted

Actual Behavior

please see the image attached

Affected Component

Other

Messaging Platform (if gateway-related)

N/A (CLI only)

Debug Report

non

Operating System

Ubuntu 24.04.4 LTS

Python Version

No response

Hermes Version

0.16.0

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Activity

  1. added
    type/bugSomething isn't working
    P2Medium — degraded but workaround exists
    on Jun 9, 2026
  2. teknium1 commented on Jul 14, 2026

    @teknium1
    Collaborator

    This appears fixed on current main. This is an automated hermes-sweeper review.

    • PR fix(gateway): preserve sessions across restarts #54442 / commit 86e64900b943b8f32bb2775e1229e91922129831 added durable session recovery across restarts.
    • gateway/session.py:1391 rebuilds missing routing state from state.db; tests/gateway/test_session.py:1598 covers preserving the original session ID and transcript after deleting the routing index.
    • Desktop reloads persisted history through /api/profiles/sessions in apps/desktop/src/hermes.ts:231.
    • The fix shipped in v2026.7.1 (v0.18.0).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existssweeper:implemented-on-mainSweeper: behavior already present on current maintype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions