Skip to content

fix(cli): support piping query parameter validation into fern definition generation & fix file typo. #8588

fix(cli): support piping query parameter validation into fern definition generation & fix file typo.

fix(cli): support piping query parameter validation into fern definition generation & fix file typo. #8588

Triggered via pull request November 13, 2024 22:46
Status Failure
Total duration 8m 8s
Billable time 16m
Artifacts

ci.yml

on: pull_request
node-version-tests
0s
node-version-tests
cloudflare-startup-tests
0s
cloudflare-startup-tests
browser-startup-tests
0s
browser-startup-tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 9 warnings
src/tests/write-definition/writeDefinition.test.ts > validate > petstore: packages/cli/ete-tests/src/tests/write-definition/writeDefinition.test.ts#L44
Error: Snapshot `validate > petstore 1` mismatched - Expected + Received @@ -62,10 +62,12 @@ name: ListPetsRequest query-parameters: limit: docs: How many items to return at one time (max 100) type: optional<integer> + validation: + max: 100 response: docs: A paged array of pets type: root.Pets source: openapi: openapi/openapi.yml ❯ src/tests/write-definition/writeDefinition.test.ts:44:102
src/tests/write-definition/writeDefinition.test.ts > validate namespaced API > namespaced: packages/cli/ete-tests/src/tests/write-definition/writeDefinition.test.ts#L44
Error: Snapshot `validate namespaced API > namespaced 1` mismatched - Expected + Received @@ -95,10 +95,12 @@ name: ListPetsRequest query-parameters: limit: docs: How many items to return at one time (max 100) type: optional<integer> + validation: + max: 100 response: docs: A paged array of pets type: neopetsRoot.Pets source: openapi: openapi/petstore/openapi.yml @@ -1249,16 +1251,20 @@ station's timezone. type: datetime destination: docs: The ID of the destination station type: string + validation: + format: uuid dogs: docs: Only return trips where dogs are known to be allowed type: optional<boolean> origin: docs: The ID of the origin station type: string + validation: + format: uuid response: docs: A list of available train trips type: GetTripsResponse source: openapi: openapi/trains/openapi.yml ❯ src/tests/write-definition/writeDefinition.test.ts:44:102
src/tests/write-definition/writeDefinition.test.ts > validate header overrides > header-overrides: packages/cli/ete-tests/src/tests/write-definition/writeDefinition.test.ts#L44
Error: Snapshot `validate header overrides > header-overrides 1` mismatched - Expected + Received @@ -64,10 +64,12 @@ name: ListPetsRequest query-parameters: limit: docs: How many items to return at one time (max 100) type: optional<integer> + validation: + max: 100 response: docs: A paged array of pets type: root.Pets source: openapi: openapi/openapi.yml ❯ src/tests/write-definition/writeDefinition.test.ts:44:102
ete-tests
Process completed with exit code 1.
test
Process completed with exit code 1.
ts-generator-changes
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ts-generator-changes
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, dorny/paths-filter@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ts-generator-changes
The process '/usr/bin/git' failed with exit code 128
eslint
The process '/usr/bin/git' failed with exit code 128
lint
The process '/usr/bin/git' failed with exit code 128
compile
The process '/usr/bin/git' failed with exit code 128
ete-tests
The process '/usr/bin/git' failed with exit code 128
test
The process '/usr/bin/git' failed with exit code 128
test
Restore cache failed: Dependencies file is not found in /home/runner/work/fern/fern. Supported file pattern: go.sum