Skip to content

feat(engine): add correct mapping types for Page and Slice #10996

feat(engine): add correct mapping types for Page and Slice

feat(engine): add correct mapping types for Page and Slice #10996

Triggered via pull request September 16, 2025 13:24
@cromotecacromoteca
synchronize #3981
Status Failure
Total duration 10m 18s
Artifacts 8

validation.yml

on: pull_request_target
Build Java and TypeScript for other tasks
2m 27s
Build Java and TypeScript for other tasks
Matrix: Gradle tests
Matrix: ITs
Tests Summary
6s
Tests Summary
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 1 notice
ITs (ubuntu-latest, some)
Cannot find module 'Frontend/generated/com/vaadin/hilla/mappedtypes/Pageable' or its corresponding type declarations.
ITs (ubuntu-latest, some)
Argument of type 'typeof import("/home/runner/work/hilla/hilla/packages/java/tests/spring/react-grid-test/src/main/frontend/generated/PersonService")' is not assignable to parameter of type 'ListAndMaybeCountService<Person>'.
ITs (ubuntu-latest, some)
Argument of type 'import("/home/runner/work/hilla/hilla/packages/ts/react-crud/types/com/vaadin/hilla/mappedtypes/Pageable").default' is not assignable to parameter of type 'import("/home/runner/work/hilla/hilla/packages/ts/frontend/page").Pageable'.
ITs (ubuntu-latest, some)
Argument of type '(pageable: Pageable, filterString: string, init?: EndpointRequestInit | undefined) => Promise<Person[]>' is not assignable to parameter of type 'ComboBoxFetchMethod<Person>'.
ITs (ubuntu-latest, some)
Argument of type '(pageable: Pageable, filterString: string, init?: EndpointRequestInit | undefined) => Promise<Person[]>' is not assignable to parameter of type 'ComboBoxFetchMethod<Person>'.
ITs (ubuntu-latest, some)
Type 'typeof import("/home/runner/work/hilla/hilla/packages/java/tests/spring/react-grid-test/src/main/frontend/generated/PersonService")' is not assignable to type 'CrudService<Person>'.
ITs (ubuntu-latest, some)
Module '"@vaadin/hilla-frontend"' has no exported member 'PageModel'.
ITs (ubuntu-latest, some)
Module '"@vaadin/hilla-frontend"' has no exported member 'PageableModel'.
ITs (ubuntu-latest, some)
Module '"@vaadin/hilla-frontend"' has no exported member 'PageModel'.
ITs (ubuntu-latest, some)
Module '"@vaadin/hilla-frontend"' has no exported member 'PageableModel'.
Gradle tests (ubuntu-latest)
Process completed with exit code 1.
ITs (ubuntu-latest, group-1)
Process completed with exit code 1.
ITs (ubuntu-latest, group-1)
Module '"@vaadin/hilla-frontend"' has no exported member 'PageModel'.
ITs (ubuntu-latest, group-1)
Module '"@vaadin/hilla-frontend"' has no exported member 'PageableModel'.
ITs (ubuntu-latest, group-1)
Module '"@vaadin/hilla-frontend"' has no exported member 'PageModel'.
ITs (ubuntu-latest, group-1)
Module '"@vaadin/hilla-frontend"' has no exported member 'PageableModel'.
ITs (ubuntu-latest, group-1)
Module '"@vaadin/hilla-frontend"' has no exported member 'PageModel'.
ITs (ubuntu-latest, group-1)
Module '"@vaadin/hilla-frontend"' has no exported member 'PageableModel'.
ITs (ubuntu-latest, group-1)
Module '"@vaadin/hilla-frontend"' has no exported member 'PageModel'.
ITs (ubuntu-latest, group-1)
Module '"@vaadin/hilla-frontend"' has no exported member 'PageableModel'.
React 18 Tests
Type 'typeof import("/home/runner/work/hilla/hilla/packages/java/tests/spring/react-grid-test/src/main/frontend/generated/PersonService")' is not assignable to type 'ListService<Person>'.
React 18 Tests
Type 'typeof import("/home/runner/work/hilla/hilla/packages/java/tests/spring/react-grid-test/src/main/frontend/generated/PersonService")' is not assignable to type 'ListService<Person>'.
React 18 Tests
Type 'typeof import("/home/runner/work/hilla/hilla/packages/java/tests/spring/react-grid-test/src/main/frontend/generated/PersonListOnlyService")' is not assignable to type 'ListService<Person>'.
React 18 Tests
Type 'typeof import("/home/runner/work/hilla/hilla/packages/java/tests/spring/react-grid-test/src/main/frontend/generated/EmployeeService")' is not assignable to type 'ListService<Employee>'.
React 18 Tests
Cannot find module 'Frontend/generated/com/vaadin/hilla/mappedtypes/Pageable' or its corresponding type declarations.
React 18 Tests
Argument of type 'typeof import("/home/runner/work/hilla/hilla/packages/java/tests/spring/react-grid-test/src/main/frontend/generated/PersonService")' is not assignable to parameter of type 'ListAndMaybeCountService<Person>'.
React 18 Tests
Argument of type 'import("/home/runner/work/hilla/hilla/packages/ts/react-crud/types/com/vaadin/hilla/mappedtypes/Pageable").default' is not assignable to parameter of type 'import("/home/runner/work/hilla/hilla/packages/ts/frontend/page").Pageable'.
React 18 Tests
Argument of type '(pageable: Pageable, filterString: string, init?: EndpointRequestInit | undefined) => Promise<Person[]>' is not assignable to parameter of type 'ComboBoxFetchMethod<Person>'.
React 18 Tests
Argument of type '(pageable: Pageable, filterString: string, init?: EndpointRequestInit | undefined) => Promise<Person[]>' is not assignable to parameter of type 'ComboBoxFetchMethod<Person>'.
React 18 Tests
Type 'typeof import("/home/runner/work/hilla/hilla/packages/java/tests/spring/react-grid-test/src/main/frontend/generated/PersonService")' is not assignable to type 'CrudService<Person>'.
Gradle tests (windows-latest)
Process completed with exit code 1.
Tests Summary
Process completed with exit code 1.
Gradle tests (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677

Artifacts

Produced during runtime
Name Size Digest
saved-outputs
221 KB
sha256:f41f5b5e4571adf90893f84620279ad67ab2f72b5648b63fb8c2d19778e2f8e4
saved-outputs-gradle-ubuntu-latest
101 KB
sha256:f5c6845cbbaa69951eec31e25ed3f63466fc6a0080c4f0069c2c77204787807a
saved-outputs-gradle-windows-latest
140 KB
sha256:d9ef19efbf3eb495ec83cab3b28b144a4e80fadd52b5a4bf07752ba00e7ea1bd
saved-outputs-it--
43.7 KB
sha256:6e73ba2c361c8d2f8774d186167f71a10c64e89e708b46954e5d8e2d3fedfdc2
saved-outputs-it-ubuntu-latest-group-1
63.3 KB
sha256:54789df80bd067dc46824dcc427ecc716b1540886a535fd8de4bfb414f0823f9
saved-outputs-it-ubuntu-latest-group-2
33.4 KB
sha256:8445a0574ec31663b51ff9781d382f4fa209692dd2048e0df3d5885ead7dd7a7
saved-outputs-it-ubuntu-latest-some
37.2 KB
sha256:cbfb01a68a9cbde83029a1773a56062967119c2703990ec2b5799bef273493f7
saved-workspace Expired
2.1 MB
sha256:0c39d2f0a2c5981ed2b0b6ea3c5bec9e4190814a2d37d8a782f9eea575483cfe