Compare commits

..
Author SHA1 Message Date
Andrew BeveridgeandClaude Opus 4.5 134aeb6990 fix: Add dry_run parameter to GCEEncodingBackend
The get_encoding_backend() function passes **kwargs to all backend
constructors. LocalEncodingBackend accepts dry_run but GCEEncodingBackend
didn't, causing "unexpected keyword argument 'dry_run'" error.

Added dry_run parameter to GCEEncodingBackend.__init__() for interface
consistency. The parameter is stored but not used since GCE is a remote
service that doesn't support dry run mode.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 11:41:08 -05:00
Andrew Beveridge 748a9d45a7 Merge branch 'main' of github.com:nomadkaraoke/karaoke-gen 2026-01-04 11:40:54 -05:00
Andrew Beveridge ☄️andClaude Opus 4.5 1b0521cb83 docs: Add video worker orchestrator documentation (#183)
## Summary
- Add entry to README.md Recent Changes section for orchestrator
refactor
- Add Video Worker Orchestrator section to ARCHITECTURE.md with diagram
- Add "Alternative Code Paths Must Implement All Features" lesson to
LESSONS-LEARNED.md
- Create archive entry documenting the refactor

## Changes
- `docs/README.md` - Added recent change entry
- `docs/ARCHITECTURE.md` - Added orchestrator section with stage diagram
- `docs/LESSONS-LEARNED.md` - Added lesson about code path divergence
- `docs/archive/2026-01-04-video-worker-orchestrator-refactor.md` - Full
documentation

## Context
Documentation for PR #182 which unified the video worker pipeline.

@coderabbitai ignore

---
🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 11:07:16 -05:00
+3
View File
@@ -266,14 +266,17 @@ class GCEEncodingBackend(EncodingBackend):
def __init__(
self,
dry_run: bool = False,
logger: Optional[logging.Logger] = None,
):
"""
Initialize the GCE encoding backend.
Args:
dry_run: Ignored for GCE backend (remote service doesn't support dry run)
logger: Optional logger instance
"""
self.dry_run = dry_run # Stored but not used (GCE is remote)
self.logger = logger or logging.getLogger(__name__)
self._service = None