Skip to content

Past conversation can fail to load from history #11053

Open

Description

@seemeroland

Summary

A user reported that opening a previous conversation from history failed to load.

Expected behavior

Selecting a past conversation should open the conversation successfully.

Actual behavior

The conversation does not load and the user remains unable to open it.

Notes

A local log message indicated the requested conversation record was not found.

original report (Warp internal Slack)

Activity

  1. added
    warp:internal-report
    on May 15, 2026
  2. warp-for-oss commented on May 15, 2026

    @warp-for-oss
    Contributor

    @seemeroland

    Here's what I found while triaging this issue:

    This looks like a real Agent history load failure. The available evidence points to a stale or missing saved conversation record, but the affected build and redacted failure logs are needed to confirm the exact recovery path.

    I have a few follow-up questions before I can narrow this down:

    1. Which Warp version and channel was the affected user running when the past conversation failed to open?
    2. Can you attach the redacted log lines around the failed open, especially the lines before and after the missing conversation-record message?

    Reply in-thread with those details and the triage workflow will automatically re-evaluate the issue and update the diagnosis, labels, and next steps.

    Maintainer details

    I concluded that opening a past Agent conversation from history can fail when the selected history entry points at a missing local conversation record..

    Triage summary

    This looks like a bug in Agent conversation history/loading rather than an enhancement request. The report has one concrete diagnostic clue: a local log said the requested conversation record was not found when the user selected a past conversation.

    Reproducibility

    Unknown. The report gives the observed behavior and a log clue, but does not include the affected Warp version/channel, OS, whether the selected item was local-only or cloud-backed, or a repeatable sequence beyond selecting the history item.

    Likely root cause

    The current code has a plausible stale-metadata failure path:

    • app/src/ai/conversation_navigation/mod.rs and app/src/ai/agent_conversations_model.rs build Agent history/navigation entries from live, persisted, and cloud metadata.
    • app/src/workspace/view.rs routes selected history entries through restore_or_navigate_to_conversation and then restore_conversation_in_active_pane, restore_conversation_in_split_pane, or restore_conversation_in_new_tab.
    • app/src/ai/blocklist/history_model/conversation_loader.rs chooses the local DB load path whenever metadata says has_local_data is true.
    • app/src/persistence/agent.rs returns Ok(None) when read_agent_conversation_by_id cannot find an agent_conversations row; that becomes None from load_conversation_from_db, so the workspace restore flow reports Failed to load conversation.

    If the missing record belongs to a cloud-backed conversation, the current has_local_data branch does not appear to fall back to server_conversation_token after the local DB miss. If it is local-only, the underlying problem may instead be that history metadata survived even though the corresponding SQLite row was pruned, deleted, or never persisted successfully.

    Duplicate search

    I enumerated the open issue list and recent closed issues. There are related conversation-history issues (for example history loss after restart and broader reports mentioning past Agent conversations), but I did not find two existing issues with the same specific failure mode of selecting a past conversation and hitting a missing conversation-record load failure, so this is not marked duplicate.

    Follow-up needed

    The most useful next data is the affected build/channel and the exact redacted log lines around the failed open so maintainers can tell whether this was a local-only DB miss, a cloud-backed conversation that should have fallen back to server data, or a server fetch/conversion failure.

    Question reasoning

    1. Which Warp version and channel was the affected user running when the past conversation failed to open? — The current code around cloud/local conversation restore has changed recently, and the build determines whether this is still reproducible or already covered by newer fallback logic.
    2. Can you attach the redacted log lines around the failed open, especially the lines before and after the missing conversation-record message? — The surrounding logs should show whether the selected history entry was local-only, cloud-backed with no fallback, or failing during server fetch/conversion; that materially changes the fix path.

    This is my automated analysis and may be incorrect. A maintainer will verify the details.

    Powered by Oz

  3. added
    area:agent
    bug
    needs-info
    repro:unknown
    triaged
    on May 15, 2026
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

    area:agentbugneeds-inforepro:unknowntriagedwarp:internal-report

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions