Siavash Sameni
ba12aae439
Mirror to GitHub / mirror (push) Failing after 30s
Build Release Binaries / build-amd64 (push) Failing after 3m48s
refactor: extract shared engine helpers, federation clone-before-send, constants
Engine deduplication (PRD-engine-dedup.md):
- build_call_config(): shared CallConfig construction (was 23 lines × 2)
- codec_to_profile(): shared CodecId → QualityProfile mapping (was 19 lines × 2)
- run_signal_task(): shared signal handler (was 48 lines × 2)
- Net -39 lines from engine.rs, 6 duplicated blocks → single-line calls
Quick wins from REFACTOR-codebase-audit.md:
- 6 magic number constants extracted (CAPTURE_POLL_MS, RECV_TIMEOUT_MS, etc.)
- DRED_POLL_INTERVAL moved from 2 local defs to 1 module-level const
- federation.rs: forward_to_peers, broadcast_signal, send_signal_to_peer
now clone peer list and release lock before sending (was holding Mutex
across async I/O — last lock-during-send pattern eliminated)
- main.rs: close_transport() helper replaces 12 silent .ok() calls with
debug-level logging
314 tests passing, 0 regressions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 15:22:44 +04:00
..
2026-04-06 09:21:35 +00:00
2026-04-10 15:20:21 +04:00
2026-03-28 05:30:11 +04:00
2026-04-13 11:54:37 +04:00
2026-04-10 15:20:21 +04:00
2026-04-12 17:39:59 +04:00
2026-03-28 05:30:11 +04:00
2026-03-28 08:16:57 +04:00
2026-03-27 12:45:07 +04:00
2026-03-28 13:18:50 +04:00
2026-03-29 17:36:55 +04:00
2026-04-13 11:34:01 +04:00
2026-04-12 17:39:59 +04:00
2026-04-13 11:34:01 +04:00
2026-04-08 10:00:21 +04:00
2026-04-13 11:54:37 +04:00
2026-04-13 15:22:44 +04:00
2026-04-07 18:32:24 +04:00
2026-04-12 19:38:37 +04:00
2026-04-13 09:54:52 +04:00
2026-04-13 09:54:52 +04:00
2026-04-13 09:54:52 +04:00
2026-04-13 12:17:57 +04:00
2026-04-07 21:33:05 +04:00
2026-04-07 18:32:24 +04:00
2026-04-13 11:54:37 +04:00
2026-04-13 12:35:59 +04:00
2026-04-13 12:27:26 +04:00
2026-03-28 10:29:17 +04:00
2026-03-28 05:30:11 +04:00
2026-04-10 15:20:21 +04:00
2026-03-30 14:27:52 +04:00
2026-03-28 09:14:25 +04:00