Repository navigation
fix(release): keep the API schema's version in step with each release - #310
Merged
Merged
Conversation
v0.7.0 bumped __version__ (which FastAPI puts in the schema's info.version) but not nextjs-frontend/openapi.json, so CI's "OpenAPI schema is up to date" check fails on main and on every PR merged with it. Regenerated the schema with make openapi, and release.py now sets the version in openapi.json too. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GbW6SC3MU2AmYQ9zFa5dk4
adeelahmad
pushed a commit
that referenced
this pull request
Oct 10, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GbW6SC3MU2AmYQ9zFa5dk4
This was referenced Oct 10, 2026
adeelahmad
added a commit
that referenced
this pull request
Oct 10, 2026
…ard limits (#281) * feat(budgets): ask for an overall AI budget in setup, with soft and hard limits A new `all` budget caps everything Lens spends. The in-app setup wizard gets a Budget step and the web installer asks for one with a cloud provider: a scale for the hard limit, the soft limit at 80% (warns), the model's price so the spending is counted. At the hard limit runs wait or are skipped and priced model calls stop; local models keep working. The web installer now asks only the essentials, with folder/port/network under Advanced and the extras under More options on the review. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XvwHFwvrDy4awJHkXCMaVe * fix(release): keep the API schema's version at 0.7.0 (as #310) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GbW6SC3MU2AmYQ9zFa5dk4 * fix(setup): skip the budget step for a model on this machine; clicks survey follows the installer A model on this machine or its network costs nothing, so the setup wizard asks for a budget only after a cloud model, as the web installer does. The clicks survey's install journey no longer waits for the Extras step (now More options on the review): one click fewer, recorded in the baseline. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XvwHFwvrDy4awJHkXCMaVe * docs(budgets): the setup budget step follows a cloud model Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XvwHFwvrDy4awJHkXCMaVe --------- Co-authored-by: Adeel Ahmad <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Adeel · project thread
Description
Before: the v0.7.0 release bumped
__version__inapp/domain/__init__.py, which FastAPI puts in the schema'sinfo.version, but leftnextjs-frontend/openapi.jsonat 0.6.0. CI's "OpenAPI schema is up to date" step (FastAPI embedded job) now fails on main and on every PR merged with it (- "version": "0.6.0"/+ "version": "0.7.0").After:
openapi.jsonis regenerated withmake openapi(only the version line changes; the client is unchanged), andrelease.py cutsets the version inopenapi.jsonalong with the other version files, so the next release keeps them in step.Motivation and Context
Unblocks CI for every open PR after v0.7.0.
Types of changes
Checklist:
make openapi; the regenerated schema matches the committed one.docs/contributing.mdlists the files a release updates.Done questions (AGENTS.md)
🤖 Generated with Claude Code
https://claude.ai/code/session_01GbW6SC3MU2AmYQ9zFa5dk4
Generated by Claude Code