Mining/pkg/mining
google-labs-jules[bot] 48c4bbeab8 Fix backend and frontend tests after major refactoring and fix data race
- Fix `MockManager` in `pkg/mining/service_test.go` to implement `UninstallMiner`.
- Fix `XMRigMiner` struct literals in tests to use embedded `BaseMiner`.
- Update `XMRigSummary` struct usage and fix history method calls in `pkg/mining/xmrig_test.go`.
- Isolate `xdg` configuration in `pkg/mining/manager_test.go` and clean up miner state to fix leakage.
- Fix `TestStartMiner_Ugly` logic by using `Algo` for deterministic naming.
- Add `pkg/mining/profile_manager_test.go` to cover `ProfileManager`.
- Remove obsolete `TestHandleStartMiner` in `pkg/mining/service_test.go`.
- Fix UI test compilation by updating component import to `SniderMining` and mocking `MinerService` with signals.
- Fix data race in `TestXMRigMiner_Start_Stop_Good` by locking mutex when checking `Running` state and adding delay to dummy script.
2025-12-11 17:57:21 +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 and frontend tests after major refactoring and fix data race 2025-12-11 17:57:21 +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