fix: resolve CI test failures and Docker build issues

- Fix template service tests to include description field
- Add missing repository methods for metadata queries
- Fix metadata generator test mocking issues
- Add missing runtime dependencies (openai, zod) to package.runtime.json
- Update test expectations for new template format

Fixes CI failures in PR #194

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2025-09-15 01:12:42 +02:00
parent c18c4e7584
commit 0c4a2199f5
4 changed files with 99 additions and 12 deletions

View File

@@ -350,8 +350,8 @@ describe('TemplateService', () => {
expect(result).toEqual({
items: [
{ id: 1, name: 'Template A', views: 200, nodeCount: 2 },
{ id: 2, name: 'Template B', views: 150, nodeCount: 1 }
{ id: 1, name: 'Template A', description: 'Description for template 1', views: 200, nodeCount: 2 },
{ id: 2, name: 'Template B', description: 'Description for template 2', views: 150, nodeCount: 1 }
],
total: 50,
limit: 10,