Update backend status handling and improve user notifications
- Enhanced documentation to clarify the transition from 'Idle' to 'ready (running)' for backend states, improving user understanding of system readiness. - Updated logging messages in the notification system to reflect the new backend status terminology, ensuring accurate feedback during operations. - Refined access link collection logic to better handle tunneled and non-tunneled scenarios, enhancing user experience. - Improved tests to validate the new backend status handling and ensure accurate reporting of access links and notifications.
This commit is contained in:
@@ -626,17 +626,4 @@ def provision_vm(
|
||||
if not armed:
|
||||
_try_arm_idle_killer(cfg, host, log, conn=conn, server_id=server_id)
|
||||
|
||||
if swarm:
|
||||
from gpu_rent.access_card import print_access_card
|
||||
from gpu_rent.term import console as rich_console
|
||||
|
||||
print_access_card(
|
||||
cfg,
|
||||
tunneled=False,
|
||||
host=host,
|
||||
console=rich_console,
|
||||
title="gpu-rent · URL после tunnel (ещё ждём Idle)",
|
||||
)
|
||||
elif rt == "ollama":
|
||||
log(f"Ollama API → localhost:{cfg.ollama_local_port} (туннель)")
|
||||
log("Hold killer: gpu-rent hold | Стоп GPU: gpu-rent stop")
|
||||
|
||||
Reference in New Issue
Block a user