Skip to content

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:

  1. Land the synvirt-webrtc::QualityOverride type and the matching create_session(..., quality) arity bump.
  2. Re-run cargo check --workspace from a clean target (the “cannot find function” looks like a stale incremental build artefact — cargo clean -p synvirt-daemon first).
  3. The observability daemon-side endpoints (Tasks/Events/Issues/ Edit Settings) wire into crates/daemon/src/api/observability/ and crates/daemon/src/api/vm_settings.rs — no overlap with console_webrtc.rs.

Reserved-area files (untouched on feature/observability):

  • crates/synvirt-webrtc/**
  • crates/synvirt-input/**
  • crates/daemon/src/api/console_webrtc.rs
  • crates/web-ux-v2/src/views/console/**
  • crates/web-ux-v2/src/composables/useWebrtcConsole.ts
  • crates/web-ux-v2/src/composables/qcodeMap.ts
  • crates/web-ux-v2/src/components/console/StatsOverlay.vue