- 09 Oct, 2025 40 commits
-
-
Stefy Lanza (nextime / spora ) authored
- Add nvidia-smi as intermediate fallback before PyTorch in GPU stats collection - Fallback order: pynvml -> nvidia-smi -> PyTorch - Applied to api.py, backend.py, and cluster_client.py GPU stats functions - nvidia-smi provides accurate memory usage and utilization data - Fix SocketCommunicator.receive_message() timeout parameter error - Added optional timeout parameter to receive_message method - Fixes 'unexpected keyword argument timeout' error in api_stats and backend functions
-
Stefy Lanza (nextime / spora ) authored
- Modified history route in web.py to support pagination parameters - Added pagination controls to history.html template - Added JavaScript functions for page navigation and page size changes - Pagination shows current page info and total job count - Page size selector allows 10, 20, 50, or 100 jobs per page - Navigation includes Previous/Next buttons and numbered page buttons
-
Stefy Lanza (nextime / spora ) authored
- Remove 'Progress shown below' from job submission success message - Add progress bar display in analyze page sidebar (same as jobs page) - Add spinner animation for processing jobs - Auto-redirect to results page when job completes (2 second delay) - Update JavaScript to fetch and display real-time progress updates - Add CSS styles for progress bar and spinner animations
-
Stefy Lanza (nextime / spora ) authored
- Replaced all print statements in backend.py with timestamped log_message calls - Includes worker registration, job forwarding, progress updates, ping handling, and startup/shutdown messages - All backend logging now uses consistent timestamped format
-
Stefy Lanza (nextime / spora ) authored
- Corrected indentation of logging_utils import to be inside the try block - Fixed malformed try/except structure that was causing SyntaxError
-
Stefy Lanza (nextime / spora ) authored
- Added **kwargs to log_message() function signature to accept arguments like 'flush=True' - Maintains compatibility with original print() calls that may have had additional arguments
-
Stefy Lanza (nextime / spora ) authored
- Corrected malformed import statement that had logging_utils import inside database import parentheses - Separated the imports properly to fix SyntaxError
-
Stefy Lanza (nextime / spora ) authored
- Modified jobs route to include completed jobs from last 24 hours - Updated api/job_status_updates to include completed jobs so frontend gets notified when jobs complete - Updated jobs page title and description to reflect it shows completed jobs - Completed jobs already show 'View Result' link via existing JavaScript logic This ensures users can see their recently completed jobs on the jobs page and easily access results.
-
Stefy Lanza (nextime / spora ) authored
- Created logging_utils.py with log_message() function that prefixes all output with date, time, and process name - Replaced all print() statements with log_message() calls across the entire codebase - Fixed circular import issues by separating logging from utils.py - All console output now follows format: [YYYY-MM-DD HH:MM:SS] [process_name] message This improves debugging and monitoring by providing clear timestamps and process identification for all log messages.
-
Stefy Lanza (nextime / spora ) authored
- Fixed backend get_progress handler to use queue ID instead of cluster job ID - Removed duplicate get_progress handler that was causing confusion - Progress is now correctly retrieved from the processing_queue table using the queue ID This resolves the issue where job progress was always showing 'Processing...' instead of actual progress status and advancement bar.
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
- Add logic to set master weight to 0 when first client connects (unless explicitly set via command line) - This ensures proper load balancing between local and remote workers
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
Fix job ID mismatch in progress updates - use full job_id instead of job_id_int for database lookups
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
Implement progress tracking for jobs: add progress updates in worker, backend handlers, and database updates
-
Stefy Lanza (nextime / spora ) authored
Fix CLI debug argument to default to False instead of reading from database, preventing unwanted debug inheritance
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
Fix debug reset - only consider CLI args and env vars, ignore config files to prevent unwanted debug persistence
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
Fix debug reset logic - only consider CLI args and env vars as explicit, ignore config file settings
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
Fix debug reset logic - ensure debug and debug_web values are actually saved to database after reset
-
Stefy Lanza (nextime / spora ) authored
Apply same debug reset logic to --debug-web - reset to false at startup unless explicitly set via CLI, config file, or environment variable
-