Skip to content

fix: upgrade Fern CLI to restore SDK preview CI - #1424

Merged
chris-garber-vapi merged 1 commit into
mainfrom
codex/fix-fern-ci-version
Nov 16, 2026
Merged

chris-garber-vapi merged 1 commit into
mainfrom
codex/fix-fern-ci-version

Conversation

@chris-garber-vapi

@chris-garber-vapi chris-garber-vapi commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Description

SDK preview jobs install the latest Fern CLI, which now refuses noninteractive handoff to the repository's pinned 5.169.0 because it is older than 5.215.0. Recent runs fail before generating TypeScript, Python or Go previews (failed run). Fern documents the new version gate in its CLI changelog.

  • Upgrade fern/fern.config.json and the docs setup action to Fern 5.216.0.
  • Keep the docs example-cache adapter compatible by updating the reviewed bundle checksum, renamed property-example function and compatibility fixtures. The property/media generator behavior and local reference handling remain compatible with the adapter; existing checksum and unique-marker guards stay enforced.
  • Update the adapter's local verification instructions. SDK generator versions and API definitions are unchanged.

Testing Steps

  • All 32 scripts/fern/*.test.cjs tests pass locally and in CI with the official 5.216.0 bundle installed, including CLI startup, checksum/marker guards and cache invalidation safeguards; zero skips.
  • Official CLI and cold-cache adapter complete check --local --log-level debug: both exit 0 with 0 errors and 14 warnings. Diagnostic logs match after excluding durations, memory use and temporary paths.
  • Warm-cache adapter completes check --local --warnings --log-level debug: exit 0, 0 errors and 14 warnings, with 2,386 cache hits, 0 misses and 0 skipped calls. Cold run had 2,386 misses.
  • All three SDK previews pass CI, including TypeScript, Python and Go compilation/type checks (run).
  • Fern validation and docs consent browser checks pass CI (run).
  • git diff --check.
  • Hosted docs preview is still building (run).

@github-actions

Copy link
Copy Markdown
Contributor

@chris-garber-vapi
chris-garber-vapi merged commit 1ee003a into main Nov 16, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants