warpdotdev/warp · error · MergeError

backup_name_unavailable

backup_name_unavailable

Error message

backup_name_unavailable

What it means

Error "backup_name_unavailable" thrown in warpdotdev/warp.

Source

Thrown at resources/bundled/skills/tui-migrate-setup/scripts/merge_mcp_config.py:408

    try:
        os.fchmod(descriptor, 0o600)
        with os.fdopen(descriptor, "wb", closefd=False) as file:
            file.write(contents)
            file.flush()
            os.fsync(file.fileno())
    finally:
        os.close(descriptor)


def _backup_path(destination: Path) -> Path:
    stamp = datetime.now(timezone.utc).strftime("%Y%m%dT%H%M%SZ")
    for counter in range(1000):
        candidate = destination.with_name(
            f"{destination.name}.backup-{stamp}-{counter:03d}"
        )
        if not candidate.exists() and not candidate.is_symlink():
            return candidate
    raise MergeError("backup_name_unavailable")


def apply_plan(
    plan: MergePlan,
    destination: Path,
    destination_config: ParsedConfig,
) -> bool:
    """Apply a verified plan. Return whether a content backup was created."""

    if not plan.content_change_required:
        if plan.permission_update_required:
            try:
                os.chmod(destination, 0o600, follow_symlinks=False)
            except (NotImplementedError, OSError) as error:
                raise MergeError("permission_update_failed") from error
        return False

    try:

View on GitHub (pinned to e72fd7aacb)

When it happens

Trigger: Thrown at resources/bundled/skills/tui-migrate-setup/scripts/merge_mcp_config.py:408 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/43979c85cc65068b. Report an issue: GitHub.