Mining/pkg/mining
google-labs-jules[bot] 7123896669 Fix backend tests panic and race condition
- Fix `TestStopMiner_Good` and `TestGetMiner_Good` in `pkg/mining/manager_test.go` to check `StartMiner` error, preventing panic on nil pointer access.
- Fix data race in `TestXMRigMiner_Start_Stop_Good` in `pkg/mining/xmrig_test.go` by protecting `Running` state access with mutex and adding delay to dummy script.
- Fix `TestStartMiner_Ugly` by ensuring deterministic naming with `Algo`.
- Fix state leakage in `manager_test.go` by clearing miners and isolating `xdg` config.
- Fix UI test compilation by updating imports and mocks.
2025-12-11 20:52:24 +00:00
..
config_manager.go feat: Enhance mining configuration management and API documentation 2025-12-07 16:26:18 +00:00
manager.go feat: Enhance mining configuration management and API documentation 2025-12-07 16:26:18 +00:00
manager_interface.go feat: Enhance mining configuration management and API documentation 2025-12-07 16:26:18 +00:00
manager_test.go Fix backend tests panic and race condition 2025-12-11 20:52:24 +00:00
miner.go feat: Enhance mining configuration management and API documentation 2025-12-07 16:26:18 +00:00
mining.go feat: Add stats bar component to display miner performance metrics and update dashboard layout 2025-12-11 15:22:58 +00:00
mining_profile.go feat: Add setup wizard and profile management components with styling 2025-12-10 22:17:38 +00:00
mining_test.go adds miner-cli, a miner management and lifecycle tool 2025-11-09 01:02:31 +00:00
profile_manager.go feat: Optimize saveProfiles method by removing unnecessary read lock 2025-12-11 14:08:02 +00:00
profile_manager_test.go Fix backend and frontend tests after major refactoring 2025-12-11 16:28:42 +00:00
service.go feat: Add setup wizard and profile management components with styling 2025-12-10 22:17:38 +00:00
service_test.go Fix backend and frontend tests after major refactoring 2025-12-11 16:28:42 +00:00
syslog_unix.go windows build fix 2025-11-09 19:13:48 +00:00
syslog_windows.go windows build fix 2025-11-09 19:13:48 +00:00
ttminer.go feat: Update server configuration and add XMRig miner management functionality 2025-12-07 15:14:30 +00:00
version.go adds miner-cli, a miner management and lifecycle tool 2025-11-09 01:02:31 +00:00
xmrig.go feat: Add stats bar component to display miner performance metrics and update dashboard layout 2025-12-11 15:22:58 +00:00
xmrig_start.go feat: Add stats bar component to display miner performance metrics and update dashboard layout 2025-12-11 15:22:58 +00:00
xmrig_stats.go feat: Add stats bar component to display miner performance metrics and update dashboard layout 2025-12-11 15:22:58 +00:00
xmrig_test.go Fix backend and frontend tests after major refactoring and fix data race 2025-12-11 17:57:21 +00:00