From 47ec2432486e62f99d28eb899717291cd1aa455a Mon Sep 17 00:00:00 2001 From: catborise Date: Sun, 8 Nov 2026 17:47:10 +0300 Subject: [PATCH] docs(architecture): Python 3.14, and which API VM list reconciles CI runs Python 3.10 to 3.14. The API's list of one compute's VMs calls refresh_instance_database before reading, as the VM list page does; only the list of all VMs reads the rows as they are. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea --- doc/architecture.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/architecture.md b/doc/architecture.md index ee209484..7fc3fc5a 100644 --- a/doc/architecture.md +++ b/doc/architecture.md @@ -1,12 +1,12 @@ # WebVirtCloud architecture -WebVirtCloud is a web panel for libvirt hosts. libvirt is the source of truth: the panel reads a host's VMs, pools, networks and devices from libvirt when a page needs them, and its database holds what libvirt does not (users, permissions, quotas, compute connection details, jobs, the audit log, settings) and, per VM, the compute, name and UUID that permissions hang on. VMs keep running when the panel is stopped. Changes made with `virsh` or `virt-manager` reach those VM rows the next time a VM list page is loaded; the API's VM list reads the rows as they are. +WebVirtCloud is a web panel for libvirt hosts. libvirt is the source of truth: the panel reads a host's VMs, pools, networks and devices from libvirt when a page needs them, and its database holds what libvirt does not (users, permissions, quotas, compute connection details, jobs, the audit log, settings) and, per VM, the compute, name and UUID that permissions hang on. VMs keep running when the panel is stopped. Changes made with `virsh` or `virt-manager` reach those VM rows the next time a VM list page is loaded; the API's list of a compute's VMs reconciles them with libvirt first, its list of all VMs reads the rows as they are. ## Stack | Layer | Technology | |---|---| -| Runtime | Python 3.10–3.13, Django 5.2 LTS | +| Runtime | Python 3.10–3.14, Django 5.2 LTS | | Database | SQLite (WAL) by default, PostgreSQL optional | | libvirt | `libvirt-python`, `lxml` for the XML | | API | Django REST Framework, `drf-nested-routers`, `drf-spectacular` (OpenAPI 3.0), API tokens (`django-rest-knox`) |