Skip to content

feat: session persistence — save and restore full state #42

Description

@mpryor

Summary

Save and restore full nless session state so users can pick up exactly where they left off.

Dependencies

Builds on top of:

Details

Use Cases

  • Long-running log analysis sessions that span multiple sittings
  • Sharing a specific analysis state with a colleague
  • Recovering from accidental terminal closure
  • Named sessions for different ongoing investigations

Considerations

  • Storage format and location (e.g., ~/.config/nless/sessions/)
  • Data size — storing full buffer data vs re-reading from source
  • Stale data handling — warn if source file has changed since session was saved
  • Auto-save on crash / unexpected exit
  • Relationship with feat: bookmarks / saved views #26 (saved views) — views are reusable templates, sessions are full snapshots

Activity

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

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions