Files
VoiceStudio/.gitignore
T
Palash DebnathandClaude Opus 5 5f39f9ff84 test: stop streamDropError's tests depending on a live local backend (#1326)
Three tests in `frontend/src/test/streamDropError.test.ts` failed on any machine that happened to be running OmniVoice, and passed in CI.

They exercise the no-crash-marker branch, which since #1242 asks whether the backend is still answering before repeating the caller's "it crashed" guess — and they left that probe unstubbed. `_probeBackendAlive` does a real `fetch` at the configured API origin, so the assertion was really "is anything listening on port 3900 right now": nothing in CI, the developer's own app locally. Same fails-locally/passes-in-CI shape as #1269.

- Every test in that branch now states which answer it wants (DEAD / ALIVE) instead of inheriting one from the environment.
- The previously uncovered side — a live backend, where the #1242 proxy-buffering message replaces the caller's guess — gets a test of its own rather than being asserted by accident on developer machines.
- `backlog/` added to .gitignore: the `backlog` CLI task tracker writes a config plus one markdown file per task into the repo root, and a contributor running it locally had three swept into a PR that was otherwise a single script (#1322).

Frontend suite with the app running locally: 1 file / 3 tests failing → 208 files / 1643 tests passing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-30 05:16:53 -07:00

157 lines
8.1 KiB
Plaintext

# ─────────────────────────────────────────────────────────────────────────
# Python
# ─────────────────────────────────────────────────────────────────────────
__pycache__/
*.pyc
*.pyo
*.so
*.egg
*.egg-info/
.venv/
.pytest_cache/
.mypy_cache/
.ruff_cache/
dist/
build/
# ─────────────────────────────────────────────────────────────────────────
# Node / Turborepo / Tauri
# ─────────────────────────────────────────────────────────────────────────
node_modules/
node_modules
.turbo/
bun.lockb
frontend/src-tauri/target/
# ─────────────────────────────────────────────────────────────────────────
# Secrets & env
# ─────────────────────────────────────────────────────────────────────────
.env
.env.local
.env.*.local
# ─────────────────────────────────────────────────────────────────────────
# OS junk
# ─────────────────────────────────────────────────────────────────────────
.DS_Store
Thumbs.db
# Local agent-memory DB (memxt) — per-machine state, never committed
memxt.db
memxt.db-shm
memxt.db-wal
# ─────────────────────────────────────────────────────────────────────────
# Editor / tool caches
# ─────────────────────────────────────────────────────────────────────────
# Ignore ad-hoc Claude Code state, but allow project-bundled skills
# (CLAUDE.md invites `.claude/skills/<name>/SKILL.md`) and project-bundled
# review agents — the owner's review standards belong with the code they
# govern, not in one machine's local state.
.claude/*
!.claude/skills/
!.claude/skills/**
!.claude/agents/
!.claude/agents/**
/.cache*
/.tmp/
# ─────────────────────────────────────────────────────────────────────────
# Research clones — upstream repos used as reference, not shipped
# ─────────────────────────────────────────────────────────────────────────
research/
# ─────────────────────────────────────────────────────────────────────────
# Runtime data & artifacts
# (app-local state — safe to regenerate)
# ─────────────────────────────────────────────────────────────────────────
omnivoice_data/
/data/
/local/
/results/
/download
/run*
*.db
*.db-shm
*.db-wal
*.log
*.wav
# ─────────────────────────────────────────────────────────────────────────
# Frozen regression fixture (GATE-01) — explicit allow-list.
# The patterns above (omnivoice_data/, *.db, *.wav) would otherwise hide
# tests/fixtures/omnivoice_data/ from git. Phase 0 requires this fixture
# to be checked in (no LFS) so every PR's smoke matrix loads it.
#
# We only un-ignore the EXACT files the seed script produces. The backend
# creates runtime subdirs (dub_jobs/, outputs/, preview/, etc.) when the
# smoke test boots — those stay ignored.
# ─────────────────────────────────────────────────────────────────────────
!tests/fixtures/omnivoice_data/
!tests/fixtures/omnivoice_data/README.md
!tests/fixtures/omnivoice_data/omnivoice.db
!tests/fixtures/omnivoice_data/voices/
!tests/fixtures/omnivoice_data/voices/test-voice/
!tests/fixtures/omnivoice_data/voices/test-voice/profile.json
!tests/fixtures/omnivoice_data/voices/test-voice/sample.wav
# ─────────────────────────────────────────────────────────────────────────
# Bundled demo assets (synthetic, rendered by scripts/build_demos.sh).
# Ship with the installer so first-run users have working demos before any
# model weights download. *.wav above would hide these.
# ─────────────────────────────────────────────────────────────────────────
!backend/assets/samples/**/*.wav
!backend/assets/samples/*.wav
*.jsonl
demo_recording.webp
cloudflared
cloudflared.tgz
# ─────────────────────────────────────────────────────────────────────────
# Reference / experiment scratch
# ─────────────────────────────────────────────────────────────────────────
/exp*/
example.py
examples/data*
examples/download*
examples/exp*/
omnivoice.zip
frontend/src-tauri/binaries/ffmpeg
# cuDNN 8 compat libs (auto-installed by scripts/setup_cudnn.py)
cudnn8_compat/
test-results/
# Research repos (local only)
research/
!.planning/research/
!.planning/research/**
marketing.md
.coverage
/engines/
# ─────────────────────────────────────────────────────────────────────────
# Local planning tooling (Spec Kit / GSD) — not part of OmniVoice.
# NOTE: .claude/skills/omnivoice/ (the MCP skill) IS tracked — only the
# speckit-* helper skills + .specify config are ignored.
# ─────────────────────────────────────────────────────────────────────────
.specify/
.claude/skills/speckit-*/
.antigravitycli/
# `backlog` (the CLI task tracker) writes a config + one markdown file per task
# into the repo root. A contributor running it locally had those three files
# swept into a PR that was otherwise a single script (#1322 / #1306).
backlog/
# Locally-installed third-party skill packs (marketingskills, hallmark,
# mattpocock/skills, …) — ignore every skill dir by default; a skill that
# SHOULD ship with the repo must be re-negated here (like omnivoice below).
.claude/skills/*/
!.claude/skills/omnivoice/
playwright-report/
.last-run.json
# probe — generated HTML reports
tests/probe/reports/