Commit Graph
125 Commits
Author SHA1 Message Date
gadgethd b68e26887e Avoid duplicate alerts during DEV readiness bootstrap 2026-12-06 01:40:20 +00:00
gadgethd d2f853bdcf Prepare nested forecast mount before switching DEV website bundles 2026-12-04 23:29:39 +00:00
hermes-gadget d2d15d7c51 Merge pull request #479 from gadgethd/codex/lightweight-dev-health-probe
Reduce full DEV health probe memory while preserving readiness checks
2026-12-04 22:56:47 +00:00
gadgethd 30f5c4bb5b Use a lightweight HTTP probe for the full DEV external fixture 2026-12-04 22:10:58 +00:00
gadgethd 506335bee8 Probe the health-check JSON endpoint without starting another Node runtime 2026-12-04 22:09:46 +00:00
hermes-gadget 533fd91a2c Merge pull request #458 from gadgethd/fix/cancel-abandoned-analytics
Release database locks when an analytics client aborts
2026-12-04 06:20:26 +00:00
gadgethd 8ce1f9477b Cancel disconnected analytics statements while they still hold server locks 2026-12-04 05:35:41 +00:00
gadgethd 49884469c1 test: retain redacted feed layout geometry after browser failures 2026-12-04 04:51:25 +00:00
hermes-gadget 73fe33f71f Merge pull request #446 from gadgethd/audit/night-ui
Make public activity and repeater controls easier to use
2026-12-04 02:16:58 +00:00
gadgethd 4f9a65896f Keep authenticated enrolled MQTT connections on credential reload 2026-12-04 01:02:23 +00:00
gadgethd edae3e4b4a Merge remote-tracking branch 'origin/ukmesh-dev' into audit/night-ui 2026-12-04 00:56:56 +00:00
gadgethd 7d0433db77 Resolve packet anchors consistently at fractional row boundaries 2026-12-04 00:20:48 +00:00
hermes-gadget 623dbffb86 Merge pull request #448 from gadgethd/audit/night-backend
Recover the running MQTT broker and serialize account file repair
2026-12-04 00:13:13 +00:00
hermes-gadget 6022ab56a3 Merge pull request #445 from gadgethd/audit/forecast-batches
Publish forecast images coherently and keep UK land summaries accurate
2026-12-03 23:40:58 +00:00
gadgethd 6d440e5a96 Scope recovery fixture images to their commands 2026-12-03 23:38:17 +00:00
gadgethd e811a74c0d Run disposable recovery fixtures against the candidate backend in CI 2026-12-03 23:10:57 +00:00
gadgethd a0e1e1fb59 Recover the backed-up MQTT image and require a QoS 1 round trip before signing 2026-12-03 23:09:46 +00:00
gadgethd b2859dac52 Publish coherent tropo forecast images and retain valid land summaries 2026-12-03 23:00:58 +00:00
gadgethd 27de956b0d Exercise the full qualification controller suite and check deployed logging inventory 2026-12-03 22:59:47 +00:00
gadgethd 3092179d89 Run the session isolation plugin against real Mosquitto in CI 2026-12-03 17:28:57 +00:00
UKMesh Readiness a58005c679 Apply the existing PostgreSQL shared-memory budget to the fixture 2026-12-02 20:16:26 +00:00
UKMesh Readiness 5633ce6ff6 Run pinned CoreScope ledger integration tests with a loopback database 2026-12-02 20:13:49 +00:00
UKMesh Readiness 229238d1b2 Fit compact socket snapshots around all required rows and the resume cursor 2026-12-02 17:42:39 +00:00
UKMesh Readiness 000bcbaba7 Build the source-matched CoreScope qualification binaries in CI 2026-12-02 15:07:05 +00:00
UKMesh Readiness ce68647792 Test the pinned CoreScope and Beacon source on release input changes 2026-12-02 13:31:16 +00:00
gadgethd db7c2321cf Merge pull request #392 from gadgethd/codex/nonroot-broker-reloader
Keep the broker reloader readable in private builds
2026-12-02 08:58:34 +00:00
gadgethd 9d210c8ed5 Merge pull request #388 from gadgethd/codex/refresh-owner-signal-groups
Correct owner signal history during cache refresh
2026-12-02 08:22:19 +00:00
UKMesh Readiness fb63c67e20 Keep the broker reloader readable in private builds 2026-12-02 08:18:06 +00:00
UKMesh Readiness 55e9b4ee1b Correct owner signal history during cache refresh 2026-12-02 07:32:05 +00:00
UKMesh Readiness 3e28458801 Qualify the public feed across browsers and exercise external database views 2026-12-01 23:33:27 +00:00
UKMesh Readiness 94a2901086 Use HTTPS for Ubuntu package sources on hosted browser runners 2026-12-01 15:01:41 +00:00
UKMesh-CI 65f99029f3 Use the signed Ubuntu Azure mirror for hosted viewshed image tests 2026-11-30 13:23:45 +00:00
UKMesh Readiness 912b278251 Include pinned CoreScope and Beacon images with Health Check in the release 2026-11-28 13:58:41 +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 d9611ad549 Protect DEV dependencies, replay storage and WebSocket capacity 2026-11-27 18:58:27 +00:00
gadgethd fde49a5850 Split durable MQTT ingest from the HTTP and WebSocket API 2026-11-27 17:53:22 +00:00
gadgethd f0ae834a32 Isolate static origins and owner authorization startup 2026-11-27 17:08:58 +00:00
dependabot[bot] d56f2a610c chore(deps): bump anchore/sbom-action from 0.24.3 to 0.24.4 in the actions group
Bumps the actions group with 1 update: [anchore/sbom-action](https://github.com/anchore/sbom-action).


Updates `anchore/sbom-action` from 0.24.3 to 0.24.4
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md)
- [Commits](https://github.com/anchore/sbom-action/compare/66cbf4bc1f1c0d2edc94016e65bc221b6bb0ad6c...dfcb83b97731532d72be422cbc51ee64adb6fd56)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  dependency-version: 0.24.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-27 16:30:14 +00:00
hermes-gadget 543977a26e fix(identity): close the P2 residual defects and prove them with DB tests (#194) (#274)
* fix(identity): resume legacy checkpoints below every same-instant observation (#194)

migrateLegacyCheckpoint translated a pre-131 (time, packet_hash,
rx_node_id) cursor by looking up the checkpoint row's own observation id.
Rows at last_time whose observation id sorts lower — and whose hash sorts
higher, so the old page key never read them — were skipped forever.

Reset last_observation_id to CURSOR_FLOOR for the checkpointed instant.
MIN(observation_id) is not sufficient: the page predicate is exclusive
(observation_id > last_observation_id), so a cursor at the minimum skips
the row holding it. The floor re-reads the whole instant and packet_uid
IS NULL makes replay idempotent.

Adds a fail-first PostgreSQL test with hash order inverted against
observation order: the legacy checkpoint names the middle hash, and all
three rows at the instant plus a later row must get a packet_uid.

* test(identity): prove migration 133 enforces the observation key (#194)

Creates a disposable database, re-runs the migration's documented
duplicate pre-check (asserting zero rows), applies the shipped 133 SQL,
then asserts packets_time_observation_id_uidx is unique/valid/ready and
that a duplicate (time, observation_id) INSERT raises 23505 with that
constraint name. NULL observation ids remain outside the key.

* fix(readers): resolve decryptions by packet identity in channel history and RAM (#194)

getChannelMessageHistory joined mesh.packet_decryptions on the exact
observation hash in both its candidate page and its detail query. A
message retained under two observation hashes can carry its decryption on
the older one, so the representative was filtered out or displayed with
the ingest marker. Resolve the newest decryption across the row's UID
siblings (packets_packet_uid_idx), keeping the exact hash as fallback and
as the whole join under PACKET_IDENTITY_READ_AUTHORITY=hash.

The 90-day window rules out a window-wide identity CTE, so the lookup is
a per-row lateral bounded to one decryption. resolvePendingSummaries uses
the same shape: a pending observation inherits the summary of a stored
sibling of its UID instead of requiring its own hash to be decrypted.

Adds sibling-observation DB tests for channel history and RAM summaries;
both fail when the reader is forced onto the exact-hash authority.

* test(backfill): prove dry-run parity and the run lock on real PostgreSQL (#194)

Replaces the FakeClient coverage for two behaviours with the shipped CLI
against a real database:

- a dry run selects and resolves exactly what the following real run
  does, while writing no packet_uid and leaving the checkpoint untouched;
- a second process exits with 'packet identity backfill is already
  running' before its first BEGIN, and the session-level lock is released
  on a normal exit and by PostgreSQL after the holder is SIGKILLed. The
  holder is parked in a server-side trigger after it takes the lock, so
  the race is deterministic rather than timing-based.

* ci: run the identity backfill suite against TimescaleDB (#194)

backfillIdentity.compressed.test.ts builds a real hypertable with a
compressed chunk and runs the shipped CLI; plain PostgreSQL cannot stand
in for it, and the file skips itself without TEST_BACKFILL_DATABASE_URL.
Add an isolated TimescaleDB job (same 2.25.1-pg16 image pin as Backend)
that runs the suite through the TAP guard, so a skip, a cancellation or
a missing test is a failure. --min-tests=15 pins the current coverage.
2026-11-27 14:00:43 +00:00
hermes-gadget df1b120687 chore(deps): hold recharts out of the weekly frontend group (#266) (#268)
recharts 3.11.0 pushes the Recharts chunk to 442.8 KiB raw / 121.3 KiB
gzip against the 400/110 budget, so the weekly group cannot go green
with it included. Exclude it from the group and ignore it until the
budget decision is made deliberately.
2026-11-27 13:39:45 +00:00
gadgethd 714de43bff Retry target inspection after a listed build exits 2026-11-24 12:08:50 +00:00
gadgethd 49f05bce41 Bound Beacon startup evidence to relevant journal events 2026-11-24 12:04:33 +00:00
gadgethd 97e3ee6d4b Build and run the guided Health Check from its reviewed fork 2026-11-24 02:12:13 +00:00
gadgethd 004b89837d Restore interrupted DEV fixtures and bound LAN exposure 2026-11-24 00:17:12 +00:00
Codex 4c062292f2 Guard fixture qualification and record disk and query pressure 2026-11-19 00:01:07 +00:00
hermes-gadget 79d7ed7979 chore(deps): bump the frontend dependency group, holding MapLibre at 6.11.2 (#240)
Re-lands the Dependabot frontend group (#228) minus the MapLibre bump.

frontend/src/plugins/maplibre-source.ts rebuilds MapLibre from its own
source maps and hard-fails at Vite config load for any version other than
6.11.2, so the whole group PR could never build. The 6.11.2 -> 6.17.0 bump
needs its source/worker inventory re-qualified first (#239).

Everything else in the group is carried over unchanged: react/react-dom
19.3.1, react-router 8.5.1, react-aria-components 1.22.1, zustand 5.1.0,
deck.gl 9.4.1, vite 8.3.7, @vitejs/plugin-react 6.3.0, postcss 8.5.32,
@playwright/test 1.65.0, @axe-core/playwright 4.14.0.

MapLibre is now excluded from the weekly frontend group and ignored by
Dependabot so the group stops going red on a version it cannot build.

Build: npm run build, clean.
Tests: npm test, 199 tests / 189 pass / 10 skipped / 0 fail.
2026-11-18 00:00:36 +00:00
hermes-gadget c303411b15 ci: repair the two shared gates that block every PR (frontend audit, secret scan) (#244)
* ci: gate the frontend audit on shipped dependencies (#243)

The Frontend job ran npm audit over the whole tree and now fails on
picomatch <=4.0.7 (GHSA-fc5q-39xc-vjpf, ReDoS). 4.0.7 is the newest
published release, so no PR can clear it: npm audit fix only proposes
downgrading vite to 6.2.7.

vite, @vitejs/plugin-react, fdir, tinyglobby and picomatch are all
devDependencies -- build-time only, nothing from that tree ships in the
bundle. Audit the shipped tree as the gate (0 vulnerabilities today) and
keep the full-tree report as a non-blocking step so build-tool advisories
still surface. Backend and scripts/ keep their full-tree gates; both pass
and both trees are runtime code.

* chore(security): allowlist synthetic harness credentials in gitleaks

The repository-wide `gitleaks git --all` sweep fails on three findings, all
introduced by commits that are only reachable from ukmesh-dev:

  scripts/full-dev/qualification/test_read_pairs.py:296  'owned-synthetic-1x'
  scripts/test-lean-runtime.py:25                        'owned-fixture-...'
  scripts/full-dev/test_memory_policy.py:16              'owned-fixture-...'

They are placeholders the harness writes when it stands up a throwaway
Compose stack -- self-describing fixtures, every service created by the test
and torn down after it. Listed as exact values (not paths) so the allowance
covers the introducing commits on any branch without touching that branch.

Verified with gitleaks 8.30.0 and the same invocation CI uses:
972 commits scanned, no leaks found (previously 3).
2026-11-17 23:27:42 +00:00
Codex ed57cf4a83 Make remote GPU propagation the lean HopReach default 2026-11-17 22:40:01 +00:00
Codex 6c51dc01d4 Run recovery tests against the correct fixtures 2026-11-17 22:40:01 +00:00
Codex 43d7e3136c Run compressed identity recovery in the database audit lane 2026-11-17 22:32:19 +00:00