refactor: optimize runner error handling and cleanup logic

- Use defer for summary saving and HTML report generation to ensure they run regardless of exit path
- Remove unnecessary sync.Once for cleanup operations since defer guarantees single execution
- Simplify error handling logic by removing redundant runErr checks
- Improve interrupt handling with better logging messages
- Ensure graceful cleanup and data persistence even when interrupted
This commit is contained in:
lilong.129
2025-06-07 16:16:55 +08:00
parent 460570f651
commit 604eed3340
2 changed files with 56 additions and 51 deletions

View File

@@ -1 +1 @@
v5.0.0-beta-2506071503
v5.0.0-beta-2506071636