Repository navigation
fix(release): refuse 1.0.0 while a gate has only half a Pass - #341
Merged
Merged
Conversation
CI-28 read a verdict's first word, so G6's "Pass (M-series half)" counted as Pass although its 4-core x64 half was never measured. Only a plain Pass counts now; a qualified one is listed as a problem.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 44 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
GeiserX
added a commit
that referenced
this pull request
Oct 7, 2026
…r its speaker past 1.5 s (#350) ## Problem G6 read "Pass (M-series half)" in docs/gates/M0-results.md. That run used Parakeet int8, the criterion in docs/ROADMAP.md names fp32, and the 4-core x64 half was never measured. Since #341, CI-28 no longer counts a qualified Pass, so G6 needed a real verdict. ## What ran Both halves, on fp32, `modified_beam_search` and the 12-word decode list, at `36a2237d` with Bun 1.4.2: - M-series: a Mac mini M4, quiet (load average about 2 on 10 cores). - 4-core x64: a Windows 11 x64 desktop (Core i9-12900) pinned to four performance cores, one thread each (affinity `0x55`, inherited by Bun, `akou-capture` and `akou-diarize`), as in docs/gates/asr-12-windows.md. The release ships no Windows helpers, so both were built there. The first run's audio was not kept. `scripts/gates/g6-clips.sh` now synthesizes the 24 sentences in `scripts/gates/g6-sentences.txt` with `say -o` (nothing is played), so the clips can be rebuilt. Each speed run has a positive control: 1 thread must read slower than 2, and it did on both machines. ## Result: Partial | | Mac mini M4 | Four x64 cores | Target | |---|---|---|---| | Real-time factor, both channels | 0.107 (repeat 0.107) | 0.250 (repeat 0.249) | 0.25 / 0.5 | | Committed line, worst, default diarizer | 2.42 s (call), 1.14 s (mic) | 4.55 s (call), 1.75 s (mic) | 1.5 s | | Committed line, worst, `asr.diarizer` `embeddings` | 1.25 s | 1.99 s | 1.5 s | Speed passes on both halves. The committed line misses on the call channel by default, because the live worker holds each call line until the Nemotron diarizer has decided its speaker (`src/main/asr/live-worker.ts`, step 5). Greedy decoding leaves the call channel just as late, and the embeddings diarizer, which holds nothing, brings it level with the mic. So the delay comes from the hold, not the recognizer. On four x64 cores the line misses with either diarizer. The live runs used `asr.live` `parakeet` as G6 states it. The default Nemotron live engine was not measured. Still open: a decision on the latency clause (show a call line before its speaker is known and relabel it later, or say what 1.5 s covers when a stream diarizer is on). Separately, "akou" and "pyannote" were never recognized correctly by this voice in any run. ## Files - `docs/gates/g6-offline-fp32.json`, `g6-live-fp32.json`, `g6-x64.json`: raw output. - `docs/gates/M0-results.md`, `docs/ROADMAP.md`, `docs/TESTING.md`: the G6 row, status line and the TESTING latency row. - `tests/release-evidence.test.ts`: the CI-28 positive control now expects G6 to be Partial. With the old test the run goes red: `Expected to contain: "... G6 is Pass (M-series half), a qualified Pass ..."`. **Checks, run on a Mac mini:** `bun run check:static` (Bun 1.4.2) clean after biome reformatted the two JSON files. `tests/release-evidence.test.ts` and `tests/docs-ids.test.ts`: 13 pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
CI-28 is meant to refuse a stable tag until every M0 gate G1 to G8 has passed. It read only the first word of the verdict, so G6's row,
Pass (M-series half), counted as a Pass. That gate has two targets, an M-series Mac and a 4-core x64 laptop, and only the first was measured (docs/gates/M0-results.md, "Still open. The 4-core x64 laptop half"). The M-series run also used Parakeet int8, while the criterion in docs/ROADMAP.md now names fp32. Today CI-28 would let 1.0.0 through with half a gate.Fix
A verdict counts only when the cell is exactly
Pass. Any other verdict that starts withPassis reported as a qualified Pass. The CI-28 row in docs/CI-CD.md, docs/ROADMAP.md and scripts/release-checklist.md now say the same thing. The positive-control test expects the G6 line too.Evidence
New case in
tests/release-evidence.test.ts, run against the oldgateProblems. It fails:With the fix, using the pinned Bun 1.4.2:
So 0.6.2 still passes. A prerelease never reaches the gate check.
What blocks 1.0.0 today
This is from a throwaway detached worktree of this branch:
bun scripts/stamp-version.ts --set 1.0.0, then--check --tag v1.0.0. The worktree was removed afterwards.The same run on main (36a2237) prints the same list without the G6 line. The terms check passes: the newest row in docs/providers.md is dated 2026-10-03, and there is no earlier stable tag. The CHANGELOG line goes away once the version-bump PR writes the section.