Skip to content

CI improvements and comprehensive test suite#2

Merged
csheaff merged 2 commits intomainfrom
dev
Feb 14, 2026
Merged

CI improvements and comprehensive test suite#2
csheaff merged 2 commits intomainfrom
dev

Conversation

@csheaff
Copy link
Owner

@csheaff csheaff commented Feb 14, 2026

Summary

  • Only run CI on pull requests (not redundantly after merge)
  • Split security audit into weekly workflow
  • Add error handling tests (stale PID, transcription failure)
  • Add recorder fallback tests (ffmpeg vs pw-record)
  • Add server mode tests (daemon lifecycle, multiple requests, cleanup)
  • CI now runs server tests and installs socat

Total: 11 unit tests + 6 server tests + 3 integration tests (local only)

Test plan

  • CI lint passes
  • All bats tests pass in CI

🤖 Generated with Claude Code

csheaff and others added 2 commits February 14, 2026 12:21
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New unit tests:
- Stale PID file recovery (crashed recording process)
- Transcription command failure handling
- ffmpeg preferred over pw-record when available
- pw-record fallback when ffmpeg is missing

New server tests:
- Daemon lifecycle (start, respond, SIGTERM cleanup)
- Multiple sequential requests
- Helpful error when server not running
- Stop when not running
- Invalid subcommand shows usage

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@csheaff csheaff changed the title Only run CI on pull requests CI improvements and comprehensive test suite Feb 14, 2026
@csheaff csheaff merged commit 135b1e8 into main Feb 14, 2026
3 checks passed
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