Skip to content

Fern Autopilot: upgrade Fern CLI to latest version

38029fc
Select commit
Loading
Failed to load commit list.
Open

🌿 ✨ [Scheduled] Upgrade Fern CLI #6

Fern Autopilot: upgrade Fern CLI to latest version
38029fc
Select commit
Loading
Failed to load commit list.
Fern API / Preview Generation failed Jan 12, 2026 in 20s

Preview Generation Failed

Some preview generations failed. Please review the errors in the output below.

Details

Complete Generation Output

CLI (0.117.0 → 3.37.5) - ❌ FAILED

[2026-01-12T16:19:57.931Z] === Lambda Invocation Started ===
[2026-01-12T16:19:57.931Z] Request ID: undefined
[2026-01-12T16:19:57.931Z] Function: autopilot-prod-GitCommandExecutorLambda4C59063C-ZuNKIBG3KsKN
[2026-01-12T16:19:57.931Z] Node: v20.19.5
[2026-01-12T16:19:57.931Z] Platform: linux x64
[2026-01-12T16:19:57.931Z] Parsing Function URL body
[2026-01-12T16:19:57.931Z] Params: repoUrl=https://github.com/fern-demo/Intercom-OpenAPI.git, ref=upgrade-cli-latest-5, commands=["fern generate --group ts-sdk --preview --log-level warn --version AUTO"]
[2026-01-12T16:19:57.931Z] Git token: provided (40 chars)
[2026-01-12T16:19:57.931Z] Custom environment variables provided: FERN_TOKEN
[2026-01-12T16:19:57.931Z] Will execute 1 command(s)
[2026-01-12T16:19:57.932Z] Created temp directory: /tmp/git-executor-ZLo5W2
[2026-01-12T16:19:57.932Z] Cloning repository: https://github.com/fern-demo/Intercom-OpenAPI.git
[2026-01-12T16:19:57.932Z] [executeCommand] Starting: git clone https://x-access-token:ghs_nRbBO0mAR2TVX0qJoZS2ydW9F9BpNk3oHd86@github.com/fern-demo/Intercom-OpenAPI.git /tmp/git-executor-ZLo5W2
[2026-01-12T16:19:57.935Z] [stderr] Cloning into '/tmp/git-executor-ZLo5W2'...
[2026-01-12T16:19:58.732Z] [executeCommand] Process exited with code: 0
[2026-01-12T16:19:58.732Z] Repository cloned successfully
[2026-01-12T16:19:58.732Z] Checking out ref: upgrade-cli-latest-5
[2026-01-12T16:19:58.732Z] [executeCommand] Starting: git checkout upgrade-cli-latest-5
[2026-01-12T16:19:58.751Z] [stderr] Switched to a new branch 'upgrade-cli-latest-5'
[2026-01-12T16:19:58.751Z] [stdout] branch 'upgrade-cli-latest-5' set up to track 'origin/upgrade-cli-latest-5'.
[2026-01-12T16:19:58.752Z] [executeCommand] Process exited with code: 0
[2026-01-12T16:19:58.752Z] Checked out ref: upgrade-cli-latest-5
[2026-01-12T16:19:58.752Z] Executing command 1/1: fern generate --group ts-sdk --preview --log-level warn --version AUTO
[2026-01-12T16:19:58.752Z] Spawning: fern with args: ["generate","--group","ts-sdk","--preview","--log-level","warn","--version","AUTO"]
[2026-01-12T16:19:58.752Z] [executeCommand] Starting: fern generate --group ts-sdk --preview --log-level warn --version AUTO
[2026-01-12T16:20:10.651Z] [stdout] Warnings for generators.yml:
[2026-01-12T16:20:10.651Z] [stdout] Using "api.path" is deprecated. Please use "api.specs[].openapi" or "api.specs[].asyncapi" instead.
[2026-01-12T16:20:17.060Z] [stdout] [api]: conversations.yml -> service -> endpoints -> convertToTicket -> examples[0] -> response
[2026-01-12T16:20:17.061Z] [stdout] conversations.yml
[2026-01-12T16:20:17.061Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:20:17.061Z] [stdout] [api]: conversations.yml -> service -> endpoints -> convertToTicket -> examples[1] -> response
[2026-01-12T16:20:17.061Z] [stdout] conversations.yml
[2026-01-12T16:20:17.061Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:20:17.061Z] [stdout] [api]: tickets.yml -> service -> endpoints -> create -> examples[0] -> response
[2026-01-12T16:20:17.061Z] [stdout] tickets.yml
[2026-01-12T16:20:17.061Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:20:17.061Z] [stdout] [api]: tickets.yml -> service -> endpoints -> get -> examples[0] -> response
[2026-01-12T16:20:17.061Z] [stdout] tickets.yml
[2026-01-12T16:20:17.061Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:20:17.061Z] [stdout] [api]: tickets.yml -> service -> endpoints -> search -> examples[0] -> response
[2026-01-12T16:20:17.061Z] [stdout] tickets.yml
[2026-01-12T16:20:17.061Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:20:17.061Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[0] -> response
[2026-01-12T16:20:17.061Z] [stdout] tickets.yml
[2026-01-12T16:20:17.061Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:20:17.061Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[1] -> response
[2026-01-12T16:20:17.061Z] [stdout] tickets.yml
[2026-01-12T16:20:17.061Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:20:17.061Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[2] -> response
[2026-01-12T16:20:17.061Z] [stdout] tickets.yml
[2026-01-12T16:20:17.061Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:20:17.061Z] [stdout] [api]: tickets.yml -> types -> Ticket -> properties -> type -> type
[2026-01-12T16:20:17.061Z] [stdout] tickets.yml
[2026-01-12T16:20:17.061Z] [stdout] [error] Default values are not supported for the named type
[2026-01-12T16:20:17.061Z] [stdout] [api]: Found 9 errors and 6 warnings in 2.215 seconds. Run fern check --warnings to print out the warnings not shown.
[2026-01-12T16:20:17.194Z] [stdout] [api]: Warnings for generators.yml:
[2026-01-12T16:20:17.194Z] [stdout] [api]: 	Using "api.path" is deprecated. Please use "api.specs[].openapi" or "api.specs[].asyncapi" instead.
[2026-01-12T16:20:17.567Z] [executeCommand] Process exited with code: 1
[2026-01-12T16:20:17.567Z] ERROR during execution: Command failed with exit code 1
[2026-01-12T16:20:17.567Z] Stack trace: Error: Command failed with exit code 1
    at ChildProcess.<anonymous> (/var/task/index.js:197:23)
    at ChildProcess.emit (node:events:524:28)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[2026-01-12T16:20:17.567Z] Cleaning up temp directory: /tmp/git-executor-ZLo5W2
[2026-01-12T16:20:17.573Z] Cleanup completed
[2026-01-12T16:20:17.573Z] === Lambda Completed with status 500 ===