Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
4f4445e
fix(macos): consume settings deep links reactively
m-szymanska Jul 10, 2026
c5ee47f
fix(stt): populate Apple SpeechAnalyzer segments
m-szymanska Jul 10, 2026
ba36984
fix(macos): surface composer dictation engine errors and leave record…
m-szymanska Jul 10, 2026
63dc786
chore(macos): guard #Preview blocks with #if DEBUG
m-szymanska Jul 10, 2026
d366842
fix(stt): preserve whisper text integrity
m-szymanska Jul 10, 2026
8fdbec1
fix(config): stop runtime env writes from settings paths
m-szymanska Jul 10, 2026
e026dbe
fix(stt): prioritize commit lane under critical thermal
m-szymanska Jul 10, 2026
9bb6338
fix(config): keep env migration retryable on key save failure
m-szymanska Jul 10, 2026
a630af6
fix(bridge): return CsError for account login runtime init
m-szymanska Jul 10, 2026
56d3a9f
fix(bench): default to reproducible repo corpus and stamp fixture_source
m-szymanska Jul 10, 2026
3615c73
chore(vad): remove dead ensure_downloaded_to_user_dir install path
m-szymanska Jul 10, 2026
4282b52
fix(controller): derive stop-timeout warnings from the STOP_TIMEOUT c…
m-szymanska Jul 10, 2026
72da7e7
chore(controller): remove unused VAD trigger accessors
m-szymanska Jul 10, 2026
b96dff5
Merge branch 'fix/backlog-batch-1' into fix/backlog-batch-2
Jul 10, 2026
8ca8242
fix(stt): clamp overlapping apple speech segments
m-szymanska Jul 10, 2026
63b4918
fix(stt): preserve raw whisper text across harmless normalization
m-szymanska Jul 10, 2026
5035f99
fix(macos): avoid redundant settings deeplink notifications
m-szymanska Jul 10, 2026
2393f88
fix(build): avoid empty cargo flag array in app build
m-szymanska Jul 10, 2026
39d864a
Merge branch 'fix/backlog-batch-2' into fix/backlog-batch-3
Jul 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 4 additions & 13 deletions app/controller/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1102,16 +1102,6 @@ impl RecordingController {
self.config.read().await.clone()
}

/// Check if VAD (silence detection) has triggered auto-stop
pub fn is_vad_triggered(&self) -> bool {
self.vad_triggered.load(Ordering::SeqCst)
}

/// Clear the VAD triggered flag
pub fn clear_vad_triggered(&self) {
self.vad_triggered.store(false, Ordering::SeqCst);
}

/// Cancel any pending delayed hold-start task
async fn cancel_pending_hold_start(&self) {
let generation = self.hold_start_generation.fetch_add(1, Ordering::SeqCst) + 1;
Expand Down Expand Up @@ -1599,7 +1589,8 @@ impl RecordingController {
State::Busy => {
warn!(
"Toggle pressed while previous stop is still processing (state=BUSY). \
If recording badge persists, stop watchdog will force recovery within 45s."
If recording badge persists, stop watchdog will force recovery within {}s.",
STOP_TIMEOUT.as_secs()
);
}
_ => {
Expand Down Expand Up @@ -2551,7 +2542,7 @@ impl RecordingController {

async fn stop_toggle_and_adjudicate_inner(&self) -> Result<()> {
// Phase-timed instrumentation: the watchdog above wraps this entire fn
// in a 45s timeout, but until now we couldn't tell WHICH await hung.
// in STOP_TIMEOUT, but until now we couldn't tell WHICH await hung.
// Operator reported "hands-off, double option, który potrafi wywołać
// nagrywanie, ale nie potrafi zakończyć nagrywania" — confirmed in
// ~/.codescribe/logs/codescribe.log @ 2026-05-13 23:03:22 PDT
Expand Down Expand Up @@ -2582,7 +2573,7 @@ impl RecordingController {
// Self-deadlock guard (Rust 2024): the read guard temporary from an
// if-let chain scrutinee outlives the chain body. Inlining the read
// would keep the guard alive across `.write().await`, blocking the
// write on this same task's read guard → 45s hang reproduced in
// write on this same task's read guard → STOP_TIMEOUT hang reproduced in
// ~/.codescribe/logs/codescribe.log 2026-05-14T00:16:23 (PHASE 1
// never reached; watchdog forced recovery). Materialize the snapshot
// first so the read guard drops at the semicolon.
Expand Down
Loading
Loading