Skip to content

chore(stainless): add stlc workspace for the Kotlin SDK - #1130

Open
pengying wants to merge 4 commits into
mainfrom
peng/stlc-kotlin-workspace-v2
Open

pengying wants to merge 4 commits into
mainfrom
peng/stlc-kotlin-workspace-v2

Conversation

@pengying

@pengying pengying commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

What this does

Adds the stlc workspace that builds lightsparkdev/grid-kotlin-sdk locally with stlc build. stlc replaces the Stainless app for this SDK. It keeps hand-written SDK code, CurrencyUtils and WebhookUtils, across regenerations.

The workspace has no config of its own. workspace.json points at openapi.yaml and .stainless/stainless.yml, so the Stainless config stays in one file.

Changes

  • stainless/workspace.json points stlc at the bundled spec and the existing config.
  • stainless/custom-code/kotlin/ holds the tracking file that records the hand-written helpers. It's anchored to grid-kotlin-sdk#28, which was rebase-merged as 4b3829fa.
  • stainless/README.md documents the build, which merge method to use for SDK pull requests, and how to update the tracking file after a merge commit or a rebase merge. The SDK repo's ruleset requires linear history, so merge commits are blocked there for now.
  • stainless/.gitignore excludes the cloned SDK repo and build manifests.

Tests

🤖 Generated with Claude Code

@vercel

vercel Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated
grid-cards-demo Ignored Ignored Preview Oct 7, 2026 5:40pm UTC
grid-flow-builder Ignored Ignored Preview Oct 7, 2026 5:40pm UTC
grid-wallet-demo Ignored Ignored Preview Oct 7, 2026 5:40pm UTC

Request Review

pengying commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor Author

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

@pengying
pengying force-pushed the peng/stlc-kotlin-workspace-v2 branch 4 times, most recently from 50cab89 to 941b371 Compare October 7, 2026 02:04
@pengying
pengying marked this pull request as ready for review October 13, 2026 22:40
@greptile-apps

greptile-apps Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable issues were found.

Summary

Adds a local stlc workspace for the Kotlin SDK.

  • The Kotlin SDK builds locally from the repository’s API files.

No actionable issues were found.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  Spec["openapi.yaml"] --> Build["stlc build"]
  Config[".stainless/stainless.yml"] --> Build
  Workspace["stainless/workspace.json"] --> Build
  Tracking["custom-code/kotlin tracking file"] --> Build
  Build --> SDK["stainless/sdks/grid-kotlin-sdk"]
Loading

Reviews (1) · Last reviewed commit: "docs(stainless): document rebase merges ..." · Reviewed by Greptile

shreyav
shreyav previously approved these changes Oct 13, 2026
pengying and others added 3 commits October 13, 2026 16:01
Adds the stlc workspace that builds lightsparkdev/grid-kotlin-sdk
locally. It reuses the bundled openapi.yaml and .stainless/stainless.yml
instead of copying them, so there is one Stainless config.

The custom-code tracking file records CurrencyUtils and WebhookUtils so
every build reapplies them. It's anchored to the SDK's 1.10.0 build.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Point the main custom-code tracking file at grid-kotlin-sdk#28, which was
rebase-merged as 4b3829fa. The base is that commit's
Stainless-Generated-From trailer. A build of main from this file
reproduces 4b3829fa with no changes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The SDK repo's ruleset requires linear history, which blocks merge
commits. Describe rebase merging and how to re-anchor the main tracking
file afterwards from the merged commit's Stainless-Generated-From
trailer.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@pengying
pengying changed the base branch from peng/stainless-fix-union-variants to graphite-base/1130 October 13, 2026 23:01
@pengying
pengying force-pushed the peng/stlc-kotlin-workspace-v2 branch from 22f9c17 to be04a75 Compare October 13, 2026 23:01
@vercel

vercel Bot commented Oct 13, 2026

Copy link
Copy Markdown

Deployment failed for project grid-cards-demo with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: grid-cards-demo.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@pengying
pengying changed the base branch from graphite-base/1130 to main October 13, 2026 23:01
@pengying
pengying dismissed shreyav’s stale review October 13, 2026 23:01

The base branch was changed.

@vercel

vercel Bot commented Oct 13, 2026

Copy link
Copy Markdown

Deployment failed for project grid-wallet-demo with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: grid-wallet-demo.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@vercel

vercel Bot commented Oct 13, 2026

Copy link
Copy Markdown

Deployment failed for project grid-flow-builder with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: grid-flow-builder.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

This branch has not been deployed

No deployments
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