* docs(backend): define background task ownership
* refactor(backend): give background operations single task owners
* test(backend): remove actor migration regression cases
* docs(changelog): drop backend actor migration entry
* refactor(backend): extract workspace task drivers
* fix(timer): omit profile identifier from panic log
* docs(backend): define workspace crate boundaries
* refactor(lightweight): use the task countdown driver
* refactor(lightweight): name countdown callbacks
* refactor(task): simplify driver startup and coalescing requests
* refactor(core): bind service handoff to the sidecar generation
* refactor(tun): coalesce background run state reconciliation
* refactor(core): own sidecar exit resources in one session
* refactor(core): remove automatic Windows service handoff
* refactor(task): simplify coalescing job signals
* refactor(runstate): keep operation status with service state
* refactor(dns): coalesce background override synchronization
* refactor(sysproxy): own the local guard under its operation lock
* fix(tray): read menu settings at publication
* fix(dns): retain script lock across caller cancellation
* refactor(profiles): own selected node restoration in one task
* refactor(timer): own subscription schedules in the scheduler
* test(timer): remove the added application test
* fix(service): renew provider sync retry budget on refresh
* refactor(log): migrate logging to tracing-estuary pipeline
Swap flexi_logger + clash-verge-logger wiring for the tracing-estuary
crate: buffered file sink with explicit panic/exit drains, live level
switching, and tokio-trace/chrome-trace behind crate features.
AsyncLogger moves in-house (VecDeque ring); file format and rotation
stay unchanged.
* fix(log): reset sidecar writer in place and re-pin service-ipc v2.6.7
Rebuilding the sidecar FileLogWriter on config changes leaked flexi's
unstoppable flusher thread plus an fd each time; the writer is now flushed
and reset in place, matching what the service crate does.
get_clash_logs_by_service drops the CompactString conversion layer now that
service-ipc v2.6.7 returns plain Vec<String>, and AsyncLogger is renamed
LogRing to match.
* refactor(log): span-based observability and log noise cleanup
Instrument spans carry the structure flat lines never could: the core-start
spine (mode, readiness/owner generations, pid, config file), proxy apply and
clear routes with guard generations, service IPC sessions with refusal codes
and outcomes, profile-switch terminal outcomes, subscription fetch strategies,
core upgrades with per-proxy version probes, backup flows, timer tasks, config
generation uids, and the startup setup flow; running-mode changes emit one
guarded transition event each.
~90 hand-written noise lines are gone or demoted (entry+success pairs, polled
getter echoes, phase brackets, window sub-steps, platform install chatter);
errors keep their anyhow chain, operation name, and item id, and swallowed
retry results surface per attempt.