Skip to content

fix(release): refuse 1.0.0 while a gate has only half a Pass - #341

Merged
GeiserX merged 1 commit into
mainfrom
fix/release-half-pass
Oct 7, 2026
Merged

GeiserX merged 1 commit into
mainfrom
fix/release-half-pass

Conversation

@GeiserX

@GeiserX GeiserX commented Oct 7, 2026

Copy link
Copy Markdown
Owner

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 with Pass is 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 old gateProblems. It fails:

error: expect(received).toEqual(expected)
- [
-   "docs/gates/M0-results.md: G6 is Pass (M-series half), a qualified Pass; only a plain Pass counts",
- ]
+ []
(fail) [CI-28] ... > every gate G1 to G8 needs a row whose verdict is Pass, in the summary table only
 0 pass
 1 fail

With the fix, using the pinned Bun 1.4.2:

$ bun run check:static
Checked 659 files in 1263ms. No fixes applied.
$ bun test tests/release-evidence.test.ts tests/release.test.ts
 50 pass
 0 fail
 254 expect() calls
$ bun scripts/stamp-version.ts --check
stamp-version: 10 places say 0.6.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.

stamp-version: CHANGELOG.md has no "## 1.0.0" section; write it in the version-bump PR
stamp-version: 1.0.0 is a stable release: docs/gates/M0-results.md: G1 has no row in the summary table
stamp-version: 1.0.0 is a stable release: docs/gates/M0-results.md: G2 has no row in the summary table
stamp-version: 1.0.0 is a stable release: docs/gates/M0-results.md: G3 is Partial, not Pass
stamp-version: 1.0.0 is a stable release: docs/gates/M0-results.md: G4 is Partial, not Pass
stamp-version: 1.0.0 is a stable release: docs/gates/M0-results.md: G6 is Pass (M-series half), a qualified Pass; only a plain Pass counts
stamp-version: 1.0.0 is a stable release: docs/gates/M0-results.md: G7 has no row in the summary table
exit=1

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.

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.
@coderabbitai

coderabbitai Bot commented Oct 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: GeiserX/akou/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c0e82062-4291-4559-a7a8-fc8773c8dc69
📥 Commits

Reviewing files that changed from the base of the PR and between 36a2237 and 9738432.

📒 Files selected for processing (5)
  • docs/CI-CD.md
  • docs/ROADMAP.md
  • scripts/release-checklist.md
  • scripts/stamp-version.ts
  • tests/release-evidence.test.ts
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@GeiserX
GeiserX merged commit 1b852fb into main Oct 7, 2026
45 checks passed
@GeiserX
GeiserX deleted the fix/release-half-pass branch October 7, 2026 08:54
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.
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.

1 participant