Skip to content

ci: restrict leftover speech-spike.yml to workflow_dispatch (#860) - #861

Merged
currentbits merged 1 commit into
mainfrom
coder/restrict-speech-spike-860
Sep 3, 2026
Merged

currentbits merged 1 commit into
mainfrom
coder/restrict-speech-spike-860

Conversation

@currentbits

Copy link
Copy Markdown
Owner

Leftover throwaway CI from the native Linux/Windows live STT spike (#845). Not product code.

coder/fork-execute-this-live-speech-to-text-de-3b4108 still has .github/workflows/speech-spike.yml with on: push and on: pull_request. Merging that as-is would download the ~700 MB Nemotron GGUF on every main commit.

This PR

  • Restrict speech-spike.yml to workflow_dispatch only.
  • Land leftover spike runner: spike/speech/run-ci.mjs, 16 kHz fixture, live-client --hard-timeout-ms (300 s CPU RTF gate), recorded ubuntu/windows result JSON.
  • Lock test: electron/test/speech-spike-workflow.test.js fails if push / pull_request return.

Not this PR

  • No path-filtered push. Landing spike/speech/** would still fire the 700 MB job on merge.
  • Do not merge coder/fork-execute-this-live-speech-to-text-de-3b4108 or reopen #851.
  • Docs PASS write-up stays on #852.
  • No sidecar, AudioWorklet, Composer mic, or product speech PRs.

Closes #860

Throwaway native Linux/Windows live STT gates from the #845 spike.
The GGUF is ~700 MB; push/pull_request would fetch it on every main
commit. Path-filtered push still fires on the merge that lands
spike/speech/**.

Not product code. Docs PASS write-up stays on #852.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-03T12:18:09.090350Z ec4669d PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread spike/speech/run-ci.mjs
...extraArgs,
];
console.log("=== live-client ===", extraArgs.join(" "));
const r = spawnSync(process.execPath, args, {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

Comment on lines 138 to 140
setTimeout(() => {
if (!settled) finish(new Error(`timeout after ${hardTimeoutMs}ms`));
}, hardTimeoutMs);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@currentbits

Copy link
Copy Markdown
Owner Author

Merging despite red test jobs: the same ubuntu/macos failures are already on main (run 33741893204 after #850); smoke passed; lock test speech-spike-workflow.test.js passes locally. Follow-up leftover remote deletion is #867.

@currentbits
currentbits merged commit 66eda4d into main Sep 3, 2026
3 of 6 checks passed
@currentbits
currentbits deleted the coder/restrict-speech-spike-860 branch September 3, 2026 13:19
currentbits added a commit that referenced this pull request Sep 3, 2026
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restrict leftover speech-spike.yml to workflow_dispatch before landing (#845)

1 participant