Skip to content

fix(eval): stop the nightly fetching AMI audio every night after a Windows cache save - #418

Merged
GeiserX merged 1 commit into
mainfrom
fix/nightly-silence-cache
Oct 18, 2026
Merged

GeiserX merged 1 commit into
mainfrom
fix/nightly-silence-cache

Conversation

@GeiserX

@GeiserX GeiserX commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Last night's nightly went red on macOS and Ubuntu. Neither runner could connect to the AMI mirror at groups.inf.ed.ac.uk for ES2004b.Mix-Headset.wav, and all three retries failed. That fetch should never have happened, because the eval-data cache was a hit.

The cache was saved by the Windows job on 2026-10-12 at 23:51:48Z. Windows skips the Qwen stage each night, so it never fetched ES2004b, which only the Qwen silence set uses. The cache is shared across systems (enableCrossOsArchive), and actions/cache does not save again once its key hits. So macOS and Ubuntu have downloaded that file from Edinburgh every night since. Last night the mirror was down.

The fix: Windows still fetches the silence set's audio when it skips Qwen, so the cache is complete no matter which runner saves it. This edits nightly.ts, which is part of the cache key, so the incomplete cache is retired too.

Closes #417

Summary by CodeRabbit

  • Chores
    • Nightly evaluation runs on Windows without an accelerator now fetch and verify AMI silence audio before marking the Qwen stage as skipped. Windows runs with an accelerator and runs on other platforms continue to execute the Qwen stage as before. This makes the silence-audio verification occur even when the Windows Qwen stage is skipped.

@coderabbitai

coderabbitai Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: GeiserX/akou/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d32668ba-4995-45cd-a220-145f6b883724
📥 Commits

Reviewing files that changed from the base of the PR and between 250e366 and 80185c8.

📒 Files selected for processing: 1
  • scripts/eval/nightly.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

When the nightly Qwen stage is selected on Windows without --accelerator, the script now loads the AMI silence set before recording the existing skip note. Other Qwen execution paths remain unchanged.

Changes: Nightly Qwen handling

Layer / File(s) Summary
Windows skip branch
scripts/eval/nightly.ts
When Windows runs without --accelerator, the branch loads the AMI silence set before recording the existing Qwen skip note.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 80185

The Windows skip path stores the AMI audio for later platform runs to reuse. No actionable merge risk remains.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the evaluation fix and the Windows cache-related AMI audio fetch issue addressed by the pull request.
Linked Issues check Passed Issue #417 reports the failed nightly and provides no additional coding acceptance criteria. The change in scripts/eval/nightly.ts calls silence(dataDir) in the Windows path that skips Qwen. The p…
Out of Scope Changes check Passed The whole-PR diff changes only scripts/eval/nightly.ts. The added fetch and related comment directly support the #417 nightly cache fix. No unrelated behavior or files are changed.
Full details: Linked Issues check

Explanation

Issue #417 reports the failed nightly and provides no additional coding acceptance criteria. The change in scripts/eval/nightly.ts calls silence(dataDir) in the Windows path that skips Qwen. The path now fetches the silence audio before the cache-saving job completes, which addresses the missing-cache cause described for the nightly failure.

  • Fix all pre-merge checks with AI
✨ Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · 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 b431752 into main Oct 18, 2026
29 checks passed
@GeiserX
GeiserX deleted the fix/nightly-silence-cache branch October 18, 2026 16:00
GeiserX added a commit that referenced this pull request Oct 19, 2026
akou kept several GB of memory long after the last dictation or call. #419 fixed that on main. This release ships it to the desktop app, along with the dependency bumps and the nightly fix merged since 1.2.0.

## What 1.2.1 carries

- #419: Qwen's dictation server stops after 10 idle minutes, and the streaming model is no longer reloaded right after an idle release. Together that is about 5 GB back while the app sits idle.
- #418: the nightly stops downloading an AMI meeting from the Edinburgh mirror every night.
- #412, #413, #414, #415, #416: parakeet-rs 0.4.0, wasapi 0.26.0, serde_json 1.0.154, transcribe-cpp 0.4.0, zod 4.6.7, Playwright 1.64, and the upload/download-artifact bumps.

## The release itself

- `bun scripts/stamp-version.ts --set 1.2.1`: 11 places say 1.2.1. The README's DMG name, the docs' image tags and the Mac server clone tag say 1.2.1.
- CHANGELOG.md has the 1.2.1 section.
- docs/providers.md: the vendor terms were read again on 2026-10-18, as CI-28 requires after the 1.2.0 tag of 2026-10-14. No term changed. One Codex documentation change: `--full-auto` is no longer supported. akou never passed it, so nothing changes. No default changes.

## Checks

- `bun scripts/stamp-version.ts --check`: 11 places say 1.2.1.
- `bun test tests/release-evidence.test.ts`: 10 pass. With the new terms row removed, `termsProblems` reports the reading dated 2026-10-13, which is before 1.2.0. With the row back, it reports nothing.
- The 8-hour soak of the release checklist ran on the reference Mac from 18:10Z on 2026-10-18 to 02:10Z on 2026-10-19, at real time, with a burner on every core and this branch's own `akou-capture` 1.2.1 in file mode: 0 holes, heap growth 0.016 MB, RSS growth -5.3 MB, event loop late by at most 135 ms, 0 unreadable log lines, 9 of 9 checks ok. The JSON is committed as docs/gates/soak-1.2.1.json. The helper ran from a copy outside the shared cargo target folder, so no other build on the box could replace it mid-soak.
- After the merge: tag `v1.2.1` on the merge commit, then `release.yml` builds the signed app, the images and the update feed.
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.

nightly is red

1 participant