Skip to content

Revert info.version to 2025-10-13 and document version-bump rule - #679

Merged
shreyav merged 1 commit into
mainfrom
07-10-grid-version-revert-2025-10-13
Jul 10, 2026
Merged

Revert info.version to 2025-10-13 and document version-bump rule#679
shreyav merged 1 commit into
mainfrom
07-10-grid-version-revert-2025-10-13

Conversation

@shreyav

@shreyav shreyav commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Revert the Grid API OpenAPI info.version from 2026-06-29 back to 2025-10-13, the value it held on the initial schema commit. Edited the source openapi/openapi.yaml and rebundled (make build), so the generated openapi.yaml and mintlify/openapi.yaml are updated in lockstep.
  • Add a Critical Rules bullet to CLAUDE.md establishing the versioning convention: bump info.version only when a breaking change ships, at which point it should match a new servers.url path.

Why

The two prior bumps (#617: 2025-10-132026-06-25, and #633: 2026-06-252026-06-29) were both purely additive, non-breaking schema changes. Under the new convention the version should not have moved for those, so it's reset to 2025-10-13 — which matches the current servers.url path https://api.lightspark.com/grid/2025-10-13.

Test plan

  • make lint passes (0 errors).
  • Verified info.version reads 2025-10-13 in all three files (openapi/openapi.yaml, openapi.yaml, mintlify/openapi.yaml).

Requested by @shreyav

Slack thread: https://lightsparkgroup.slack.com/archives/D0AH5T8FMGE/p1783708971530589


🤖 custodial-circuit(#1) | Feedback

Original PR: #678

Set the OpenAPI spec info.version back to the initial 2025-10-13 and add a
Critical Rules bullet: bump info.version only on a breaking change, matching a
new servers.url path.

akanter commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

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

@shreyav
shreyav marked this pull request as ready for review July 10, 2026 19:00
@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

✱ Stainless preview builds for grid

This PR will update the grid SDKs with the following commit messages.

cli

chore(internal): regenerate SDK with no functional changes

go

chore(internal): regenerate SDK with no functional changes

kotlin

chore(internal): regenerate SDK with no functional changes

openapi

chore(internal): regenerate SDK with no functional changes

php

chore(internal): regenerate SDK with no functional changes

python

chore(internal): regenerate SDK with no functional changes

ruby

chore(internal): regenerate SDK with no functional changes

typescript

chore(internal): regenerate SDK with no functional changes
⚠️ grid-openapi studio · code

Your SDK build had at least one "warning" diagnostic.
generate ⚠️

grid-ruby studio · code

Your SDK build had at least one "note" diagnostic.
generate ✅build ⏭️lint ✅test ✅

⚠️ grid-go studio · code

Your SDK build had a failure in the lint CI job, which is a regression from the base state.
generate ✅build ⏭️lint ❗test ❗

go get github.com/stainless-sdks/grid-go@7762bb2f24adb199eee02fdced60c8bd392c1bdd
⚠️ grid-kotlin studio · code

Your SDK build had a failure in the test CI job, which is a regression from the base state.
generate ⚠️build ⏭️lint ⏭️test ❗

grid-typescript studio · code

Your SDK build had at least one "note" diagnostic.
generate ✅build ⏭️lint ⏭️test ✅

⚠️ grid-python studio · code

Your SDK build had a failure in the test CI job, which is a regression from the base state.
generate ✅build ⏭️lint ⏭️test ❗

grid-php studio · code

Your SDK build had at least one "note" diagnostic.
generate ✅lint ✅test ✅

⚠️ grid-cli studio · code

Your SDK build had a failure in the test CI job, which is a regression from the base state.
generate ⚠️build ⏭️lint ⏭️test ❗


This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
If you push custom code to the preview branch, re-run this workflow to update the comment.
Last updated: 2026-07-10 19:18:35 UTC

@greptile-apps

greptile-apps Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR resets the OpenAPI version metadata and documents when it should change.

  • Reverts info.version to 2025-10-13 in the source OpenAPI spec.
  • Rebundles the root and Mintlify OpenAPI files with the same version.
  • Adds a CLAUDE.md rule to bump info.version only for breaking API path changes.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
CLAUDE.md Adds the version-bump convention to the repository rules.
openapi/openapi.yaml Reverts the source OpenAPI info.version to match the existing API path.
openapi.yaml Updates the generated root OpenAPI bundle with the reverted version.
mintlify/openapi.yaml Updates the Mintlify OpenAPI bundle with the reverted version.

Reviews (1): Last reviewed commit: "Revert info.version to 2025-10-13 and do..." | Re-trigger Greptile

@shreyav
shreyav merged commit f53bd76 into main Jul 10, 2026
21 of 22 checks passed
@shreyav
shreyav deleted the 07-10-grid-version-revert-2025-10-13 branch July 10, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants