feat: add Silo_Diag connection diagnostics command #6
Reference in New Issue
Block a user
Delete Branch "feature/silo-diag"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a
Silo_Diagcommand that sequentially tests connectivity and outputs results to the FreeCAD console.Tests run
GET /health(no auth required)GET /ready(checks DB + MinIO)GET /api/auth/mewith current credentials/api/eventsImplementation
_DiagWorker(QThread)runs all tests in a background threadresult(name, passed, detail)signal back to the main threadPASS/FAILwith details_get_api_url(),_get_auth_headers(),_get_ssl_context()Files changed
freecad/silo_commands.py— addedimport socket,_DiagWorker,Silo_Diagclass, command registrationfreecad/InitGui.py— addedSilo_Diagto toolbar/menuCloses #3
99d6dd173fto7c7394f08b7c7394f08bto4ddbf26af7