Skip to content

fix(cli): openapi display names are fixed and we actually validate th… #6827

fix(cli): openapi display names are fixed and we actually validate th…

fix(cli): openapi display names are fixed and we actually validate th… #6827

Triggered via pull request September 21, 2024 00:02
Status Failure
Total duration 4m 52s
Billable time 13m
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 9 warnings
src/tests/dependencies/dependencies.test.ts > dependencies > correctly incorporates dependencies: packages/cli/ete-tests/src/tests/ir/generateIrAsString.ts#L39
Error: Command failed with exit code 1: node /home/runner/work/fern/fern/packages/cli/cli/dist/dev/cli.cjs ir /home/runner/work/fern/fern/packages/cli/ete-tests/src/tests/dependencies/fixtures/simple/ir.json --api dependent Generating IR for workspace dependent [dependent]: Download @fern/ete-test-dependency Started. [dependent]: Download @fern/ete-test-dependency Downloading manifest... [dependent]: Download @fern/ete-test-dependency Downloading... [dependent]: Download @fern/ete-test-dependency Parsing... [dependent]: Download @fern/ete-test-dependency Failed to load API [dependent]: Download @fern/ete-test-dependency Failed. [dependent]: Failed to load dependency: @fern/ete-test-dependency ❯ makeError ../../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js:60:11 ❯ handlePromise ../../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js:118:26 ❯ Module.generateIrAsString src/tests/ir/generateIrAsString.ts:39:5 ❯ src/tests/dependencies/dependencies.test.ts:10:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node /home/runner/work/fern/fern/packages/cli/cli/dist/dev/cli.cjs ir /home/runner/work/fern/fern/packages/cli/ete-tests/src/tests/dependencies/fixtures/simple/ir.json --api dependent', command: 'node /home/runner/work/fern/fern/packages/cli/cli/dist/dev/cli.cjs ir /home/runner/work/fern/fern/packages/cli/ete-tests/src/tests/dependencies/fixtures/simple/ir.json --api dependent', escapedCommand: 'node "/home/runner/work/fern/fern/packages/cli/cli/dist/dev/cli.cjs" ir "/home/runner/work/fern/fern/packages/cli/ete-tests/src/tests/dependencies/fixtures/simple/ir.json" --api dependent', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: 'Generating IR for workspace dependent\n[dependent]: Download @fern/ete-test-dependency Started.\n[dependent]: Download @fern/ete-test-dependency Downloading manifest...\n[dependent]: Download @fern/ete-test-dependency Downloading...\n[dependent]: Download @fern/ete-test-dependency Parsing...\n[dependent]: Download @fern/ete-test-dependency Failed to load API\n[dependent]: Download @fern/ete-test-dependency Failed.\n[dependent]: Failed to load dependency: @fern/ete-test-dependency', stderr: '', failed: true, timedOut: false, isCanceled: false, killed: false }
src/tests/dependencies/dependencies.test.ts > dependencies > file dependencies: packages/cli/ete-tests/src/tests/ir/generateIrAsString.ts#L39
Error: Command failed with exit code 1: node /home/runner/work/fern/fern/packages/cli/cli/dist/dev/cli.cjs ir /home/runner/work/fern/fern/packages/cli/ete-tests/src/tests/dependencies/fixtures/file-dependencies/ir.json --api api-docs Generating IR for workspace api-docs [api-docs]: Download ../blocks Started. [api-docs]: Download ../blocks Failed to load api definition [api-docs]: Download ../users Started. [api-docs]: Download ../users Failed to load api definition [api-docs]: Download ../blocks Failed. [api-docs]: Download ../users Failed. [api-docs]: Failed to load dependency: blocks [api-docs]: Failed to load dependency: users ❯ makeError ../../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js:60:11 ❯ handlePromise ../../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js:118:26 ❯ Module.generateIrAsString src/tests/ir/generateIrAsString.ts:39:5 ❯ src/tests/dependencies/dependencies.test.ts:18:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node /home/runner/work/fern/fern/packages/cli/cli/dist/dev/cli.cjs ir /home/runner/work/fern/fern/packages/cli/ete-tests/src/tests/dependencies/fixtures/file-dependencies/ir.json --api api-docs', command: 'node /home/runner/work/fern/fern/packages/cli/cli/dist/dev/cli.cjs ir /home/runner/work/fern/fern/packages/cli/ete-tests/src/tests/dependencies/fixtures/file-dependencies/ir.json --api api-docs', escapedCommand: 'node "/home/runner/work/fern/fern/packages/cli/cli/dist/dev/cli.cjs" ir "/home/runner/work/fern/fern/packages/cli/ete-tests/src/tests/dependencies/fixtures/file-dependencies/ir.json" --api api-docs', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: 'Generating IR for workspace api-docs\n[api-docs]: Download ../blocks Started.\n[api-docs]: Download ../blocks Failed to load api definition\n[api-docs]: Download ../users Started.\n[api-docs]: Download ../users Failed to load api definition\n[api-docs]: Download ../blocks Failed.\n[api-docs]: Download ../users Failed.\n[api-docs]: Failed to load dependency: blocks\n[api-docs]: Failed to load dependency: users', stderr: '', failed: true, timedOut: false, isCanceled: false, killed: false }
src/tests/generate/generate-with-settings.test.ts > fern generate with settings > dependencies-based api: packages/cli/ete-tests/src/tests/generate/generate-with-settings.test.ts#L37
Error: Command failed with exit code 1: node /home/runner/work/fern/fern/packages/cli/cli/dist/dev/cli.cjs generate --local --keepDocker --api unioned [unioned]: Download ../spec1 Started. [unioned]: Download ../spec1 Failed to load api definition [unioned]: Download ../spec2 Started. [unioned]: Download ../spec2 Failed to load api definition [unioned]: Download ../spec1 Failed. [unioned]: Download ../spec2 Failed. [unioned]: Failed to load dependency: spec1 [unioned]: Failed to load dependency: spec2 ╭────────────────────────────────────────────────────────────╮ │ │ │ Upgrades available │ │ │ │ │ │ Pydantic Model (Group: python-sdk) 1.0.0-rc0 → 1.4.6 │ │ │ │ Run fern generator upgrade to upgrade your generators. │ │ │ ╰────────────────────────────────────────────────────────────╯ ❯ makeError ../../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js:60:11 ❯ handlePromise ../../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js:118:26 ❯ src/tests/generate/generate-with-settings.test.ts:37:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node /home/runner/work/fern/fern/packages/cli/cli/dist/dev/cli.cjs generate --local --keepDocker --api unioned', command: 'node /home/runner/work/fern/fern/packages/cli/cli/dist/dev/cli.cjs generate --local --keepDocker --api unioned', escapedCommand: 'node "/home/runner/work/fern/fern/packages/cli/cli/dist/dev/cli.cjs" generate --local --keepDocker --api unioned', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '[unioned]: Download ../spec1 Started.\n[unioned]: Download ../spec1 Failed to load api definition\n[unioned]: Download ../spec2 Started.\n[unioned]: Download ../spec2 Failed to load api definition\n[unioned]: Download ../spec1 Failed.\n[unioned]: Download ../spec2 Failed.\n[unioned]: Failed to load dependency: spec1\n[unioned]: Failed to load dependency: spec2\n ╭────────────────────────────────────────────────────────────╮\n │ │\n │ Upgrades available │\n │ │\n │ │\n │ Pydantic Model (Group: python-sdk) 1.0.0-rc0 → 1.4.6 │\n │ │\n │ Run fern generator upgrade to upgrade your generators. │\n │ │\n ╰────────────────────────────────────────────────────────────╯\n', stderr: '', failed: true, timedOut: false, isCanceled: false, killed: false }
ete-tests
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
lint
The process '/usr/bin/git' failed with exit code 128
eslint
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