Skip to content

harden(tests): share GLOBAL_ENV_LOCK across env-mutating tests in secure_*_tests mods #48

Description

@thehoff

Codex F6 / pre-release review (#41 deferred). policy_registry_tests uses GLOBAL_ENV_LOCK: Mutex<()> for serialization; secure_git_tests::secure_git_command_strips_all_listed_env_vars and secure_cargo_tests::secure_cargo_command_strips_known_env_vars set env without serialization. Currently passing but race-prone — share a single module-level lock across all env-mutating test mods.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions