perf: wrap data-access-layer getters in react/cache (#118) #513
validate.yaml
on: push
Matrix: Validate
Matrix: Build and deploy / Build and push docker images
Matrix: Build and deploy / Deploy docker images
Annotations
2 errors, 8 warnings, and 2 notices
|
[webkit] › e2e/tests/pages/contact.test.ts:78:3 › contact page › contact form › should send contact form submission via email:
apps/knowledge-base/e2e/tests/pages/contact.test.ts#L101
2) [webkit] › e2e/tests/pages/contact.test.ts:78:3 › contact page › contact form › should send contact form submission via email
Error: expect(locator).toContainText(expected) failed
Locator: getByRole('main').getByRole('status')
Expected substring: "Successfully sent message."
Received string: ""
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for getByRole('main').getByRole('status')
9 × locator resolved to <div role="status" class="sr-only" aria-atomic="true" aria-live="polite">…</div>
- unexpected value ""
99 |
100 | await expect(contactPage.page.getByRole("main").getByRole("alert")).toBeEmpty();
> 101 | await expect(contactPage.page.getByRole("main").getByRole("status")).toContainText(
| ^
102 | i18n.t("actions.sendContactFormEmailAction.success"),
103 | { timeout: statusTimeoutMs },
104 | );
at /home/runner/work/knowledge-base/knowledge-base/apps/knowledge-base/e2e/tests/pages/contact.test.ts:101:73
|
|
[chromium] › e2e/tests/pages/contact.test.ts:78:3 › contact page › contact form › should send contact form submission via email:
apps/knowledge-base/e2e/tests/pages/contact.test.ts#L132
1) [chromium] › e2e/tests/pages/contact.test.ts:78:3 › contact page › contact form › should send contact form submission via email
Error: expect(received).toContain(expected) // indexOf
Expected substring: "The current time is 2026-02-03T12:59:53.498Z."
Received string: "The current time is 2026-02-03T12:59:53.513Z.·
"
130 |
131 | const { Text: text } = await emailService.getMessage(msg.ID);
> 132 | expect(text).toContain(message);
| ^
133 | });
134 |
135 | test("should display error message when sending contact form submission fails", async ({
at /home/runner/work/knowledge-base/knowledge-base/apps/knowledge-base/e2e/tests/pages/contact.test.ts:132:17
|
|
Validate (24.x, ubuntu-24.04)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
Validate (24.x, ubuntu-24.04):
apps/knowledge-base/components/ui/table.tsx#L72
A/an 'object expression' passed as the value prop to the context provider should not be constructed. It will change on every render. Consider wrapping it in a useMemo hook
|
|
Validate (24.x, ubuntu-24.04):
apps/knowledge-base/components/ui/dialog.tsx#L153
Dynamically added 'ResizeObserver.observe' should be cleared all at once using 'ResizeObserver.disconnect' in the cleanup function
|
|
Validate (24.x, ubuntu-24.04):
apps/knowledge-base/components/ui/dialog.tsx#L55
Dynamically added 'ResizeObserver.observe' should be cleared all at once using 'ResizeObserver.disconnect' in the cleanup function
|
|
Validate (24.x, ubuntu-24.04):
apps/knowledge-base/components/ui/breadcrumbs.tsx#L25
A context name must be a valid component name with the suffix 'Context'
|
|
Validate (24.x, ubuntu-24.04):
apps/knowledge-base/components/ui/avatar.tsx#L83
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
|
Validate (24.x, ubuntu-24.04):
apps/knowledge-base/app/(app)/[locale]/(dashboard)/dashboard/website/assets/_components/image-grid.tsx#L21
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
|
Build and deploy / Deploy docker images (api, production, https://dariah-knowledge-base-api.acdh-dev.oeaw.ac.at, 22513) / deploy
Skip setting environment url as environment 'production' may contain secret.
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › e2e/tests/pages/contact.test.ts:78:3 › contact page › contact form › should send contact form submission via email
[webkit] › e2e/tests/pages/contact.test.ts:78:3 › contact page › contact form › should send contact form submission via email
45 skipped
82 passed (1.4m)
|
|
🎭 Playwright Run Summary
45 skipped
84 passed (1.3m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
DARIAH-ERIC~knowledge-base~KFGID5.dockerbuild
Expired
|
64.4 KB |
sha256:8e10746db9a0c87a9b9b665b227bc3ddf74f57e63ed43cb1fd4192de71ef1df1
|
|
|
api-auto-deploy-values-yaml
Expired
|
552 Bytes |
sha256:318fa59bb88c1cf3aa6a230ba408e8c94ab45e2002e465b61a66fc6b8e2daffe
|
|