Commit Graph
12 Commits
Author SHA1 Message Date
Codex ed57cf4a83 Make remote GPU propagation the lean HopReach default 2026-11-17 22:40:01 +00:00
Codex 8eb87e9810 Make lean resource and connection budgets the main defaults 2026-11-14 01:35:22 +00:00
Codex 493bb52585 fix(release): retain HopReach source and license metadata 2026-11-12 12:54:24 +00:00
Codex 0975d07d0a docs: reconcile 2.0 runbooks, privacy notice and performance evidence 2026-11-12 12:42:09 +00:00
ben 5ef4b7bace chore(hopreach): publish and reference derived source v0.1.32-ukmesh.4
Upstream is already at its latest release (v0.1.32, 61efac0); the vendored
tree had drifted from the public corresponding-source tag. Publish the exact
current tree as v0.1.32-ukmesh.4 (58b2eb9) and update provenance, source-offer
and release references. No behaviour change.
2026-11-12 01:53:29 +00:00
hermes-gadgetandgadgethd 66642c1580 fix(rf): on-demand repeater footprints + nightly coverage refresh (#173)
* fix(rf): on-demand repeater footprints + nightly coverage refresh

Two independent faults made the per-repeater RF coverage action look
broken and the coverage refresh infrequent:

- The WebSocket initial_state slim projection dropped public_key, so the
  map's "Show RF coverage" action only appeared for repeaters that had
  arrived through a live node_upsert. Include it in the slim query and
  the slimmer, so every repeater offers the action (about 440 KB added
  to an 8.2 MB initial state, well inside the 16 MiB cap).
- Nothing ever invoked the calculator's `-node` mode. Add a bounded,
  deduplicated on-demand queue to hopreach-shareapi on a separate
  `share.public_listen_addr` listener (plan-share/admin stay loopback),
  proxied by the app's nginx at
  `POST /rf-coverage/nodes/<key>/request`. Jobs share the calculator's
  singleton lock and retry while a whole-region run holds it (30 s for
  ten attempts, then every 5 min for up to 6 h).
- schedule.cron was weekly (`0 1 * * 0`) despite the site promising a
  nightly refresh; make it `0 1 * * *`.

The nginx route uses a named regex capture: `$1` is global per request
and the client-IP map overwrites it for limit_req's key on trusted-edge
requests, which silently proxied the client IP instead of the key.

* test(rf): avoid a 64-hex literal and allowlist the public repeater fixture

Gitleaks treats a bare 64-hex string as a candidate key. Build the test
fixture at runtime and record the advertised repeater public key in the
existing MeshCore-identity allowlist (the same treatment the MQTT test
fixtures already have).

* fix(rf): bound one node-job child with a 15-minute timeout

A stuck DEM fetch would otherwise hold the calculator's singleton lock
indefinitely, blocking both later on-demand requests and the nightly
whole-region run.

* fix(rf): make unavailable repeater footprints visible in the map

A silent repeater (most of the network) or one outside the region wrote
no node_coverage entry, so the map kept saying "Pending calculation" —
indistinguishable from a broken button. Record a failed entry with the
reason instead; repeaters that already have tiles keep them and show as
stale.

* ui(rf): label an unavailable footprint as Unavailable, not a failed calculation

Silent repeaters are the majority of the network; calling the refusal
"Calculation failed" reads like a bug. The specific reason is already
shown in the coverage panel.

* fix(api): isolate stats quotas and bound client request storms

* fix(rf): make scheduled coverage runs wait and honor cron slots

---------

Co-authored-by: gadgethd <111318106+gadgethd@users.noreply.github.com>
2026-10-30 01:00:30 +00:00
gadgethd 9978f44e77 config(hopreach): carry the live max_age_days=7 repeater filter into the reconciled tree 2026-10-25 19:28:28 +00:00
hermes-gadget 1c6d95d05c test(path-beta): give the worker-pool replacement budget room for a cold start 2026-10-25 04:19:50 +00:00
gadgethd f3ec9a2e5b ops(hopreach): weekly Sunday 01:00 schedule (Ben decision) 2026-08-09 14:06:09 +00:00
gadgethd 09366e7dec fix: harden HopReach release image 2026-08-02 17:27:48 +01:00
gadgethd 6479529106 perf: vendor optimized HopReach release 2026-08-02 15:59:39 +01:00
gadgethd 4553647f54 feat: integrate HopReach RF coverage 2026-08-02 14:11:11 +01:00