warpdotdev/warp · error · MergeError
atomic_write_failed
atomic_write_failed
Error message
atomic_write_failed
What it means
Error "atomic_write_failed" thrown in warpdotdev/warp.
Source
Thrown at resources/bundled/skills/tui-migrate-setup/scripts/merge_mcp_config.py:467
if destination_config.exists:
backup = _backup_path(destination)
_write_restricted_file(backup, destination_config.raw, exclusive=True)
backup_created = True
os.replace(stage_path, destination)
stage_path = None
os.chmod(destination, 0o600, follow_symlinks=False)
if hasattr(os, "O_DIRECTORY"):
directory_fd = os.open(destination.parent, os.O_RDONLY | os.O_DIRECTORY)
try:
os.fsync(directory_fd)
finally:
os.close(directory_fd)
return backup_created
except MergeError:
raise
except OSError as error:
raise MergeError("atomic_write_failed") from error
finally:
if stage_descriptor is not None:
os.close(stage_descriptor)
if stage_path is not None:
try:
stage_path.unlink()
except FileNotFoundError:
pass
except OSError:
pass
def _summary(
plan: MergePlan, *, status: str, backup_created: bool = False
) -> dict[str, Any]:
return {
"status": status,
"fingerprint": plan.fingerprint,View on GitHub (pinned to e72fd7aacb)
When it happens
Trigger: Thrown at resources/bundled/skills/tui-migrate-setup/scripts/merge_mcp_config.py:467 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of warpdotdev/warp@e72fd7aacb (2026-08-16).
Data as JSON: /api/errors/95f9c5680af23d5f.
Report an issue: GitHub.