mirror of
https://github.com/gadgethd/ukmesh.git
synced 2026-12-06 03:14:09 +00:00
44 lines
5.8 KiB
Markdown
44 lines
5.8 KiB
Markdown
# Verifying a UKMesh release candidate
|
||
|
||
Record the full UKMesh commit, the pinned companion revisions, fixture scales, workflow run links and the time of each rehearsal. Start a fresh result row when code or a release input changes. A passing pull request establishes the results for that change. The integrated VM measurements belong to the commit and images actually running.
|
||
|
||
## Where to start when a check fails
|
||
|
||
| Symptom or change | Source of truth | First verification |
|
||
| --- | --- | --- |
|
||
| Public page missing, unreachable link or incorrect title | `frontend/src/config/publicRoutes.ts` includes pages, aliases and redirects. `frontend/src/main.tsx` mounts the application. | Exercise the production build at the affected URL and follow the in-page link. Browser suites live in `frontend/test/e2e`. |
|
||
| Map, packet feed or timeline misses updates | Public socket bootstrap in the Backend CI job, then the socket replay, map and feed browser specs | Check both bootstrap formats, a reconnect during traffic and expected packet identities after catch-up. A matching frame count alone can hide a duplicate and a gap. |
|
||
| Operator login, scope or credential issue | Owner browser specs, backend owner integration, Mosquitto enrollment plugin and reloader | Use disposable credentials. Check an existing connection while creating an account, reject a duplicate username and connect with the newly generated credential. See [MQTT onboarding](mqtt-onboarding.md). |
|
||
| Migration, stale projection or failed background job | Backend, Database Audit Tests and Identity Backfill CI jobs | Use their disposable PostgreSQL, TimescaleDB and Redis fixtures. Replay the migration band and test an existing-data transition. See [database lifecycle](db-lifecycle.md). |
|
||
| Missing service, scheduled work, unhealthy dependency or logging failure | `scripts/full-dev/services.json` lists required services, one-shot jobs, work probes and profile exclusions. The full DEV Compose files define the deployed configuration. | Check resolved inventory and each service's work probe. For one-shot migrations and initializers, verify exit status and resulting state. For resident processes, sample throughout the soak. |
|
||
| Beacon, CoreScope or Health Check regression | The pinned sources in the companion workflow and Workers and Compose CI job | Dispatch Companion source tests against the candidate branch and verify its recorded SHA. Test the interfaces in the full stack as well. See [companion development](companion-development.md). |
|
||
| Forecast or radio coverage error | `tropo-worker`, `viewshed-worker`, `rf-coverage`, Workers and Compose, and HopReach RF gates | Run the worker-specific fixtures and the RF parity and UK performance gates. Confirm that published map assets still resolve on reload. |
|
||
| Alerting, ingress, distribution or restore failure | Monitoring and Workers and Compose jobs, release component inventory and restore scripts | Exercise a disposable alert, the empty-volume stack and an isolated restore. Compare the restored service inventory with the candidate. See [backup and restore](runbook-backup-restore.md) and [release rollback](runbook-release-rollback.md). |
|
||
|
||
## Repeatable checks
|
||
|
||
Run these from the repository root using the project's Node version, locked backend dependencies, Python packages from the matching CI jobs and Docker Compose. Database and broker integration suites need the service fixtures and environment from the workflow.
|
||
|
||
```sh
|
||
(cd backend && npm ci)
|
||
node scripts/check-release-identity.mjs
|
||
node scripts/generate-shared-contracts.mjs --check
|
||
node scripts/check-docs.mjs
|
||
python3 -B -m unittest discover -s scripts/full-dev -p 'test_*.py'
|
||
python3 -B -m unittest discover -s scripts/full-dev/qualification -p 'test_*.py'
|
||
```
|
||
|
||
Inspect all jobs in CI, Frontend mobile and Companion source tests. The mobile workflow also runs the feed in Firefox and WebKit. Record which pages and browser engines were actually exercised. For a visual change review both deployed surfaces at phone and desktop widths. Navigate with a keyboard, increase text size and exercise loading, empty, failed and recovered states. Use synthetic records in shareable screenshots.
|
||
|
||
## Before calling a candidate ready
|
||
|
||
1. Verify the final revision and runtime identities on the isolated DEV host. Use the existing retained fixtures. Allow room for the physical copy and the disk reserve. The qualification entry point owns the target lease and the original-store recovery.
|
||
2. Collect matched 1× and 10× reads with the production profile. Run the full 2,400-second mixed workload with MQTT publication, a live public socket and independent persistence checks. Record missing, duplicate and unexpected packets, drain time, read latency, resource peaks, service health and original-store restoration.
|
||
3. Use `scripts/qualify-full-stack.sh report --run <owned-run> --acceptance-profile production` against the collected evidence. The report command evaluates existing measurements. Missing evidence, a stopped run, or an unverified source leaves the relevant check open.
|
||
4. Rehearse restore and rollback with the signed production backup and the previous immutable image inventory on the operator workstation. Include previously deployed CoreScope, Beacon Server and Beacon Web. Physical enrollment needs a device test before enabling the production feature flag.
|
||
5. Publish aggregate counts, timings, revisions and CI links. Keep backups, credentials, observer records, raw packet and browser traces, private endpoints and machine-local receipts on the controlled host.
|
||
|
||
The [lean runtime handoff](lean-runtime-handoff.md) records earlier measurements and the profile used for them. For a release decision use the candidate's own production-profile report, CI conclusions and workstation rehearsal.
|
||
|
||
The [4 December 2026 audit](reviews/2026-12-04-ukmesh-dev-production-audit.md) records retained-dataset results and outstanding release checks.
|