Skip to content

AI-3309: run SDK releases from main - #2062

Merged
kanat merged 6 commits into
mainfrom
ai-3309-releases-from-main
Nov 18, 2026
Merged

kanat merged 6 commits into
mainfrom
ai-3309-releases-from-main

Conversation

@kanat

@kanat kanat commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Why

accelerate was merged into main (#2030). The release workflows still ran only from accelerate, so a run from main skipped the release job. The Go SDK flow copied sdks/go from accelerate onto main, and there is nothing left to copy. Ticket: AI-3309.

before:  accelerate --copy sdks/go--> main --tag sdks/go/vX.Y.Z
after:   main --tag sdks/go/vX.Y.Z

Changes

File Before After
release-sdk-dotnet.yml:32 workflow_dispatch, job if = refs/heads/accelerate same trigger, if = refs/heads/main; the "a run from main does nothing" note is gone
release-sdk-js.yml:19 workflow_dispatch, job if = refs/heads/accelerate same trigger, if = refs/heads/main
sdks/js/release.config.mjs:13 semantic-release branches: ["accelerate"] (would refuse to release from main) ["main"]
publish-sdk-kotlin.yml:18,23,66 push on accelerate or release-kotlin-*-SNAPSHOT; PRs into accelerate; "not a release" check on accelerate the same, with main
sdk-go.yml:3 comment: sdks/go is a copy comment only; triggers unchanged (push main, PRs)
.claude/skills/sdk-go/SKILL.md develop on accelerate, copy onto main, tag the merge commit land on main, tag a main commit by SHA; no copy step, no "never edit on main" rule
sdk-dotnet skill, Go, JS, Kotlin READMEs, package.json, build.gradle.kts accelerate branch and tree/accelerate, blob/accelerate links main
  • release-sdk-go.yml is untouched: it already requires the tag to be an ancestor of origin/main (:45).
  • sdks/go/go.mod has no replace, so the module path github.com/GetStream/Vision-Agents/sdks/go needs no copy. GOWORK=off go mod tidy -diff and go vet ./... in sdks/go pass on this branch.
  • registry-publish has no deployment-branch policy (gh api repos/GetStream/Vision-Agents/environments: deployment_branch_policy: null), so main may enter it.
  • No release is cut, no tag is pushed, no workflow is run here.

Validation

  • actionlint on the four changed workflows: one warning, SC2046 in release-sdk-js.yml, the same on the base commit.
  • Each workflow loads with a YAML parser; the on: triggers are as in the table.
  • Not run: a real release from main (.NET, JS, Kotlin, Go). Unverified until the first one.
  • Also dropped accelerate from the push triggers of ci.yml, client-sdks.yml, integration.yml, python-versions.yml, and from comments in run_tests.yml, daily.yml, .cursor/install.sh, sdks/go/doc.go.
  • registry-publish has no required reviewer (protection_rules: []): the only gate is the job if on refs/heads/main. The workflow comments say so. Adding a reviewer is a settings change, tracked separately.

🤖 Generated with Claude Code

accelerate is merged into main (#2030). The Go SDK is tagged on a main
commit with no copy step. The .NET, JS and Kotlin release gates, the JS
semantic-release branch and the SDK links now name main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

SDK release workflows, instructions, links, and package metadata now use main instead of accelerate. The Go SDK instructions describe development and releases directly from main, including tagging a commit and verifying the published version. CI push triggers now select main instead of accelerate.

Merge Risk: Moderate · up to 9d900

This PR moves SDK releases to main. The Go release instructions can verify one commit and tag another, or push a tag after a failed ancestor check. The Kotlin README also promises that non-release merges publish nothing, which the workflow does not guarantee. Resolve these before merging.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 7e07f35 and 9d9001f.

Files selected for processing: 10

  • .cursor/install.sh
  • .github/workflows/ci.yml
  • .github/workflows/client-sdks.yml
  • .github/workflows/daily.yml
  • .github/workflows/integration.yml
  • .github/workflows/python-versions.yml
  • .github/workflows/release-sdk-dotnet.yml
  • .github/workflows/release-sdk-js.yml
  • .github/workflows/run_tests.yml
  • sdks/go/doc.go
Files with no reviewable changes: 1

  • .github/workflows/daily.yml
Files skipped from review as they are similar to previous changes: 2

  • .github/workflows/release-sdk-dotnet.yml
  • .github/workflows/release-sdk-js.yml

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 3

Review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between d76308c and 7e07f35.

Files selected for processing: 12

  • .claude/skills/sdk-dotnet/SKILL.md
  • .claude/skills/sdk-go/SKILL.md
  • .github/workflows/publish-sdk-kotlin.yml
  • .github/workflows/release-sdk-dotnet.yml
  • .github/workflows/release-sdk-js.yml
  • .github/workflows/sdk-go.yml
  • sdks/go/README.md
  • sdks/js/README.md
  • sdks/js/package.json
  • sdks/js/release.config.mjs
  • sdks/kotlin/README.md
  • sdks/kotlin/core/build.gradle.kts

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

Comment thread .claude/skills/sdk-go/SKILL.md Resolved
Comment thread .claude/skills/sdk-go/SKILL.md Resolved
Comment thread sdks/kotlin/README.md Resolved

@kanat kanat left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Reviewed at 7e07f35, merged onto main d76308c. The head is already on the current base. CI: every finished check passed; go, kotlin and unit were still pending.

[Should fix] R1.1 Dead accelerate refs outside the diff. Push triggers: .github/workflows/ci.yml:6, client-sdks.yml:6, integration.yml:13, python-versions.yml:4. Comments: client-sdks.yml:42, run_tests.yml:61-62, daily.yml:20-21, .cursor/install.sh:3. The daily.yml comment is also false: the integration environment has deployment_branch_policy: null. Found with git grep -n -w accelerate -- .github .cursor. Fix: remove "accelerate" from the four branch lists, reword the comments to main, and update the PR body's "Not changed" bullet.

[Should fix] R1.2 sdks/go/doc.go:11: the package doc, which pkg.go.dev renders, still says generating the client needs "a checkout of the accelerate branch". This PR removed the same claim from .claude/skills/sdk-go/SKILL.md:44 and sdks/go/README.md. Fix: "which a checkout of this repository has", as the README now says.

[Should fix] R1.3 Inline on release-sdk-dotnet.yml:34; the same applies to release-sdk-js.yml:22.

[Question → ticket] R1.4 publish-sdk-kotlin.yml:103,158 (lines this PR does not change): environment: release does not exist (GET .../environments/release returns 404). The signing and repository secrets are repo-level, so the comment "only the publishing branches may enter" this environment is false. Whether to create the environment with a branch policy, and whether to add a required reviewer to registry-publish, is a settings decision. Filed as a ticket, not for this PR.

Checked and sound:

  • The release tags are reachable from main, because #2030 was a merge commit (git merge-base --is-ancestor holds for sdk-js-v0.4.3, sdk-dotnet-v0.2.0, sdk-kotlin-v0.5.0 and sdks/go/v0.3.0). semantic-release and the .NET and Kotlin "last version" logic work from main.
  • The tag-on-main check in release-sdk-go.yml:45 matches the new sdk-go skill text.
  • The Kotlin version step, simulated: with BRANCH=main and version 0.5.0 it gives channel=none, so merging this PR publishes nothing. With accelerate left in, the same push would fail with "already released".
  • actionlint: only the SC2046 warning that is already on the base. Every workflow loads as YAML.
  • The python/pypi, swift, dart, rust, php and ruby release paths have no accelerate gate or link.

Verdict: request changes, for R1.1–R1.3.

Comment thread .github/workflows/release-sdk-js.yml Resolved
kanat and others added 3 commits November 18, 2026 11:31
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

@kanat kanat left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

[orchestrator delta R2] GO on 9d9001f. Delta vs 7e07f35: drops accelerate from push triggers (ci, client-sdks, integration, python-versions), rewords comments (client-sdks, run_tests, daily, install.sh, release-sdk-dotnet/js) and sdks/go/doc.go. R1.1–R1.3 fixed; R1.4 → ticket. No code change.

@kanat
kanat marked this pull request as ready for review November 18, 2026 10:32

@aleksandar-apostolov aleksandar-apostolov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@kanat kanat left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

[orchestrator R3] GO on 25f7655: doc-only delta in sdk-go/SKILL.md (smoke the tagged commit; set -euo pipefail before the ancestry check) + clean main merge. Kotlin publish-on-bump thread deferred to a ticket.

@kanat
kanat merged commit 8606c68 into main Nov 18, 2026
71 of 72 checks passed
@kanat
kanat deleted the ai-3309-releases-from-main branch November 18, 2026 12:09
aleksandar-apostolov added a commit that referenced this pull request Nov 18, 2026
Closes
[AND-1971](https://linear.app/stream/issue/AND-1971/stream-agents-kotlin-070-release-live-ui-session-tools-and-filters)

## Why
Ships to Kotlin what merged since 0.5.0: live generative UI (#2054),
session tools (#2050), session filters (#2001), regenerate and edit with
branches (#1983), rewind (#2012), and `tool_timeout_ms` on fork and
resume (#2004, #2046). 0.7.0 matches the repo release; Dart's
`stream_agents` shipped 0.7.0 in #2052.

`Conversation` is no longer a data class, so Java loses its no-argument
constructor (see CHANGELOG).

## Changes
- `sdks/kotlin/gradle.properties`: `version=0.7.0`.

Merging this publishes `io.getstream:stream-agents-android-core:0.7.0`
to `https://stream-io-repo.com` and tags the commit `sdk-kotlin-v0.7.0`.
It is the first Kotlin release from `main` (#2062).

## Validation
- The `Check the version` job on this pull request: the branch matches
`version`, and 0.7.0 is newer than `sdk-kotlin-v0.5.0` and not yet
published.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants