142 lines
11 KiB
Markdown
142 lines
11 KiB
Markdown
# LibreSpeed service and router measurements
|
|
|
|
## Mission Core network settings — owner-approved extension, 2026-11-12
|
|
|
|
Job: on demand, measure the current operator computer's connection to a selected
|
|
registered LibreSpeed VPS. Placement: avatar → Settings → Network, through the
|
|
existing EnvironmentSettingsWindow additionalSections contract. System → VPS
|
|
remains service administration; placing the test there would conflate the remote
|
|
executor with the connection being measured. No new workspace or shared control.
|
|
|
|
Reuse SettingsCard, Select, Button, Description and the existing speed instrument.
|
|
Discover services from the existing VPS catalog and health observations, select a
|
|
sole service automatically, preserve explicit selection and the result's server
|
|
identity. Absent/loading/unavailable services, queued/running/stopping, complete,
|
|
cancelled, stale and error states are explicit. Installation reuses the existing
|
|
LibreSpeed service wizard on already registered VPS hosts.
|
|
|
|
The local authenticated Core API owns the measurement, not the browser. It uses
|
|
the system-selected route without interface binding or any route/VPN/Wi-Fi edits.
|
|
VPS identity pinning precedes credentials; short-lived leases and the existing VPS
|
|
single-test limit apply. Three bounded streams, seven HTTP pings, ten seconds per
|
|
transfer phase, cancellation and a total deadline share no board execution state.
|
|
Latest receipts remain bounded in RAM, expire after ten minutes and reset daily.
|
|
Results identify the selected VPS and time; no durable speed history or invented
|
|
samples. Closing settings does not silently restart or cancel a measurement.
|
|
|
|
Acceptance must cover dynamic service selection, real UI-started operator test,
|
|
cancel/restart, same-server contention, TLS rejection before secrets, expiry,
|
|
compact typography and canonical settings navigation/Escape.
|
|
|
|
Approved job: measure download, upload, HTTP latency and jitter from a paired board through its attached Ethernet router to a registered VPS. The operator's Wi-Fi and default route remain unchanged.
|
|
|
|
Two existing compositions, one setup wizard: System → VPS → Add service selects LibreSpeed; Park → router → Speed measurement selects an existing VPS with LibreSpeed fixed. Creating VPS metadata remains in System. A new global workspace is unnecessary. This is an extension of existing domain content, not a new composition.
|
|
|
|
Use admitted Window, SettingsCard, Select, Button, Description, StatusBadge, ProgressBar and installer download. Operational text and values use existing 13 px typography; descriptions use 12 px. No bespoke font sizes. No fabricated progress or speed history.
|
|
|
|
The VPS installer owns an independent, versioned service, TLS identity, bounded one-use invitation, resource limits and rollback. Core pins TLS before admission; a 24-hour invitation establishes one controller credential with durable retry semantics. Secrets stay out of public projections. Short-lived test leases permit one active measurement on a VPS. The board executes the LibreSpeed HTTP protocol against the official Go backend; its sockets bind to the verified Ethernet interface and source IP. No browser speed measurement, SSH command execution or route changes are involved.
|
|
|
|
Lifecycle: service absent → installer download → invitation import → connected/unavailable; measurement idle → queued → latency → download → upload → complete/error/cancelled. Measurement receipts are RAM-only and share Node's bounded 32-operation queue; entries older than ten minutes are pruned when admitting another command. Core's pending copy expires after ten minutes. This is not a durable measurement history. Lost board runtime invalidates pending work. Cancellation first reaches the authenticated Node runtime, interrupts sockets and then releases the lease; expiration bounds disconnected clients. A result describes this server/path at this time, not theoretical modem capacity or proof of aggregation.
|
|
|
|
Acceptance: UI download and import, real board test, cancellation, duplicate/concurrent rejection, unavailable service and stale board states, credential redaction, interface pinning, typography and full required frontend gates. Existing ARNavi, WireGuard and board Wi-Fi must remain healthy.
|
|
|
|
## Accepted on McHost and ndc-rover-006 — 2026-11-11
|
|
|
|
LibreSpeed VPS 0.1.0, official Go backend 1.1.6, Node 0.8.53-123. The installer was downloaded from System → VPS → Add service. Its exact plan/apply ran over the authorized SSH administration channel. The one-use invitation was imported through Park → Banana Pi → Speed measurement → Add service, selecting the existing mchost row. No runtime registry was populated manually. The product does not claim unattended SSH deployment.
|
|
|
|
Normal and floating windows, empty state, installer instructions, existing-VPS selection, invitation import, live service availability, real measurement, cancellation and subsequent restart were checked in the application. Operational values use the existing 13 px rules. McHost lists ARNavi, WireGuard and LibreSpeed as online. All five server units, including NetBird/HTTPS, remain active with zero restarts.
|
|
|
|
| UI completion (MSK) | Download Mbps | Upload Mbps | HTTP latency ms | HTTP jitter ms |
|
|
| --- | ---: | ---: | ---: | ---: |
|
|
| 23:09:21 | 56.1 | 36.1 | 81.4 | 40.9 |
|
|
| 23:13:41 | 113.5 | 38.6 | 75.7 | 43.2 |
|
|
| 23:18:11, after cancellation | 108.0 | 26.0 | 87.6 | 34.5 |
|
|
|
|
All tests used enp1s0f0 → Banana Pi. Wi-Fi remained the primary default route (metric 50); Ethernet retained metric 100. The first 37-second resource observation, including idle/measurement time, saw 63.6 MiB peak service memory and 2.65% average of one CPU. Later idle usage was 41.6 MiB. This qualifies one simultaneous test on this VPS, not sustained multi-client capacity.
|
|
|
|
Validation: 1557 frontend tests, architecture gate, TypeScript and production builds; 93 focused Python checks plus the cancellation regression, Go router tests and five VPS service tests. Scoped Ruff/mypy passed after the final cancellation change. Credentials and invitation contents are excluded from evidence.
|
|
|
|
Evidence: operator workspace `2026-11-10/vpn/outputs/librespeed-acceptance-20261111.json`, `librespeed-measurement-final.jpg`, `librespeed-vps-catalog.jpg`, and `librespeed-vps-measurement-load.json`.
|
|
|
|
## Speed instrument — owner request, 2026-11-11
|
|
|
|
The existing tab hosts a domain renderer: a wide open oval following the Yandex
|
|
Internetometer reference, neutral ticks, a smooth marker and compact 13 px values.
|
|
A circular dial or embedded browser test was rejected: the requested shape is
|
|
elongated and measurement authority belongs to Node. No workspace, shared
|
|
control or font scale is added. Window/SettingsCard/Select/Button/Description/Icon
|
|
remain canonical.
|
|
|
|
Node publishes actual cumulative byte/time averages once per second through its
|
|
existing authenticated heartbeat. A bounded notification wakes the channel only
|
|
for measurement changes. Router polling uses one second during a speed operation.
|
|
Only marker position interpolates; numbers are received measurements, unknown
|
|
samples stay missing, stale data freezes the instrument and reduced motion
|
|
disables interpolation. Final means remain separate from interim means. Failed
|
|
or cancelled tests do not become successful results. No time series is persisted.
|
|
Acceptance covers live movement, phase change, final result, cancel, normal/
|
|
floating/narrow layout and exact packaged Node installation.
|
|
|
|
|
|
## Instrument acceptance and reproducibility — 2026-11-11
|
|
|
|
Current Node is 0.8.53-124. The exact owner installer passed its plan and completed
|
|
on the paired mini; the downloadable Node catalog now references this artifact.
|
|
Installer SHA-256: `547209bf424d2bec7d0535803873e6af3a9327f4e981d5308b9a89976ae0b26d`.
|
|
DEB SHA-256: `00a34985993dca08a38c268d25ee5acd58205953649a1f20e50bdabc6a765b45`.
|
|
|
|
The oval displayed changing real values during download and upload. Cancellation
|
|
in download reached “Замер остановлен” and removed partial results from the
|
|
instrument. The next UI-started test completed at 23:45:55 MSK: 122.986 Mbps down,
|
|
24.330 Mbps up, 73.653 ms HTTP latency, 30.105 ms jitter. All measurements used
|
|
`enp1s0f0`; Wi-Fi remained the primary default route. Normal, floating and narrow
|
|
views, Escape/reopen, and computed 13 px operational values were checked.
|
|
|
|
LibreSpeed VPS installer 0.1.0 rebuilt byte-for-byte with its original SHA-256
|
|
`e806a70629e376f5edabe6b72b2cdef112eeb28a472fecd725819aa2db65864c`.
|
|
A repeat plan recognized the healthy installed release and preserved configuration;
|
|
no VPS reinstallation was necessary. All five server services remained active with
|
|
zero restarts. This qualifies the packaged flow on the existing prepared hosts;
|
|
a fresh OS image has not been qualified. UI download and invitation import were
|
|
accepted in the preceding section; installer execution uses authorized SSH.
|
|
|
|
Validation: 1560 frontend tests, four architecture checks, typecheck and production
|
|
build, six focused instrument/typography checks after the final layout adjustment,
|
|
Node UI checks/build, focused Go routers/node progress and cancellation tests,
|
|
Python router/LibreSpeed tests, scoped Ruff/mypy, and diff whitespace checks.
|
|
Evidence: operator workspace `outputs/librespeed-gauge-acceptance-20261111.json`,
|
|
`librespeed-gauge-receipts.json`, `librespeed-gauge-live.jpg` and
|
|
`librespeed-gauge-final.jpg`.
|
|
|
|
## Operator network acceptance — 2026-11-12
|
|
|
|
Avatar → Settings → Network is available in the canonical Core at port 8000.
|
|
The picker discovers connected LibreSpeed services from the existing VPS catalog;
|
|
McHost was selected automatically after its health response. The same installation
|
|
wizard opens from this section and accepts only registered VPS hosts. No new VPS,
|
|
service installation, credentials, board deployment or network changes were needed.
|
|
|
|
Two UI-started operator tests completed: 135.5/133.5 Mbps at 00:58:25 MSK and,
|
|
after an explicitly cancelled test, 134.0/132.1 Mbps at 01:01:05 MSK. The latter
|
|
reported 13.0 ms median HTTP latency and 5.3 ms jitter. Cancellation interrupted
|
|
upload and removed partial values from the instrument. Current OS routing to
|
|
McHost used en0 via the existing gateway before and after; no socket interface
|
|
binding is used for operator tests. These results describe the operator's path,
|
|
not the router/board path qualified above.
|
|
|
|
Verified dynamic selection, live intermediate values, service wizard, stop/restart,
|
|
normal/free settings window, Escape/reopen and retained RAM receipt. The 760 px
|
|
layout keeps the instrument within content width; operational numbers are 13 px.
|
|
Validation: 1563 frontend tests, four architecture checks, typecheck/production
|
|
build, 12 focused Python tests, scoped Ruff/mypy. Tests cover local-only API,
|
|
service admission, lost lease reply, duplicate/concurrent requests, cancellation,
|
|
lease deadline, RAM expiry, three streams and TLS pin rejection before credentials.
|
|
|
|
Implementation: `network/{speedtest,speed_measure,speed_transport}.py`,
|
|
`web/network_speedtest_api.py`, existing LibreSpeed identity owner, settings
|
|
extension, `core/system/{networkSpeedtest,speedtestServers}.ts`, `NetworkSettings`
|
|
and the reused speed instrument. Receipt retention is limited to sixteen entries,
|
|
ten minutes and the current day; no history database is added.
|
|
Evidence: operator workspace `outputs/core-network-acceptance-20261112.json`,
|
|
`core-network-cancelled-20261112.json` and `core-network-final-20261112.jpg`.
|