Skip to content

Conversation

@zanesq
Copy link
Collaborator

@zanesq zanesq commented Jun 26, 2025

Added the following to make config file editing safer and a more reliable app startup if there is an issue with the config file.

Fixes error "Initialization failed: Unable to read config file, it may be corrupted"

  • Atomic writes with backups made with each edit
  • Detection of invalid or missing config and recover from backup if exists or create a default config

Verified locally both corrupt and missing config is handled and the app continues working.

@zanesq zanesq changed the title Add more robust config file editing and recovery fallback Improve config file editing and recovery fallback mechanisms Jun 26, 2025
@zanesq zanesq merged commit 79553e0 into main Jun 26, 2025
8 checks passed
@zanesq zanesq deleted the zane/config-file-recovery branch June 26, 2025 18:08
michaelneale added a commit that referenced this pull request Jun 27, 2025
* main:
  Add flag for showing cost tracking (#3090)
  Improve config file editing and recovery fallback mechanisms (#3082)
  Cleanup Temporal debug files (#3089)
  feat: Add comprehensive cost tracking display for LLM usage (#2992)
ahau-square pushed a commit that referenced this pull request Jun 27, 2025
* origin/main:
  Added announcement modal (#3098)
  build: Add `just` to Hermit, correct ui/desktop's README (#3116)
  fix: Make the entire toolcall argument row clickable to expand (#3118)
  Fix clippy + test errors (#3120)
  Update goose help to include cli (#3095)
  add scheduler type  setting (#3119)
  Add a reference for recipes (#3099)
  feat: add voice dictation using OpenAI Whisper & ElevenLabs (#3079)
  feat: new cli provider for claude code and gemini (#3083)
  you forgot the important ones! (#3105)
  hotfix: fix build (#3102)
  Richer tool call ui messages (#3104)
  Update linux instructions (#3087)
  Add flag for showing cost tracking (#3090)
  Improve config file editing and recovery fallback mechanisms (#3082)
s-soroosh pushed a commit to s-soroosh/goose that referenced this pull request Jul 18, 2025
)

Signed-off-by: Soroosh <soroosh.sarabadani@gmail.com>
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.

3 participants