Skip to content

refactor: move TextExtraction types to @vertesia/common#1135

Open
ebarroca wants to merge 4 commits into
mainfrom
fix-slim-zeno-image
Open

refactor: move TextExtraction types to @vertesia/common#1135
ebarroca wants to merge 4 commits into
mainfrom
fix-slim-zeno-image

Conversation

@ebarroca
Copy link
Copy Markdown
Contributor

@ebarroca ebarroca commented Apr 3, 2026

Summary

  • Move TextExtractionResult, TextExtractionStatus, TranscriptMediaResult from @vertesia/workflow to @vertesia/common
  • Remove re-exports from result-types.ts and barrel files (index.ts, dsl.ts)
  • Update all internal imports in @vertesia/workflow activities and tests to use @vertesia/common

Part of zeno-server Docker image size optimization — removing the @vertesia/workflow dependency from zeno-server eliminates ~100-200MB of native binaries (sharp, tiktoken) from the image.

Test plan

  • turbo build --filter=@vertesia/workflow passes
  • CI build passes

🤖 Generated with Claude Code

…mmon

Move types that zeno-server needs out of @vertesia/workflow so zeno-server
can drop the heavy workflow dependency (sharp, tiktoken) from its Docker image.

Moved types: TextExtractionResult, TextExtractionStatus, TranscriptMediaResult
Removed re-exports from result-types.ts and barrel files.
Updated all internal imports in @vertesia/workflow to use @vertesia/common.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ebarroca ebarroca requested a review from a team as a code owner April 3, 2026 15:33
@ebarroca ebarroca force-pushed the fix-slim-zeno-image branch from 0020d7d to 39b4b10 Compare April 4, 2026 16:48
ebarroca and others added 2 commits April 5, 2026 12:47
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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