-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
lowAin't annoying anyone but the QA departmentAin't annoying anyone but the QA department
Description
The current implementation in tests/steps/process_steps.rs (line 70) uses NamedTempFile::persist() which overwrites existing files without explicit control.
Current code:
file.persist(&manifest_path)
.expect("Failed to persist manifest file");Suggested alternatives:
- Use
fs::writefor explicit file writing - Use
NamedTempFile::persist_noclobberto avoid accidental overwrites
This change would provide more explicit control over file creation behavior and prevent unintended file overwrites.
Backlinks:
- Original PR: Handle manifest path in process tests #56
- Discussion: Handle manifest path in process tests #56 (comment)
- Issue: Replace NamedTempFile::persist with more explicit file creation method #61
Requested by: @leynos
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
lowAin't annoying anyone but the QA departmentAin't annoying anyone but the QA department