Commit Graph
17 Commits
Author SHA1 Message Date
UKMesh Readiness 251c59abf5 Reuse keyed OpenSSL HMAC state for regional packet attribution 2026-12-02 20:41:28 +00:00
gadgethd eab389c387 Merge current main into ukmesh-dev
Adapt main fixes to DEV ownership of split MQTT intake, private projections, lean Compose, and on-demand charts. Preserve deployed migration identities and standalone owner sessions.
2026-11-27 20:21:28 +00:00
gadgethd fde49a5850 Split durable MQTT ingest from the HTTP and WebSocket API 2026-11-27 17:53:22 +00:00
dependabot[bot] 1779c2d848 chore(deps): bump node from c6ad9e9 to 6bd9ab4 (#249)
Bumps node from `c6ad9e9` to `6bd9ab4`.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 26-alpine
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-18 00:26:09 +00:00
Codex b5c5b6d8ef chore(release): prepare 2.0 candidate identity and upgrade notes 2026-11-12 10:28:32 +00:00
dependabot[bot] c926b02e5b chore(deps): bump node from 0b36e8c to c6ad9e9 (#208)
Bumps node from `0b36e8c` to `c6ad9e9`.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 26-alpine
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-11 22:11:48 +00:00
gadgethd 882777eae7 Merge origin/main into deployed tree; reconcile all 52 conflicts
Preserve deployed behavior and adopt main fixes. Full per-file decisions and
checksum proof: docs/reviews/20261025-merge-ledger.md.

Resolved 52 paths:
- .env.example
- .gitignore
- backend/package.json
- backend/src/api/contracts.ts
- backend/src/api/routes/misc.ts
- backend/src/api/routes/owner.ts
- backend/src/api/routes/ownerPacketSharing.test.ts
- backend/src/api/routes/regions.test.ts
- backend/src/api/routes/regions.ts
- backend/src/db/index.ts
- backend/src/db/packetBatch.integration.test.ts
- backend/src/db/packetBatch.test.ts
- backend/src/db/packetBatch.ts
- backend/src/db/packetInput.ts
- backend/src/health/status.ts
- backend/src/health/statusIntegrity.test.ts
- backend/src/index.ts
- backend/src/metrics.test.ts
- backend/src/mqtt/client.ts
- backend/src/mqtt/statusTelemetry.test.ts
- backend/src/mqtt/statusTelemetry.ts
- backend/src/owner/ownerLastHopPrewarm.ts
- backend/src/owner/packetShareForwarder.ts
- backend/src/owner/publicFeedForwarder.test.ts
- backend/src/owner/publicFeedForwarder.ts
- backend/src/owner/publicFeedRepository.ts
- backend/src/ram/liveRead.ts
- backend/src/ram/liveStore.test.ts
- backend/src/ram/runtime.integration.test.ts
- backend/src/ram/writerRuntime.ts
- backend/src/repositories/nodes.ts
- backend/src/spam/cluster.test.ts
- backend/src/spam/cluster.ts
- backend/src/spam/config.ts
- backend/src/tools/rebuildRegionParticipation.ts
- backend/src/workers/alert-receiver.test.ts
- backend/src/workers/alertDeliveryQueue.ts
- backend/src/workers/privacy-rematerialization.ts
- backend/src/ws/server.ts
- backup-receipts/latest.json
- backup-receipts/latest.json.sig
- docker-compose.yml
- docs/openapi.yaml
- docs/spam-detection.md
- frontend/src/components/Map/RegionsMap.tsx
- frontend/src/components/Map/regionOverlay.test.ts
- frontend/src/components/Map/regionOverlay.ts
- frontend/src/pages/RegionsPage.tsx
- frontend/src/pages/regions-page.css
- frontend/src/pages/regionsModel.ts
- rf-coverage/config.ukmesh.yaml
- tagger-worker/Dockerfile

Validation: backend tsc; 673 tests, 670 pass, 0 fail, 3 DB skips; frontend
tsc/build; default frontend 166 tests, 0 fail (10 opt-in browser skips);
contract:check; fixture-only Compose config and adoption tests.
2026-10-25 04:30:19 +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
dependabot[bot] b2be60fd5f chore(deps): bump node from 2d984a1 to 0b36e8c (#108)
Bumps node from `2d984a1` to `0b36e8c`.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 26-alpine
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-03 15:35:04 +01:00
dependabot[bot] 3b7992dd7b chore(deps): bump node from aadf416 to 2d984a1 (#81)
Bumps node from `aadf416` to `2d984a1`.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 26-alpine
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-30 22:59:06 +01:00
dependabot[bot]andhermes-gadget b8dc69d8de chore(deps): bump node from 20-alpine to 26-alpine (#60)
Bumps node from 20-alpine to 26-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 26-alpine
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: hermes-gadget <whatinthe3duk@gmail.com>
2026-08-11 20:33:55 +01:00
gadgethd 5db382e181 feat: complete codebase reliability upgrade 2026-08-02 03:40:11 +01:00
gadgethd 8404a72fbc Harden runtime and monitoring configuration 2026-07-28 23:17:39 +01:00
gadgethd 93cc3e1b38 Expand network intelligence and harden operations (#9)
Consolidates the stacked backend, privacy, network-intelligence, frontend, operations, mobile, and owner-cache changes after resolving main conflicts and passing the full CI suite.
2026-07-23 20:50:47 +01:00
Ben 6ec9329697 Refactor backend route and service boundaries
Split the monolithic backend router into domain route modules for health, radio, node status, coverage, nodes, owner, telemetry, stats, pathing, and misc endpoints.

Introduce the first service layer extractions for stats and owner so route files are now thin wrappers around business logic instead of owning heavy query orchestration and cache policy directly.

Harden DB startup by separating schema/migration bootstrap from the normal request pool timeout path. Startup schema initialization and migrations now run through a dedicated no-timeout startup pool, while runtime query timeouts remain in place.

This refactor also replaces the old monolithic startup schema asset flow with base schema + migration support, adds DB/config asset resolution cleanup, and substantially reduces backend/src/api/routes.ts from its previous multi-thousand-line state to a smaller registration/helper module.

Current roadmap status:
- route decomposition is effectively complete enough to stop splitting route files further
- stats service extraction is complete
- owner service extraction is complete
- next planned slice is pathing service extraction, followed by repository extraction under stats, owner, and pathing
2026-03-20 01:40:22 +00:00
Ben 05514fdc18 Add owner auth DB, website refresh, and coverage rollback 2026-03-07 03:23:52 +00:00
BenandClaude Sonnet 4.6 a946a07488 Separate frontend and backend into distinct containers
Splits the monolithic app container into:
- backend: Node.js handling MQTT, WebSocket, API, DB (no static files)
- app: Nginx serving the React SPA, proxying /api and /ws to backend

This means future dashboards (app.ukmesh.com etc.) can be added as
additional Nginx containers pointing at the same backend with no
duplicate calculations or DB connections.

Also updates nginx.website.conf to proxy to backend instead of app,
and bumps website host port from 3001 to 3002 to avoid conflict.

NOTE: Cloudflare Zero Trust tunnel route for app.teessidemesh.com
must be updated from http://app:3000 to http://app:80.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 10:58:23 +00:00