Commit Graph

10 Commits

Author SHA1 Message Date
Dandaedre ef4b63d4f8
test(M4.4): exercise a real Pulse daemon
Add opt-in fixtures that isolate control to a uniquely named silent paplay stream, verify worker and independent-client convergence plus stream churn, and explicitly gate disruptive PipeWire restart/resnapshot coverage. Detect failed or terminated Pulse contexts while polling.

Tests: cargo test -p volume_lib --all-targets --all-features; cargo clippy -p volume_lib --all-targets --all-features -- -D warnings; cargo check -p volume_lib --all-targets --no-default-features; cargo test --locked -p volume_lib --test pulse_daemon --all-features real_stream_commands_external_edits_and_churn_converge -- --ignored --nocapture (PipeWire 1.6.9)
2026-10-14 22:18:22 +02:00
Dandaedre ff23a1aa7b
feat(M4.3): select one capable audio authority
Add typed manual/auto backend selection, capability diagnostics, compiled-feature probes, Pulse server identity reporting, and bounded same-authority reconnect scheduling. Prevent hardware-only adapters from satisfying application-stream requirements.

Tests: cargo test -p volume_lib --all-targets --all-features; cargo check -p volume_lib --all-targets --no-default-features; cargo fmt --all -- --check
2026-10-14 21:50:32 +02:00
Dandaedre 35a50e06e4
feat(M4.2): own Pulse sessions in a worker
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Keep libpulse handles on a dedicated owner thread, bound command and event lanes, frame subscribe-before-enumerate snapshots, copy metadata and observations, and protect reused sink-input IDs with per-epoch incarnations. Add hardware-free contract coverage and a real-session worker-watch checklist.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features --locked; cargo test --workspace --all-targets --all-features --locked; cargo test --workspace --doc --all-features --locked; cargo clippy --workspace --all-targets --all-features --locked -- -D warnings; cargo build --workspace --release --all-features --locked; cargo check --workspace --all-targets --no-default-features --locked; cargo test --workspace --all-targets --no-default-features --locked; cargo run --locked -p volume_lib --example pulse_fixture -- worker-watch 1 (PipeWire 1.6.9)
2026-10-14 21:46:39 +02:00
Dandaedre e7067e277f
feat(M4.1): subscribe to Pulse stream changes
Subscribe before enumeration, retain sink-input notifications across the snapshot window, and expose copied upsert/removal events. Add an opt-in Rust fixture for list, watch, volume, and mute verification without production shell parsing.

Tests: cargo fmt --all -- --check; cargo test -p volume_lib --all-targets --all-features --locked; cargo check -p volume_lib --all-targets --no-default-features --locked; cargo clippy -p volume_lib --all-targets --all-features --locked -- -D warnings (all pass)
2026-10-14 19:40:52 +02:00
Dandaedre 90ba84a802
feat(M4.1): establish the Pulse protocol boundary
Pin feature-gated libpulse bindings, document native prerequisites and MSRV/license checks, and add a no-autospawn client for sink-input enumeration, normalized metadata, linear multichannel conversion, volume/mute writes, and confirmed readback. Leave M4.1 open pending isolated-daemon subscription verification.

Tests: cargo fmt --all -- --check; cargo test -p volume_lib --all-targets --all-features --locked; cargo check -p volume_lib --all-targets --no-default-features --locked; cargo clippy -p volume_lib --all-targets --all-features --locked -- -D warnings (all pass)
2026-10-14 19:39:36 +02:00
Dandaedre 4f3eb4f279
feat(M3.4): complete the fake server lifecycle
Rust CI fader_master passed CI.
MadGobblins/fader_master/pipeline/head This commit looks good Details
Add adopt and ordered restore startup behavior, confirmed fake readback, unavailable and reconnect transitions, bounded exponential retry, disconnect invalidation, joined worker cancellation, and drain-before-checkpoint shutdown. Record the verified M3 hardware-free milestone.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features --locked; cargo test --workspace --all-targets --all-features --locked; cargo test --workspace --doc --all-features --locked; cargo clippy --workspace --all-targets --all-features --locked -- -D warnings; cargo build --workspace --release --all-features --locked; cargo check --workspace --all-targets --no-default-features --locked; cargo test --workspace --all-targets --no-default-features --locked (all pass)
2026-10-14 15:42:50 +02:00
Dandaedre 58e08f3741
feat(M3.3): bound and order adapter dispatch
Add a fixed-capacity dispatch lane that coalesces only unsent volume writes, preserves mute edges in arrival order, and exposes overflow as an explicit resynchronization fault.

Tests: cargo fmt --all -- --check; cargo test -p volume_lib --all-targets --locked; cargo clippy -p volume_lib --all-targets --locked -- -D warnings (all pass)
2026-10-14 15:39:40 +02:00
Dandaedre 4e115b8562
feat(M3.2): add the fake audio worker contract
Add adapter capabilities, snapshot barriers with buffered race reconciliation, deterministic volume/mute writes and readback, and normal removal failures. Reject stale epochs and backend-ID incarnations while preserving newer pending reducer intent.

Tests: cargo fmt --all -- --check; cargo test -p fader-core -p volume_lib --all-targets --locked; cargo clippy -p fader-core -p volume_lib --all-targets --locked -- -D warnings (all pass)
2026-10-14 15:38:42 +02:00
Dandaedre 123a67732f refactor(M0.3): establish domain crate boundary
Add dependency-free fader-core and inward-only fader-config crates, wire existing adapters and clients toward the domain layer, and remove scaffold arithmetic tests.

Tests: cargo test -p fader-core -p fader-config --all-targets --locked (passed without device/runtime dependencies)

Tests: cargo check --workspace --all-targets --all-features --locked; cargo tree --workspace --locked --edges normal; git diff --check (passed)
2026-10-05 07:52:33 +02:00
Dandaedre 7edc640adc Adds workspaces and basic example 2025-03-24 23:48:09 +01:00