Changes: Server-side: - Added automatic cleanup of old executions (runs daily) - Configurable retention period via EXECUTION_RETENTION_DAYS env var (default: 30 days) - Cleanup runs on server startup and every 24 hours - Only cleans completed/failed executions, keeps running ones - Added pagination support to /api/executions endpoint - Returns total count, limit, offset, and hasMore flag Client-side: - Implemented "Load More" button for execution pagination - Loads 50 executions at a time - Appends additional executions when "Load More" clicked - Shows total execution count info - Backward compatible with old API format Benefits: - Automatic database maintenance - Prevents execution table from growing indefinitely - Better performance with large execution histories - User can browse all executions via pagination - Configurable retention policy per deployment Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
27 KiB
27 KiB