ci: Version Packages#773
Merged
Merged
Conversation
AlemTuzlak
approved these changes
Jun 16, 2026
AlemTuzlak
added a commit
that referenced
this pull request
Jun 24, 2026
GitHub releases are created only by the changesets/action step, and that step has not completed cleanly on any release-triggering run since mid-June (last release: @tanstack/ai-react@0.15.5 on 2026-06-15; npm is now at 0.15.12). The "Version Packages" merge runs (#773, #778, #787, #792, #808, #813) passed the test gate and then FAILED at the "Run Changesets" step: CI ran `changeset publish` and npm advanced, but the step died before the tag-push / GitHub-release phase, so no tags (0.15.6-0.15.12 don't exist) and no releases were created. More recent runs (#814, #825) now fail even earlier, at the test gate (test:kiira), so the changesets step is never reached. Either way npm and GitHub drift apart. (The exact in-step error is no longer recoverable - those runs' logs have expired.) Changes: - Split into a `test` gate job and a `release` job (needs: test) so a flaky run blocks BOTH npm and GitHub releases together, never one without the other. - Add workflow_dispatch so a maintainer recovers a blocked release by re-running the workflow (publish is idempotent) instead of intervening by hand. - Add a self-heal step that enforces "published to npm => GitHub release exists": for any package version on npm without a release it creates the tag + release from the CHANGELOG. Runs even when the changesets step fails mid-way and on manual re-runs, so gaps self-heal - directly covering the failure mode above. - Set GITHUB_TOKEN explicitly on the changesets step and tighten permissions (top-level contents:read; write scoped to the release job).
AlemTuzlak
added a commit
that referenced
this pull request
Jun 24, 2026
GitHub releases are created only by the changesets/action step, and that step has not completed cleanly on any release-triggering run since mid-June (last release: @tanstack/ai-react@0.15.5 on 2026-06-15; npm is now at 0.15.12). The "Version Packages" merge runs (#773, #778, #787, #792, #808, #813) passed the test gate and then FAILED at the "Run Changesets" step: CI ran `changeset publish` and npm advanced, but the step died before the tag-push / GitHub-release phase, so no tags (0.15.6-0.15.12 don't exist) and no releases were created. More recent runs (#814, #825) now fail even earlier, at the test gate (test:kiira), so the changesets step is never reached. Either way npm and GitHub drift apart. (The exact in-step error is no longer recoverable - those runs' logs have expired.) Changes: - Split into a `test` gate job and a `release` job (needs: test) so a flaky run blocks BOTH npm and GitHub releases together, never one without the other. - Add workflow_dispatch so a maintainer recovers a blocked release by re-running the workflow (publish is idempotent) instead of intervening by hand. - Add a self-heal step that enforces "published to npm => GitHub release exists": for any package version on npm without a release it creates the tag + release from the CHANGELOG. Runs even when the changesets step fails mid-way and on manual re-runs, so gaps self-heal - directly covering the failure mode above. - Set GITHUB_TOKEN explicitly on the changesets step and tighten permissions (top-level contents:read; write scoped to the release job).
AlemTuzlak
added a commit
that referenced
this pull request
Jun 24, 2026
GitHub releases are created only by the changesets/action step, and that step has not completed cleanly on any release-triggering run since mid-June (last release: @tanstack/ai-react@0.15.5 on 2026-06-15; npm is now at 0.15.12). The "Version Packages" merge runs (#773, #778, #787, #792, #808, #813) passed the test gate and then FAILED at the "Run Changesets" step: CI ran `changeset publish` and npm advanced, but the step died before the tag-push / GitHub-release phase, so no tags (0.15.6-0.15.12 don't exist) and no releases were created. More recent runs (#814, #825) now fail even earlier, at the test gate (test:kiira), so the changesets step is never reached. Either way npm and GitHub drift apart. (The exact in-step error is no longer recoverable - those runs' logs have expired.) Changes: - Split into a `test` gate job and a `release` job (needs: test) so a flaky run blocks BOTH npm and GitHub releases together, never one without the other. - Add a self-heal step that enforces "published to npm => GitHub release exists": for any package version on npm without a release it creates the tag + release from the CHANGELOG. Runs even when the changesets step fails mid-way, so gaps self-heal on the next release run - directly covering the failure mode above. - Set GITHUB_TOKEN explicitly on the changesets step and tighten permissions (top-level contents:read; write scoped to the release job).
AlemTuzlak
added a commit
that referenced
this pull request
Jun 24, 2026
GitHub releases are created only by the changesets/action step, and that step has not completed cleanly on any release-triggering run since mid-June (last release: @tanstack/ai-react@0.15.5 on 2026-06-15; npm is now at 0.15.12). The "Version Packages" merge runs (#773, #778, #787, #792, #808, #813) passed the test gate and then FAILED at the "Run Changesets" step: CI ran `changeset publish` and npm advanced, but the step died before the tag-push / GitHub-release phase, so no tags (0.15.6-0.15.12 don't exist) and no releases were created. More recent runs (#814, #825) now fail even earlier, at the test gate (test:kiira), so the changesets step is never reached. Either way npm and GitHub drift apart. (The exact in-step error is no longer recoverable - those runs' logs have expired.) Changes: - Split into a `test` gate job and a `release` job (needs: test) so a flaky run blocks BOTH npm and GitHub releases together, never one without the other. - Add a self-heal step that enforces "published to npm => GitHub release exists": for any package version on npm without a release it creates the tag + release from the CHANGELOG. Runs even when the changesets step fails mid-way, so gaps self-heal on the next release run - directly covering the failure mode above. - Set GITHUB_TOKEN explicitly on the changesets step and tighten permissions (top-level contents:read; write scoped to the release job).
AlemTuzlak
added a commit
that referenced
this pull request
Jun 24, 2026
…lege GitHub releases are created only by the changesets/action step, and that step has not completed cleanly on any release-triggering run since mid-June (last release: @tanstack/ai-react@0.15.5 on 2026-06-15; npm is now at 0.15.12). The "Version Packages" merge runs (#773, #778, #787, #792, #808, #813) passed the test gate and then FAILED at the "Run Changesets" step: CI ran `changeset publish` and npm advanced, but the step died before the tag-push / GitHub-release phase, so no tags (0.15.6-0.15.12 don't exist) and no releases were created. More recent runs (#814, #825) now fail even earlier, at the test gate (test:kiira). (The exact in-step error is no longer recoverable - those runs' logs have expired.) Changes: - Split into a `test` gate job and a `release` job (needs: test) so a flaky run blocks BOTH npm and GitHub releases together, never one without the other. - Set GITHUB_TOKEN explicitly on the changesets step. - Tighten permissions: top-level contents:read; write scoped to the release job.
AlemTuzlak
added a commit
that referenced
this pull request
Jun 24, 2026
GitHub releases are created only by the changesets/action step, and that step has not completed cleanly on any release-triggering run since mid-June (last release: @tanstack/ai-react@0.15.5 on 2026-06-15; npm is now at 0.15.12). The "Version Packages" merge runs (#773, #778, #787, #792, #808, #813) passed the test gate and then FAILED at the "Run Changesets" step: CI ran `changeset publish` and npm advanced, but the step died before the tag-push / GitHub-release phase, so no tags (0.15.6-0.15.12 don't exist) and no releases were created. More recent runs (#814, #825) now fail even earlier, at the test gate (test:kiira). (The exact in-step error is no longer recoverable - those runs' logs have expired.) Changes: - Split into a `test` gate job and a `release` job (needs: test) so a flaky run blocks BOTH npm and GitHub releases together, never one without the other. - Tighten permissions: top-level contents:read; write scoped to the release job.
AlemTuzlak
added a commit
that referenced
this pull request
Jun 24, 2026
…aps (#829) ci: gate release on a separate test job, least-privilege permissions GitHub releases are created only by the changesets/action step, and that step has not completed cleanly on any release-triggering run since mid-June (last release: @tanstack/ai-react@0.15.5 on 2026-06-15; npm is now at 0.15.12). The "Version Packages" merge runs (#773, #778, #787, #792, #808, #813) passed the test gate and then FAILED at the "Run Changesets" step: CI ran `changeset publish` and npm advanced, but the step died before the tag-push / GitHub-release phase, so no tags (0.15.6-0.15.12 don't exist) and no releases were created. More recent runs (#814, #825) now fail even earlier, at the test gate (test:kiira). (The exact in-step error is no longer recoverable - those runs' logs have expired.) Changes: - Split into a `test` gate job and a `release` job (needs: test) so a flaky run blocks BOTH npm and GitHub releases together, never one without the other. - Tighten permissions: top-level contents:read; write scoped to the release job.
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@tanstack/ai@0.31.0
Minor Changes
07aaf8b- Add a type-safe capability system to chat middleware.createCapability<T>()('name')returns a[get, provide]accessor tuple that is also its own identity forrequires/providesdeclarations — no separate token import. The middleware context also exposesctx.get(capability)/ctx.getOptional(capability)/ctx.provide(capability, value), typed by the handle you pass. Middleware gain asetupprovisioning hook (runs first, beforeonConfig) plusrequires/provides/optionalRequires.chat()validates that every required capability is provided, at compile time (an array coverage check and the new order-awarecreateChatMiddleware()builder) and at runtime (clear errors before the adapter runs). Adapters can now declarerequires. This is the primitive layer for upcoming persistence and sandbox middleware; no concrete capabilities ship yet.Patch Changes
@tanstack/ai-angular@0.1.3
Patch Changes
07aaf8b]:@tanstack/ai-anthropic@0.15.4
Patch Changes
07aaf8b]:@tanstack/ai-client@0.17.3
Patch Changes
07aaf8b]:@tanstack/ai-code-mode@0.2.8
Patch Changes
07aaf8b]:@tanstack/ai-code-mode-skills@0.2.8
Patch Changes
07aaf8b]:@tanstack/ai-devtools-core@0.4.11
Patch Changes
07aaf8b]:@tanstack/ai-elevenlabs@0.2.23
Patch Changes
07aaf8b]:@tanstack/ai-event-client@0.6.2
Patch Changes
07aaf8b]:@tanstack/ai-fal@0.8.2
Patch Changes
07aaf8b]:@tanstack/ai-gemini@0.16.2
Patch Changes
07aaf8b]:@tanstack/ai-grok@0.11.5
Patch Changes
07aaf8b]:@tanstack/ai-groq@0.4.5
Patch Changes
07aaf8b]:@tanstack/ai-isolate-cloudflare@0.2.24
Patch Changes
@tanstack/ai-isolate-node@0.1.33
Patch Changes
@tanstack/ai-isolate-quickjs@0.1.33
Patch Changes
@tanstack/ai-mcp@0.1.3
Patch Changes
07aaf8b]:@tanstack/ai-ollama@0.8.4
Patch Changes
07aaf8b]:@tanstack/ai-openai@0.14.4
Patch Changes
07aaf8b]:@tanstack/ai-openrouter@0.13.4
Patch Changes
07aaf8b]:@tanstack/ai-preact@0.9.8
Patch Changes
07aaf8b]:@tanstack/ai-react@0.15.8
Patch Changes
07aaf8b]:@tanstack/ai-solid@0.13.8
Patch Changes
07aaf8b]:@tanstack/ai-svelte@0.13.8
Patch Changes
07aaf8b]:@tanstack/ai-vue@0.13.8
Patch Changes
07aaf8b]:@tanstack/ai-vue-ui@0.2.20
Patch Changes
@tanstack/openai-base@0.8.4
Patch Changes
07aaf8b]:@tanstack/preact-ai-devtools@0.1.54
Patch Changes
@tanstack/react-ai-devtools@0.2.54
Patch Changes
@tanstack/solid-ai-devtools@0.2.54
Patch Changes