Skip to content

Conversation

@akshaydeo
Copy link
Contributor

@akshaydeo akshaydeo commented Jan 2, 2026

Migrate from Stainless to Fern for SDK generation

This PR replaces the Stainless SDK generation configuration with Fern, changing our SDK generation tooling.

Changes

  • Removed .stainless/stainless.yml configuration file that defined SDK generation settings for multiple languages
  • Removed .stainless/workspace.json that configured output paths for generated SDKs
  • Added fern/fern.config.json with organization name and version
  • Added fern/generators.yml that configures TypeScript SDK generation from our OpenAPI spec

Type of change

  • Bug fix
  • Feature
  • Refactor
  • Documentation
  • Chore/CI

Affected areas

  • Core (Go)
  • Transports (HTTP)
  • Providers/Integrations
  • Plugins
  • UI (Next.js)
  • Docs

How to test

Verify that the SDK generation works with the new Fern configuration:

# Install Fern CLI if needed
npm install -g fern-api

# Generate TypeScript SDK
cd fern
fern generate --group ts-sdk

Breaking changes

  • Yes
  • No

This changes the SDK generation process and may affect SDK consumers. The new TypeScript SDK will be generated in ../sdks/typescript instead of being published to the previous repository.

Security considerations

No security implications as this only affects the build process for SDKs.

Checklist

  • I read docs/contributing/README.md and followed the guidelines
  • I added/updated tests where appropriate
  • I updated documentation where needed
  • I verified builds succeed (Go and UI)
  • I verified the CI pipeline passes locally if applicable

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 2, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Removed internal build and workspace configuration files to streamline development setup.

✏️ Tip: You can customize this high-level summary in your review settings.

Walkthrough

Two Stainless configuration files have been deleted: .stainless/stainless.yml and .stainless/workspace.json, removing project metadata, target configurations, resource definitions, security settings, and workspace environment mappings.

Changes

Cohort / File(s) Summary
Stainless Configuration Removal
​.stainless/stainless.yml, ​.stainless/workspace.json
Deleted configuration files containing complete Stainless project schema (editions, per-language targets, environments, resources, API surface, security, client settings) and workspace mappings (project name, OpenAPI spec path, output destinations).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 The configs take flight, away they go,
Stainless files vanish like winter snow,
Workspace and schema both fade to night,
Simplicity reigns—what a delightful sight! ✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The PR is for SDK generation tooling migration but the linked issue #123 is about Files API support, which are unrelated concerns. The PR addresses SDK generation with Fern, not Files API support. Either correct the linked issue or verify this PR should address Files API requirements.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed Title clearly describes the main change: removing Stainless configuration and migrating to Fern, which matches the file deletions and additions in the changeset.
Description check ✅ Passed Description follows the template with all main sections completed including Summary, Changes, Type of change, How to test, Breaking changes, and Security considerations.
Out of Scope Changes check ✅ Passed All changes are directly related to the SDK generation tooling migration from Stainless to Fern as described in the PR objectives.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f0e42d5 and c5e4dcb.

📒 Files selected for processing (2)
  • .stainless/stainless.yml
  • .stainless/workspace.json

Comment @coderabbitai help to get the list of available commands and usage tips.

@akshaydeo akshaydeo marked this pull request as ready for review January 2, 2026 21:33
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 2, 2026

🧪 Test Suite Available

This PR can be tested by a repository admin.

Run tests for PR #1222

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 002885e and f0e42d5.

📒 Files selected for processing (4)
  • .stainless/stainless.yml
  • .stainless/workspace.json
  • fern/fern.config.json
  • fern/generators.yml
💤 Files with no reviewable changes (2)
  • .stainless/workspace.json
  • .stainless/stainless.yml
🧰 Additional context used
📓 Path-based instructions (1)
**

⚙️ CodeRabbit configuration file

always check the stack if there is one for the current PR. do not give localized reviews for the PR, always see all changes in the light of the whole stack of PRs (if there is a stack, if there is no stack you can continue to make localized suggestions/reviews)

Files:

  • fern/generators.yml
  • fern/fern.config.json
🔇 Additional comments (1)
fern/generators.yml (1)

4-4: ✓ OpenAPI specification file is valid and accessible.

The file at docs/openapi/openapi.json exists and contains valid JSON. No action required.

@akshaydeo akshaydeo force-pushed the 01-03-removes_stainless_-_moving_to_fern branch from f0e42d5 to c5e4dcb Compare January 5, 2026 04:56
Copy link
Contributor Author

akshaydeo commented Jan 5, 2026

Merge activity

  • Jan 5, 4:57 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jan 5, 4:57 AM UTC: @akshaydeo merged this pull request with Graphite.

@akshaydeo akshaydeo merged commit 54265cf into main Jan 5, 2026
8 of 9 checks passed
@akshaydeo akshaydeo deleted the 01-03-removes_stainless_-_moving_to_fern branch January 5, 2026 04:57
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