🌿 ✨ [Scheduled] Upgrade Fern CLI #1
Open
Fern API / Preview Generation
failed
Jan 9, 2026 in 18s
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.3) - ❌ FAILED
[2026-01-09T21:11:18.938Z] === Lambda Invocation Started ===
[2026-01-09T21:11:18.938Z] Request ID: undefined
[2026-01-09T21:11:18.938Z] Function: autopilot-prod-GitCommandExecutorLambda4C59063C-ZuNKIBG3KsKN
[2026-01-09T21:11:18.938Z] Node: v20.19.5
[2026-01-09T21:11:18.938Z] Platform: linux x64
[2026-01-09T21:11:18.938Z] Parsing Function URL body
[2026-01-09T21:11:18.938Z] Params: repoUrl=https://github.com/fern-demo/Intercom-OpenAPI.git, ref=upgrade-cli-latest, commands=["fern generate --group ts-sdk --preview --log-level warn --version AUTO"]
[2026-01-09T21:11:18.938Z] Git token: provided (40 chars)
[2026-01-09T21:11:18.939Z] Custom environment variables provided: FERN_TOKEN
[2026-01-09T21:11:18.939Z] Will execute 1 command(s)
[2026-01-09T21:11:18.939Z] Created temp directory: /tmp/git-executor-cMUAcG
[2026-01-09T21:11:18.939Z] Cloning repository: https://github.com/fern-demo/Intercom-OpenAPI.git
[2026-01-09T21:11:18.939Z] [executeCommand] Starting: git clone https://x-access-token:ghs_gvqYlyWOFUatvDlpFgHKHhEvjwLw5N49pXJg@github.com/fern-demo/Intercom-OpenAPI.git /tmp/git-executor-cMUAcG
[2026-01-09T21:11:18.941Z] [stderr] Cloning into '/tmp/git-executor-cMUAcG'...
[2026-01-09T21:11:19.754Z] [executeCommand] Process exited with code: 0
[2026-01-09T21:11:19.754Z] Repository cloned successfully
[2026-01-09T21:11:19.754Z] Checking out ref: upgrade-cli-latest
[2026-01-09T21:11:19.754Z] [executeCommand] Starting: git checkout upgrade-cli-latest
[2026-01-09T21:11:19.774Z] [stderr] Switched to a new branch 'upgrade-cli-latest'
[2026-01-09T21:11:19.774Z] [stdout] branch 'upgrade-cli-latest' set up to track 'origin/upgrade-cli-latest'.
[2026-01-09T21:11:19.774Z] [executeCommand] Process exited with code: 0
[2026-01-09T21:11:19.774Z] Checked out ref: upgrade-cli-latest
[2026-01-09T21:11:19.774Z] Executing command 1/1: fern generate --group ts-sdk --preview --log-level warn --version AUTO
[2026-01-09T21:11:19.774Z] Spawning: fern with args: ["generate","--group","ts-sdk","--preview","--log-level","warn","--version","AUTO"]
[2026-01-09T21:11:19.774Z] [executeCommand] Starting: fern generate --group ts-sdk --preview --log-level warn --version AUTO
[2026-01-09T21:11:30.961Z] [stdout] Warnings for generators.yml:
[2026-01-09T21:11:30.961Z] [stdout] Using "api.path" is deprecated. Please use "api.specs[].openapi" or "api.specs[].asyncapi" instead.
[2026-01-09T21:11:36.306Z] [stdout] [api]: conversations.yml -> service -> endpoints -> convertToTicket -> examples[0] -> response
[2026-01-09T21:11:36.306Z] [stdout] conversations.yml
[2026-01-09T21:11:36.306Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-09T21:11:36.306Z] [stdout] [api]: conversations.yml -> service -> endpoints -> convertToTicket -> examples[1] -> response
[2026-01-09T21:11:36.306Z] [stdout] conversations.yml
[2026-01-09T21:11:36.306Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-09T21:11:36.306Z] [stdout] [api]: tickets.yml -> service -> endpoints -> create -> examples[0] -> response
[2026-01-09T21:11:36.306Z] [stdout] tickets.yml
[2026-01-09T21:11:36.306Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-09T21:11:36.306Z] [stdout] [api]: tickets.yml -> service -> endpoints -> get -> examples[0] -> response
[2026-01-09T21:11:36.306Z] [stdout] tickets.yml
[2026-01-09T21:11:36.306Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-09T21:11:36.306Z] [stdout] [api]: tickets.yml -> service -> endpoints -> search -> examples[0] -> response
[2026-01-09T21:11:36.306Z] [stdout] tickets.yml
[2026-01-09T21:11:36.306Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-09T21:11:36.306Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[0] -> response
[2026-01-09T21:11:36.307Z] [stdout] tickets.yml
[2026-01-09T21:11:36.307Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-09T21:11:36.307Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[1] -> response
[2026-01-09T21:11:36.307Z] [stdout] tickets.yml
[2026-01-09T21:11:36.307Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-09T21:11:36.307Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[2] -> response
[2026-01-09T21:11:36.307Z] [stdout] tickets.yml
[2026-01-09T21:11:36.307Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-09T21:11:36.307Z] [stdout] [api]: tickets.yml -> types -> Ticket -> properties -> type -> type
[2026-01-09T21:11:36.307Z] [stdout] tickets.yml
[2026-01-09T21:11:36.307Z] [stdout] [error] Default values are not supported for the named type
[2026-01-09T21:11:36.307Z] [stdout] [api]: Found 9 errors and 6 warnings in 1.470 seconds. Run fern check --warnings to print out the warnings not shown.
[2026-01-09T21:11:36.449Z] [stdout] [api]: Warnings for generators.yml:
[2026-01-09T21:11:36.449Z] [stdout] [api]: Using "api.path" is deprecated. Please use "api.specs[].openapi" or "api.specs[].asyncapi" instead.
[2026-01-09T21:11:36.613Z] [executeCommand] Process exited with code: 1
[2026-01-09T21:11:36.613Z] ERROR during execution: Command failed with exit code 1
[2026-01-09T21:11:36.614Z] 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-09T21:11:36.614Z] Cleaning up temp directory: /tmp/git-executor-cMUAcG
[2026-01-09T21:11:36.618Z] Cleanup completed
[2026-01-09T21:11:36.618Z] === Lambda Completed with status 500 ===
Loading