Skip to content

fix(windows): verify shared Agent lock before install - #821

Merged
tallcode merged 4 commits into
mainfrom
codex/agent-pid-metadata
Sep 24, 2026
Merged

tallcode merged 4 commits into
mainfrom
codex/agent-pid-metadata

Conversation

@tallcode

Copy link
Copy Markdown
Collaborator

Summary

  • publish readable Agent process identity beside the existing singleton lock
  • verify and close a matching cross-directory Agent before Windows replacement
  • hold the Agent lock through Windows installation and cover the behavior with regression tests

Validation

  • cargo fmt --manifest-path agent/Cargo.toml --check
  • cargo check -p future-agent --offline
  • cargo test -p future-agent agent_instance_metadata_is_separate_and_removed_before_unlock --offline --lib
  • cargo test -p future-agent --test cli_smoke agent_is_singleton_per_user_even_on_different_ports --offline
  • bash -n scripts/start-desktop-macos.sh scripts/start-desktop-linux.sh

Windows NSIS/PowerShell regression test was added but not run locally because this host lacks both tools.

@tallcode
tallcode enabled auto-merge (squash) September 24, 2026 13:28
@tallcode
tallcode merged commit 1d28690 into main Sep 24, 2026
12 checks passed
@tallcode
tallcode deleted the codex/agent-pid-metadata branch September 24, 2026 13:37
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