Skip to content

Release SDK updates - #147

Open
kernel-internal[bot] wants to merge 3 commits into
mainfrom
stainless/release
Open

Release SDK updates#147
kernel-internal[bot] wants to merge 3 commits into
mainfrom
stainless/release

Conversation

@kernel-internal

@kernel-internal kernel-internal Bot commented Aug 4, 2026

Copy link
Copy Markdown

f026272 ci: harden promotion pull request updates
b94cd58 ci: promote through merge-commit pull requests
9e39767 ci: add stlc promotion workflows


Note

Medium Risk
Automation writes to the production SDK repo (GitHub App token, force-push to stainless/release, auto-merge); misconfiguration or ancestry drift could block sync or require manual promotion.

Overview
Adds GitHub Actions to move the Go SDK between staging (kernel-go-sdk-staging) and production (kernel-go-sdk) while keeping a single ancestry line (merge commits only, no squash on promote).

stlc-promote.yml runs on staging main pushes: skips when production’s tree already matches staging, otherwise force-pushes staging main to production’s stainless/release, creates or updates a “Release SDK updates” PR into production main (body = commit list), and enables auto-merge with a merge commit (warns if that fails).

stlc-sync.yml adds the reverse path and hooks: back-sync (cron, manual, or prod-released dispatch) fast-forwards staging main from production when staging is behind, with an ancestor check before push; notify-back-sync from production on release optionally pings staging; seal-dispatch on staging pushes (non–Stainless-generated commits) optionally notifies the config repo via seal-custom-code.

Reviewed by Cursor Bugbot for commit f026272. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b94cd58. Configure here.

Comment thread .github/workflows/stlc-promote.yml Outdated
Comment thread .github/workflows/stlc-sync.yml
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.

1 participant