Skip to content

fix(config): report legacy config migration#2559

Closed
cyq1017 wants to merge 3 commits into
Hmbown:mainfrom
cyq1017:codex/2369-loud-config-migration
Closed

fix(config): report legacy config migration#2559
cyq1017 wants to merge 3 commits into
Hmbown:mainfrom
cyq1017:codex/2369-loud-config-migration

Conversation

@cyq1017

@cyq1017 cyq1017 commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Problem

The first-run config migration copies ~/.deepseek/config.toml into ~/.codewhale/config.toml, but the successful migration is only logged. Users who keep editing the legacy file can miss that the active copy moved.

Change

  • return the copied legacy and primary config paths from migrate_config_if_needed
  • print a one-time stderr notice when the migration actually copies the file
  • keep the migration non-fatal and preserve the existing no-overwrite behavior

Verification

  • cargo test -p codewhale-config --locked
  • cargo check -p codewhale-tui --all-features --locked
  • cargo fmt --check
  • git diff --check

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cyq1017 has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cyq1017 has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cyq1017 has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@Hmbown

Hmbown commented Jun 3, 2026

Copy link
Copy Markdown
Owner

This was harvested into the v0.8.50 release — thank you for the contribution!

@Hmbown Hmbown closed this Jun 3, 2026
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.

2 participants