If a process dies mid-write and the target file was already replaced, the next job may read corrupt output.
Naming the pitfall early helps you design tests, reviews, and safer boundaries. Connect the idea to a realistic coding decision so recall is easier when solving similar questions.
Additional Notes
What is the main pitfall around safe output writes?