Skip to content

feat: error when foundry binaries are in use#66

Merged
DaniPopes merged 6 commits into
foundry-rs:masterfrom
stevencartavia:block-running-binaries
Jun 11, 2026
Merged

feat: error when foundry binaries are in use#66
DaniPopes merged 6 commits into
foundry-rs:masterfrom
stevencartavia:block-running-binaries

Conversation

@stevencartavia

@stevencartavia stevencartavia commented Jun 9, 2026

Copy link
Copy Markdown
Member

check_bins_in_use now errors and exits when forge/cast/anvil/chisel is running (exact, global name match), instead of only warning, and runs it on the --use path. This prevents overwriting a binary that's in use. Matches the legacy pgrep -x behavior.

Part of OSS-334

DaniPopes
DaniPopes previously approved these changes Jun 9, 2026
@DaniPopes

Copy link
Copy Markdown
Member

can we rename the tests or move them all into one module so that we can easily make the nextest filter catch all of them?

mablr
mablr previously approved these changes Jun 10, 2026
Amp-Thread-ID: https://ampcode.com/threads/T-019eb215-3819-765c-a288-2f57069d8253
Co-authored-by: Amp <amp@ampcode.com>

# Conflicts:
#	src/install.rs
#	tests/it/main.rs
@DaniPopes DaniPopes merged commit f3430bc into foundry-rs:master Jun 11, 2026
12 checks passed
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.

3 participants