ci: Automate versioning with hatch-vcs, add quality gates#1054
Merged
WEIFENG2333 merged 5 commits intomasterfrom Mar 28, 2026
Merged
ci: Automate versioning with hatch-vcs, add quality gates#1054WEIFENG2333 merged 5 commits intomasterfrom
WEIFENG2333 merged 5 commits intomasterfrom
Conversation
When users pass a video file (mp4, mkv, etc.) to `videocaptioner transcribe`, automatically extract audio to a temp wav file using FFmpeg before sending to the ASR engine. Previously this would fail with "Unsupported sound format". This matches the GUI behavior which already does video→audio conversion. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
- Fix clean_error() filtering Python [Errno] messages (too aggressive [prefix filter) - Add file type validation (reject non-media files before trying ffmpeg) - Improve no-audio-track detection (check temp file size instead of generic error) - Suppress internal logger noise in quiet mode (set level to WARNING) - Auto-append format extension when -o has no extension Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Replace hardcoded 50% callback with actual progress calculation based on processed segment count. Progress now monotonically increases to 95% during optimization/translation, then jumps to 100% on completion. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
…tion order - Auto-detect audio input (mp3/wav/etc) and skip synthesis step (was crashing ffmpeg) - Move file existence check before pre-flight validation (was showing misleading error) - Remove false URL support claim from process --help Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
- Version from git tags via hatch-vcs (no more manual version editing) - Publish workflow: tag push triggers lint → typecheck → test → build → PyPI → GitHub Release - Strip dev suffix from VERSION for clean display in GUI/CLI Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
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.
Summary
hatch-vcs— no manual editinggit tag v*push.devsuffix)How to release
git tag v1.5.0 git push --tags # → automatic: lint → typecheck → test → build → PyPI → GitHub Release🤖 Generated with Claude Code