Repository navigation
ci: restrict leftover speech-spike.yml to workflow_dispatch (#860) - #861
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ec4669da98
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ...extraArgs, | ||
| ]; | ||
| console.log("=== live-client ===", extraArgs.join(" ")); | ||
| const r = spawnSync(process.execPath, args, { |
There was a problem hiding this comment.
Sample RSS while the inference clients run
In runLive, spawnSync blocks this process's event loop for both inference runs, so the setInterval RSS sampler cannot execute while the model is processing audio. The committed artifacts showing only 2–3 samples confirm that nearly all measurements occur around startup rather than during the 6-second and 300-second workloads; consequently, the 2.5 GiB peak-RSS gate can pass even if inference exceeds the limit. Launch the client asynchronously or sample memory from a separate process.
Useful? React with 👍 / 👎.
| setTimeout(() => { | ||
| if (!settled) finish(new Error(`timeout after ${hardTimeoutMs}ms`)); | ||
| }, hardTimeoutMs); |
There was a problem hiding this comment.
Clear the hard-timeout timer after completion
On every successful client run, finish() marks the operation settled but leaves this referenced timer pending, so Node remains alive until the hard deadline even though the result has already been written. With the arguments in run-ci.mjs, the realtime child waits for the full 60 seconds and the RTF child for the full 360 seconds, unnecessarily adding roughly seven minutes to each manual workflow run; retain the timer handle and clear it in finish().
Useful? React with 👍 / 👎.
* docs: plan local speech-to-text * feat(speech): add CoderApi speech IPC namespace (#845) Lock status/download/start/write/stop/cancel and desktop-only speech:changed across the six-place IPC declaration. Stub rejects until electron/speech.js. Partials are incremental suffixes (`delta`). * feat(speech): main-process NeMo-Speech.cpp manager (#845) (#863) Add electron/speech.js, wire it through registerIpc/makeCtx, and construct it at boot with teardown plus media-permission gating. Tests inject fetch, spawn, and WebSocket so the 700 MB GGUF is never downloaded. Co-authored-by: Willem <[email protected]> * feat(speech): live dictation in the composer (#845) Mic pill next to attach, user-confirmed ~700 MB download, AudioWorklet 16 kHz PCM16, concatenated deltas, and cancel/restore on Escape, thread switch, archive, and unmount. * feat(speech): package NeMo-Speech.cpp runtime per OS (#845) * docs: record native Linux/Windows live STT CI PASS (#845) Extract the unique feasibility verdict from worktree 3b4108 / #852. Does not take speech-spike.yml (that would undo #861). * fix(codex): first-party MCP tools auto-approve under exec never-policy (#846) Extract unique leftover from worktree b73e11. codex exec pins approval_policy=never and otherwise rejects MCP tools. Same scope as Claude --allowedTools=mcp__<name>__*: only our servers. --------- Co-authored-by: Willem <[email protected]>
Leftover throwaway CI from the native Linux/Windows live STT spike (#845). Not product code.
coder/fork-execute-this-live-speech-to-text-de-3b4108still has.github/workflows/speech-spike.ymlwithon: pushandon: pull_request. Merging that as-is would download the ~700 MB Nemotron GGUF on every main commit.This PR
speech-spike.ymltoworkflow_dispatchonly.spike/speech/run-ci.mjs, 16 kHz fixture,live-client --hard-timeout-ms(300 s CPU RTF gate), recorded ubuntu/windows result JSON.electron/test/speech-spike-workflow.test.jsfails ifpush/pull_requestreturn.Not this PR
push. Landingspike/speech/**would still fire the 700 MB job on merge.coder/fork-execute-this-live-speech-to-text-de-3b4108or reopen #851.Closes #860