WebRTC handoff — observability night-run
Synced read-only from
/home/synnet/mirrors/synvirt-product/docs/HANDOFF_WEBRTC.md. Edit at the source, not here.
WebRTC handoff — observability night-run
Section titled “WebRTC handoff — observability night-run”The observability night-run started on feature/observability from
the 0.15.0 tag (commit 6fee23d). Baseline cargo check --workspace failed in crates/daemon/src/api/console_webrtc.rs
with two cannot find function bad_quality_response errors at
lines 87 and 96, even though the function is defined in the same
file at line 155. The diff against HEAD is in-flight WebRTC
quality-override work (Query<CreateSessionQuery> + the
QualityOverride struct passed into synvirt_webrtc::create_session).
That work lives in the reserved WebRTC area for this night-run, so
the observability agent did not touch it. The observability crate
is validated with crate-scoped checks (cargo check -p synvirt-observability) and the daemon-side integration commits stay
behind a feature flag until the WebRTC author lands the missing
QualityOverride constructor / signature change in synvirt-webrtc
and the bad_quality_response resolution is unblocked.
To resume:
- Land the
synvirt-webrtc::QualityOverridetype and the matchingcreate_session(..., quality)arity bump. - Re-run
cargo check --workspacefrom a clean target (the “cannot find function” looks like a stale incremental build artefact —cargo clean -p synvirt-daemonfirst). - The observability daemon-side endpoints (Tasks/Events/Issues/
Edit Settings) wire into
crates/daemon/src/api/observability/andcrates/daemon/src/api/vm_settings.rs— no overlap withconsole_webrtc.rs.
Reserved-area files (untouched on feature/observability):
crates/synvirt-webrtc/**crates/synvirt-input/**crates/daemon/src/api/console_webrtc.rscrates/web-ux-v2/src/views/console/**crates/web-ux-v2/src/composables/useWebrtcConsole.tscrates/web-ux-v2/src/composables/qcodeMap.tscrates/web-ux-v2/src/components/console/StatsOverlay.vue