You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1ee003a
Browse filesBrowse the repository at this point in the historyBrowse files
fix: upgrade Fern CLI to restore SDK preview CI (#1424)
## 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](https://github.com/VapiAI/docs/actions/runs/43621617269)). Fern documents the new version gate in its [CLI changelog](https://buildwithfern.com/learn/cli-api-reference/cli-reference/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
- [x] 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.
- [x] 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.
- [x] 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.
- [x] All three SDK previews pass CI, including TypeScript, Python and Go compilation/type checks ([run](https://github.com/VapiAI/docs/actions/runs/43748735932)).
- [x] Fern validation and docs consent browser checks pass CI ([run](https://github.com/VapiAI/docs/actions/runs/43748736031)).
- [x] `git diff --check`.
- [ ] Hosted docs preview is still building ([run](https://github.com/VapiAI/docs/actions/runs/43748735969)).
if(digest(source)!==CLI_SHA256||source.split(MARKER).length!==2||source.split(MEDIA_MARKER).length!==2)thrownewError('Unexpected Fern CLI contents. Refusing to apply the cache adapter.');
0 commit comments