def format_timeout_duration(seconds: int) -> str:
    """
    Formats an integer number of seconds into a string like '1m30s'.
    90 -> '1m30s'
    """
    if seconds < 60:
        return f"{seconds}s"
    minutes, sec = divmod(seconds, 60)
    if sec == 0:
        return f"{minutes}m"
    return f"{minutes}m{sec}s"

    Formats an integer number of seconds into a string like '1m30s'.
    90 -> '1m30s'
    
sandbox/executor_manager/util.py