Skip to content

fix(config): pick macOS db dir by database mtimes#112

Open
Daily-AC wants to merge 1 commit into
jackwener:mainfrom
Daily-AC:fix/macos-dbdir-detection
Open

fix(config): pick macOS db dir by database mtimes#112
Daily-AC wants to merge 1 commit into
jackwener:mainfrom
Daily-AC:fix/macos-dbdir-detection

Conversation

@Daily-AC

Copy link
Copy Markdown

Summary

  • Prefer the freshest .db mtime when auto-detecting macOS db_storage
  • Add a regression test for multi-account setups where directory mtime is misleading
  • Keep macOS detection aligned with the Linux/Windows heuristic

Test Plan

  • cargo test --manifest-path /tmp/wx-cli-worktrees/issue46/Cargo.toml config -- --nocapture
  • cargo check --manifest-path /tmp/wx-cli-worktrees/issue46/Cargo.toml
  • Cross-target checks are limited by local Windows/Linux toolchain availability

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.

1 participant