v4.3.16
·
238 commits
to master
since this release
Fixed
- Windows CI failure introduced by v4.3.15's zed regression test —
test_zed_install_preserves_existing_configseededAppData/Roaming/Zed/settings.jsonon Windows, butzed_config_diractually uses.config/zed/settings.jsonon every non-macOS platform (Linux and Windows). The hand-written#[cfg(target_os = "windows")]branch in the test silently diverged from the production helper, so the test wrote the seed to one path and the install wrote to another — backup never appeared at the seeded location and the test failed.
Changed
AgentIntegration::primary_config_path(home) -> Option<PathBuf>— new trait method that returns the single config file the integration rewrites on install/uninstall. Every agent that goes throughsafe_write_json_fileorwrite_toml_fileimplements it (claude, gemini, cursor, opencode, zed, cline, roo-code, copilot, kilo, antigravity, codex); vibe leaves the defaultNonebecause its TOML config is append-only and has no rewrite path. Regression tests intests/agent_test.rsnow callagent.primary_config_path(home)instead of duplicating platform-conditional path logic — the production helper is the single source of truth, so a futurezed_config_dir-style change can't drift between tests and reality. A meta-test (test_every_tested_agent_advertises_primary_config_path) walks every integration covered by the install regression suite and asserts the method returnsSome(path)under the test home, so a new integration added without wiring it up fails fast with a clear message instead of a confusing missing-backup panic later.