Skip to content

Conversation

@zanesq
Copy link
Collaborator

@zanesq zanesq commented Jun 24, 2025

fixes #2529

No more "failed to load session the file may be corrupted" errors.

  • Added file locking and atomic file operations for session files
  • Added simple backup and recovery mechanism
  • Added attempted recovery and fixing on the fly for existing corrupted sessions (this is temporary until all corrupted sessions are phased out then we can safely remove recovery and fixing).

Verified I was able to load a corrupted session locally and resume like nothing happened.

@zanesq zanesq changed the title Fix session corruption blocking resume previous session Fix session corruption blocking resuming a previous session Jun 24, 2025
@zanesq zanesq changed the title Fix session corruption blocking resuming a previous session Fix session corruption issues Jun 24, 2025
@zanesq zanesq requested review from lily-de and salman1993 June 24, 2025 15:40
@zanesq zanesq merged commit 4cac8e4 into main Jun 24, 2025
7 checks passed
@zanesq zanesq deleted the zane/fix-session-corruption branch June 24, 2025 16:34
@zanesq zanesq restored the zane/fix-session-corruption branch June 24, 2025 17:46
zanesq added a commit that referenced this pull request Jun 24, 2025
ahau-square pushed a commit that referenced this pull request Jun 25, 2025
* origin/main:
  Session file security updates (#3071)
  feat(ui): Add drag and drop support for opening sessions from finder. (#3070)
  Mnovich/fix cli permisisons (#3074)
  copy permission fix for cli (#3073)
  Update download_cli.sh to support arbitrary Goose versions (#3060)
  fix(temporal-service): makes the search for possible temporal paths parallel. (#3062)
  added MCPs menu item (#3066)
  fix missing dependencies for cli (#3065)
  feat: created sub recipe tools (#2982)
  attempt to build CLI native for Windows (#3058)
  docs: typo - wrong extension id (#3063)
  fix(docs): teach Goose how to spell “autonomous” 🪿📚 (#3061)
  feat (cli): list Groq-supported models (#3048)
  Fix session corruption issues (#3052)
  feat: update to get vector db path from env var for vector tool strategy (#3042)
  Fix Linux desktop download links to point to actual desktop versions (#3051)
  fix temporal build for windows (#3045)
  fix cron parsing for windows (#3044)
s-soroosh pushed a commit to s-soroosh/goose that referenced this pull request Jul 18, 2025
cbruyndoncx pushed a commit to cbruyndoncx/goose that referenced this pull request Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Session corruption - ui failed to load session

3 participants