• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dangernoodle-io / TaipanMiner / 25178031012
90%

Build:
DEFAULT BRANCH: main
Ran 30 Apr 2026 04:51PM UTC
Jobs 1
Files 28
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Apr 2026 04:50PM UTC coverage: 93.801% (+0.9%) from 92.949%
25178031012

push

github

web-flow
feat: multi-pool failover with manual switch and delete (TA-202/TA-290) (#274)

* feat(taipan_config): fallback pool slot (TA-290/TA-202 phase A)

Extend taipan_config to store primary and fallback pool configurations
in a versioned NVS schema. Two pool slots (index 0 and 1) with per-index
getter functions and atomic write operation. Legacy accessors unchanged.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* feat(webui): expose configured pools + active idx in /api/pool (TA-290/TA-202 phase D)

- Extend pool_snapshot_t with configured[2] pool_cfg_summary_t array and active_pool_idx
- Expose primary + fallback pools alongside active connection in JSON response
- UI can now render both pool rows even when fallback is idle
- Update /api/pool JSON schema: active_pool_idx (null if disconnected) and configured object
- Update snapshot tests with expected null values for new fields

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* feat(stratum): pool failover state machine (TA-202 phase B)

- Add volatile s_active_pool_idx tracking active pool (0=primary, 1=fallback)
- Implement s_consecutive_fail_count and STRATUM_FAILOVER_THRESHOLD=3
- Replace pool config reads with indexed functions (pool_host_idx, etc.)
- Add failover on connect failure, handshake timeout, socket disconnect
- Reset fail counter on successful authorization
- stratum_get_active_pool_idx() returns -1 when not connected, active idx when connected
- stratum_request_switch_pool(idx) validates idx and pool_configured, triggers reconnect

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* feat(webui): PUT /api/pool + POST /api/pool/switch; drop pool from /api/settings (TA-290/TA-202 phase C)

- Implement PUT /api/pool: accept {primary, fallback?} JSON, validate atomically via taipan_config_set_pools()
- Implement POST /api/pool/switch: accept {idx} to switch active pool via stratum_request_switch_pool()
- Remove pool fields (pool_host, pool_port, wallet, worker, poo... (continued)

634 of 748 branches covered (84.76%)

Branch coverage included in aggregate %.

84 of 84 new or added lines in 2 files covered. (100.0%)

1439 of 1462 relevant lines covered (98.43%)

284552.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25178031012.1 30 Apr 2026 04:51PM UTC 28
93.8
GitHub Action Run
Source Files on build 25178031012
  • Tree
  • List 28
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25178031012
  • f32dc281 on github
  • Prev Build on main (#25148268923)
  • Next Build on main (#25178564617)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc