# Beacon preview and Traces audit handoff

23 November 2026 · Canadaverse

Canadaverse is running the upstream development versions of the Beacon server and web app. The four preview branches point to the same commits and file trees as their upstream `dev` branches. Four separate audit drafts target upstream `dev`. The WebSocket dependency fix is the first item for review. [Preview](https://canadaverse.org/beacon-dev/) · [Build record](https://canadaverse.org/beacon-dev/build.json) · [Source downloads](https://canadaverse.org/beacon-dev/source.html)

| Component | Upstream commit | Preview branch | Previous preview |
| --- | --- | --- | --- |
| Server | [`4fdb3f75ddbf`](https://github.com/MeshCore-Beacon/beacon-server/commit/4fdb3f75ddbf1aeba22c3f929181a72727612867) | [`n30nex-test`](https://github.com/n30nex/beacon-server-contributions/tree/n30nex-test) | `f3ecec5e602a` |
| Web | [`e917f975733b`](https://github.com/MeshCore-Beacon/beacon-web/commit/e917f975733bf5de2f3c5cf4065f95dec1b92cee) | [`n30nex-test`](https://github.com/n30nex/beacon-web-contributions/tree/n30nex-test) | `c59ee53a8045` |
| Flutter app | [`e4427105999b`](https://github.com/MeshCore-Beacon/beacon-flutter-app/commit/e4427105999b4b9ffbbc3816e9f187faf7d8e829) | [`dev`](https://github.com/n30nex/beacon-flutter-app/tree/dev) | `c11b1b277f91` |
| Docs | [`77003f946594`](https://github.com/MeshCore-Beacon/beacon-docs/commit/77003f946594e64a270d1b180fd5e11bde94f17b) | [`n30nex-test`](https://github.com/n30nex/beacon-docs-contributions/tree/n30nex-test) | `52087dff0421` |

Each fork preserves its previous head under `archive/canadaverse-pre-upstream-20261123`. The server and web app were deployed to Canadaverse. The Flutter update produced an Android debug build. The docs update synchronized the fork. Upstream maintainers retain control over releases and deployment to their hosts.

## What changed for preview users

Atlas offers a seven-day range. Its chart opens on desktop and mobile, and the range selection survives a reload. The server also adds an index for queries using a packet’s origin and latest hearing. Canadaverse keeps its existing configuration for MQTT, regional access, accounts, registration and polling. The server advertises Atlas and map telemetry display support. Active polling, telemetry requests and alert delivery are disabled on this installation.

## Qualification

| Checked | Result |
| --- | --- |
| Server | Upstream server CI passed. The published registry image inspected for this revision was AMD64. The Pi runs an ARM64 build from the unchanged upstream Dockerfile. Both the running image and executable digest were verified. |
| Web | 2,386 tests in 225 files passed. All 97 public assets and both source archives matched the qualified artifacts, accounting for Cloudflare’s HTML insertion. |
| Browser | Nine pages across English and French desktop and touch-emulated mobile, 36 visits in total. The checks recorded zero Beacon API failures. Both live maps processed real packet traffic and stopped sending animation updates after stopping flow or leaving the map. Four ticketed WebSocket profiles received data. |
| Android | 1,161 tests passed. 16 optional screenshot cases were skipped. Android CI and the fork build passed. The debug APK uses a different signing certificate from the earlier preview artifact. Device installation and an in-place upgrade remain unverified. |
| Database | A private backup was restored and all 80 application-table counts were compared through upgrade, inverse and re-upgrade. The live preview ledger advanced from 88 to 90 entries. Both MQTT brokers reconnected. |

The browser run recorded one missing third-party map-font range with local glyph fallback and Cloudflare analytics requests blocked by the existing content policy. The two map sessions establish behavior under the sampled traffic. They do not measure performance on a physical phone. [Server tests](https://github.com/MeshCore-Beacon/beacon-server/actions/runs/45109025286) · [Web tests](https://github.com/MeshCore-Beacon/beacon-web/actions/runs/45185685430) · [Flutter tests](https://github.com/MeshCore-Beacon/beacon-flutter-app/actions/runs/45185691519) · [Preview builds](https://github.com/n30nex/beacon-server-contributions/actions/runs/45286131547) · [Debug APK](https://github.com/n30nex/beacon-server-contributions/actions/runs/45286131547/artifacts/14873300004)

## Traces audit

The TRACE trailer can contain hops the packet was asked to visit. Each reached hop contributes one recorded SNR byte, including a valid zero. The tag summary previously preferred the longest requested route, so a packet with a longer plan could displace one observed farther along. The overview also drew the whole plan. These are separate storage and display defects. [User report, web #250](https://github.com/MeshCore-Beacon/beacon-web/issues/250) · [Server issue #352](https://github.com/MeshCore-Beacon/beacon-server/issues/352)

On the private restore, **1,007 of 3,552 tags** had a more complete retained observation. Five tags had no retained packet. In the repaired copy, zero tags had a better retained observation and all saved scores agreed with their payloads. Tag identities, counts, scope and timestamps survived. The repair statement took 104 ms on that copy. Database size, retention and concurrent writers determine the cost elsewhere.

| Draft to upstream dev | Review focus |
| --- | --- |
| [Server #355](https://github.com/MeshCore-Beacon/beacon-server/pull/355) | Update the indirect Gorilla WebSocket dependency and checksums. Review this independently of Traces, then refresh the Traces branch against dev. |
| [Server #353](https://github.com/MeshCore-Beacon/beacon-server/pull/353) | Rank by reached hops at the database write boundary, including writes from an older ingest binary. Repair saved summaries against retained packets once. Equal scores preserve the saved observation. Check the migration on a production-sized restore before release. |
| [Web #251](https://github.com/MeshCore-Beacon/beacon-web/pull/251) | Show reached hops in the overview, counting zero-dB samples. The packet detail retains the full requested route. Verify both layers together against the same partially traversed route. |
| [Docs #76](https://github.com/MeshCore-Beacon/beacon-docs/pull/76) | Document the distinction between requested hashes and measured progress for API consumers. |

The dependency draft and web draft passed CI. The Traces server draft passed its PostgreSQL, query-plan and backup checks. Its standalone CI remains red on the inherited dependency advisory. The complete server suite passed with the exact two patches together in an isolated fork check. The docs repository has no PR check configured for this change. At the final label check, 45 open issues and PRs across 13 repositories had type, priority and release classifications. [Dependency CI](https://github.com/MeshCore-Beacon/beacon-server/actions/runs/45296537514/job/138118253357) · [Traces standalone run](https://github.com/MeshCore-Beacon/beacon-server/actions/runs/45293413273) · [Combined server CI](https://github.com/n30nex/beacon-server-contributions/actions/runs/45296846447/job/138119306088) · [Web draft CI](https://github.com/MeshCore-Beacon/beacon-web/actions/runs/45291021187/job/138099498028)

In the built web draft, an isolated API fixture displayed three of four requested hops, including zero dB. An unreached ping showed no hop badge. Opening the packet exposed the fourth requested hop. English desktop and French mobile both made one list request and deferred the detail request until selection.

## WebSocket dependency advisory

The Go vulnerability database updated GO-2026-6278 on November 23. Go build metadata in the verified preview executable identifies Gorilla WebSocket v1.5.3 and Paho MQTT v1.5.1. The Gorilla release uses weak randomness for WebSocket client masking keys. Both configured preview brokers use WSS. The dependency draft pins the first corrected revision named by Go. It changes three lines across the module and checksum files. An ARM64 source scan reproduced the upstream finding and reported zero reachable vulnerabilities with the update. Both patch combinations passed Linux CI. A local TLS broker verified connection, subscription, message delivery and clean disconnect on all three builds. [Go advisory](https://pkg.go.dev/vuln/GO-2026-6278) · [Server issue #354](https://github.com/MeshCore-Beacon/beacon-server/issues/354) · [Fix #355](https://github.com/MeshCore-Beacon/beacon-server/pull/355)

## Other open audit work

- The three earlier route-maintenance fixes are already ancestors of the server running on preview. Its route cursor advanced between two scheduled passes at 23:59 and 00:04 UTC with zero container restarts. The same server completed its first observed scheduled hourly neighbour pass at 00:40:29 UTC. Release-host issue #224 remains open for operational follow-up. [Skipped counts](https://github.com/MeshCore-Beacon/beacon-server/commit/4d076b0) · [Neighbour query](https://github.com/MeshCore-Beacon/beacon-server/commit/d2baa10) · [Completion logging](https://github.com/MeshCore-Beacon/beacon-server/commit/02e97cd) · [Release observations](https://github.com/MeshCore-Beacon/beacon-server/issues/224#issuecomment-7007379527)
- The Android portrait region-selector report already has a contributor PR. Its latest public comment requests maintainer approval for CI. Device acceptance is still useful. [App #4](https://github.com/MeshCore-Beacon/beacon-flutter-app/issues/4) · [App #15](https://github.com/MeshCore-Beacon/beacon-flutter-app/pull/15)
- Mobile filtering of questionable TRACE observations has a separate design dependency. The client needs a server capability and paging rules for mixed or entirely hidden pages. The reached-hop correction can be reviewed independently. [App #34](https://github.com/MeshCore-Beacon/beacon-flutter-app/issues/34)

## Recovery

The previous four branch heads remain on their respective forks. From the existing Canadaverse preview root, run `sudo python3 evidence/upstream-exact-20261123/deploy-preview.py rollback` to restore the previous server, web assets and operator metadata. Checkpoint `exact-upstream-20261123T233938Z` holds the pre-deployment files. The inverse refuses to downgrade past a newer migration or discard a saved seven-day account preference. Rollback qualification covered the database on a private restore. Exercising the complete service rollback on the running preview remains unverified.
