Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix: correct the concurrency claim and stop calling every rejection a timeout
EtienneLescot9c116bd665b2
diff --git a/.github/workflows/nix-build.yml b/.github/workflows/nix-build.ymlindex 428e00beb..b8994692f 100644--- a/.github/workflows/nix-build.yml+++ b/.github/workflows/nix-build.yml@@ -48,9 +48,14 @@ concurrency:# evicted the previous run before it finished: the first four runs on main were# cancelled at 21m38s, 25s, 7m05s and then one that only survived because the# merges happened to stop. A cancelled run is not a failure either, so the- # branch showed nothing while the workflow reported nothing. Queueing instead- # costs at most one pending run -- GitHub keeps a single pending entry per group- # and replaces it -- and every merge eventually gets an answer.+ # branch showed nothing while the workflow reported nothing.+ #+ # What this buys is that a started run finishes, not that every merge is+ # verified: GitHub holds a single pending entry per group and a newer push+ # replaces it, so merges landing while a run is in flight still go unbuilt.+ # That is the affordable half. Verifying each merge would need a queue this+ # workflow does not have, and is not worth it for a half-hour job whose purpose+ # is catching drift rather than gating a commit.cancel-in-progress: falsejobs:diff --git a/electron/ipc/handlers.ts b/electron/ipc/handlers.tsindex f8b40c4bd..8596dfafd 100644--- a/electron/ipc/handlers.ts+++ b/electron/ipc/handlers.ts@@ -1734,8 +1734,13 @@ export function registerIpcHandlers();} catch (error) {if (diagnostic) {+ // The reason, not an assumption about it: this catch also sees a+ // getSources that rejected on its own, well inside the deadline, and+ // calling that a timeout would point the next reader at the wrong thing.+ // The deadline error carries its own wording.+ const reason = error instanceof Error ? error.message : String(error);console.info(- `[get-sources] gave up after ${Date.now() - startedAt}ms (types=${(opts?.types ?? []).join(",")})`,+ `[get-sources] failed after ${Date.now() - startedAt}ms (types=${(opts?.types ?? []).join(",")}): ${reason}`,);}throw error;