Skip to content

Adjusted the expiry time for the cache values #42

Adjusted the expiry time for the cache values

Adjusted the expiry time for the cache values #42

Triggered via pull request March 20, 2025 14:25
Status Failure
Total duration 34s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yaml

on: pull_request
Vite Build
29s
Vite Build
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Vite Build
Process completed with exit code 1.
Vite Build: src/tests/services/GetKnowledgeListProvider.test.tsx#L442
AssertionError: expected "spy" to be called with arguments: [ 'allKnowledge', …(2) ] Received: 1st spy call: [ "allKnowledge", [ { "checksum": "abc123", "contentType": "application/pdf", "createdAt": "2024-03-10T12:00:00Z", "id": "550e8400-e29b-41d4-a716-446655440000", "ingestionStatus": "SUCCEEDED", "label": "Produktdokumentation", "lastUpdatedAt": "2024-03-10T12:30:00Z", "permissions": { "admin456": "READWRITE", "owner001": "OWNER", "user123": "READONLY", }, "source": "https://example.com/product-docs.pdf", "tags": [ "API", "User Guide", "Setup", ], "tokenCount": 1500, "type": "FILE", }, { "checksum": "def456", "contentType": "text/html", "createdAt": "2023-12-01T08:15:00Z", "id": "123e4567-e89b-12d3-a456-426614174000", "ingestionStatus": "FAILED", "label": "KI und maschinelles Lernen", "lastUpdatedAt": "2023-12-05T10:00:00Z", "permissions": { "guestUser": "NONE", "researcher001": "READONLY", }, "source": "https://arxiv.org/pdf/1234.56789.pdf", "tags": [ "AI", "Machine Learning", "Deep Learning", ], "tokenCount": 3200, "type": "WEBLINK", }, { "checksum": "ghi787", "contentType": "text/plain", "createdAt": "2024-02-20T15:30:00Z", "id": "98a6b4e2-34f7-4b2c-b2a8-ded3a6e10c3e", "ingestionStatus": "SUCCEEDED", "label": "Sprint-Planning Meeting 2.0", "lastUpdatedAt": "2024-02-25T16:00:00Z", "permissions": { "externalUser": "NONE", "team-lead": "READWRITE", "team-member": "READONLY", }, "source": "internal_system", "tags": [ "Sprint", "Meeting Notes", "Agile", ], "tokenCount": 1000, "type": "FILE", }, ], - 120, + null, ] Number of calls: 1 ❯ src/tests/services/GetKnowledgeListProvider.test.tsx:442:26
Vite Build: src/tests/services/GetKnowledgeListProvider.test.tsx#L317
AssertionError: expected "spy" to be called with arguments: [ 'allKnowledge', …(2) ] Received: 1st spy call: [ "allKnowledge", [ { "checksum": "abc123", "contentType": "application/pdf", "createdAt": "2024-03-10T12:00:00Z", "id": "550e8400-e29b-41d4-a716-446655440000", "ingestionStatus": "SUCCEEDED", "label": "Produktdokumentation", "lastUpdatedAt": "2024-03-10T12:30:00Z", "permissions": { "admin456": "READWRITE", "owner001": "OWNER", "user123": "READONLY", }, "source": "https://example.com/product-docs.pdf", "tags": [ "API", "User Guide", "Setup", ], "tokenCount": 1500, "type": "FILE", }, { "checksum": "def456", "contentType": "text/html", "createdAt": "2023-12-01T08:15:00Z", "id": "123e4567-e89b-12d3-a456-426614174000", "ingestionStatus": "PENDING", "label": "KI und maschinelles Lernen", "lastUpdatedAt": "2023-12-05T10:00:00Z", "permissions": { "guestUser": "NONE", "researcher001": "READONLY", }, "source": "https://arxiv.org/pdf/1234.56789.pdf", "tags": [ "AI", "Machine Learning", "Deep Learning", ], "tokenCount": 3200, "type": "WEBLINK", }, { "checksum": "ghi789", "contentType": "text/plain", "createdAt": "2024-02-20T15:30:00Z", "id": "98a6b4e2-34f7-4b2c-b2a8-ded3a6e10c3e", "ingestionStatus": "SUCCEEDED", "label": "Sprint-Planning Meeting", "lastUpdatedAt": "2024-02-20T16:00:00Z", "permissions": { "externalUser": "NONE", "team-lead": "READWRITE", "team-member": "READONLY", }, "source": "internal_system", "tags": [ "Sprint", "Meeting Notes", "Agile", ], "tokenCount": 800, "type": "FILE", }, { "checksum": "jkl012", "contentType": "text/html", "createdAt": "2022-06-15T09:00:00Z", "id": "c2d4e6a8-bf9c-44dd-a1a0-8fcd2e765432", "ingestionStatus": "SUCCEEDED", "label": "Datenschutz-Grundverordnung (DSGVO)", "lastUpdatedAt": "2023-01-10T12:00:00Z", "permissions": { "govAdmin": "OWNER", "public": "READONLY", }, "source": "https://www.gesetze-im-internet.de", "tags": [ "GDPR", "Privacy", "Compliance", ], "tokenCount": 5000, "type": "WEBLINK", }, { "checksum": "mno345", "contentType": "text/html", "createdAt": "2024-03-01T11:45:00Z", "id": "a1b2c3d4-e5f6-7890-1234-56789abcdef0", "ingestionStatus": "FAILED", "label": "Fehlermeldung 404 beheben", "lastUpdatedAt": "2024-03-02T09:30:00Z", "permissions": { "admin": "OWNER", "blockedUser": "NONE", "customers": "READONLY", "support-team": "READWRITE", }, "source": "https://support.example.com/article/42", "tags": [ "Troubleshooting", "404 Error", "Web Support", ], "tokenCount": 1200, "type": "FILE", }, ], - 120, + null, ] Number of calls: 1 ❯ src/tests/services/GetKnowledgeListProvider.test.tsx:317:26
Vite Build: src/tests/services/GetKnowledgeListProvider.test.tsx#L246
AssertionError: expected "spy" to be called with arguments: [ 'allKnowledge', …(2) ] Received: 1st spy call: [ "allKnowledge", [ { "checksum": "abc123", "contentType": "application/pdf", "createdAt": "2024-03-10T12:00:00Z", "id": "550e8400-e29b-41d4-a716-446655440000", "ingestionStatus": "SUCCEEDED", "label": "Produktdokumentation", "lastUpdatedAt": "2024-03-10T12:30:00Z", "permissions": { "admin456": "READWRITE", "owner001": "OWNER", "user123": "READONLY", }, "source": "https://example.com/product-docs.pdf", "tags": [ "API", "User Guide", "Setup", ], "tokenCount": 1500, "type": "FILE", }, { "checksum": "ghi789", "contentType": "text/plain", "createdAt": "2024-02-20T15:30:00Z", "id": "98a6b4e2-34f7-4b2c-b2a8-ded3a6e10c3e", "ingestionStatus": "SUCCEEDED", "label": "Sprint-Planning Meeting", "lastUpdatedAt": "2024-02-20T16:00:00Z", "permissions": { "externalUser": "NONE", "team-lead": "READWRITE", "team-member": "READONLY", }, "source": "internal_system", "tags": [ "Sprint", "Meeting Notes", "Agile", ], "tokenCount": 800, "type": "FILE", }, ], - 120, + null, ] Number of calls: 1 ❯ src/tests/services/GetKnowledgeListProvider.test.tsx:246:26
Vite Build: src/tests/services/GetKnowledgeListProvider.test.tsx#L159
AssertionError: expected "spy" to be called with arguments: [ 'allKnowledge', …(2) ] Received: 1st spy call: [ "allKnowledge", [ { "checksum": "abc123", "contentType": "application/pdf", "createdAt": "2024-03-10T12:00:00Z", "id": "550e8400-e29b-41d4-a716-446655440000", "ingestionStatus": "SUCCEEDED", "label": "Produktdokumentation", "lastUpdatedAt": "2024-03-10T12:30:00Z", "permissions": { "admin456": "READWRITE", "owner001": "OWNER", "user123": "READONLY", }, "source": "https://example.com/product-docs.pdf", "tags": [ "API", "User Guide", "Setup", ], "tokenCount": 1500, "type": "FILE", }, { "checksum": "def456", "contentType": "text/html", "createdAt": "2023-12-01T08:15:00Z", "id": "123e4567-e89b-12d3-a456-426614174000", "ingestionStatus": "PENDING", "label": "KI und maschinelles Lernen", "lastUpdatedAt": "2023-12-05T10:00:00Z", "permissions": { "guestUser": "NONE", "researcher001": "READONLY", }, "source": "https://arxiv.org/pdf/1234.56789.pdf", "tags": [ "AI", "Machine Learning", "Deep Learning", ], "tokenCount": 3200, "type": "WEBLINK", }, { "checksum": "ghi789", "contentType": "text/plain", "createdAt": "2024-02-20T15:30:00Z", "id": "98a6b4e2-34f7-4b2c-b2a8-ded3a6e10c3e", "ingestionStatus": "SUCCEEDED", "label": "Sprint-Planning Meeting", "lastUpdatedAt": "2024-02-20T16:00:00Z", "permissions": { "externalUser": "NONE", "team-lead": "READWRITE", "team-member": "READONLY", }, "source": "internal_system", "tags": [ "Sprint", "Meeting Notes", "Agile", ], "tokenCount": 800, "type": "FILE", }, ], - 120, ] Number of calls: 1 Ignored nodes: comments, script, style <html> <head /> <body> <div> <div data-testid="test-component" > Test Component </div> </div> </body> </html> ❯ src/tests/services/GetKnowledgeListProvider.test.tsx:159:28 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
Vite Build: src/tests/services/CacheService.test.tsx#L79
AssertionError: expected 'will expire' to be undefined - Expected: undefined + Received: "will expire" ❯ src/tests/services/CacheService.test.tsx:79:51