Skip to content

Release SDK updates - #141

Merged
sjmiller609 merged 3 commits into
mainfrom
stainless/release
Aug 5, 2026
Merged

Release SDK updates#141
sjmiller609 merged 3 commits into
mainfrom
stainless/release

Conversation

@kernel-internal

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

Copy link
Copy Markdown
Contributor

53eb143 ci: harden promotion pull request updates
710780c ci: promote through merge-commit pull requests
bf366f0 ci: add stlc promotion workflows


Note

Low Risk
New CI-only workflows with guarded git operations and optional secrets; no application runtime or customer-facing code changes.

Overview
Adds GitHub Actions automation for the Stainless staging (kernel-python-sdk-staging) and production (kernel-python-sdk) Python SDK repos so they stay on a shared, merge-commit ancestry.

stlc-promote.yml runs on staging main pushes: compares trees with git merge-tree, and when production is behind, force-pushes staging to stainless/release on production, then creates or updates a promote PR and enables merge-commit auto-merge (explicitly not squash/rebase). Uses a GitHub App token for cross-repo write/PR permissions.

stlc-sync.yml adds complementary jobs: back-sync (scheduled/dispatch) fast-forwards staging from production/main when content differs but ancestry allows; notify-back-sync on production release optionally fires prod-released to staging; seal-dispatch on staging pushes (non-generated commits) optionally notifies the kernel config repo via seal-custom-code. Optional dispatch secrets degrade gracefully with notices.

Reviewed by Cursor Bugbot for commit 53eb143. 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 5 potential issues.

Fix All in Cursor

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

Reviewed by Cursor Bugbot for commit 710780c. Configure here.

Comment thread .github/workflows/stlc-sync.yml
Comment thread .github/workflows/stlc-sync.yml
Comment thread .github/workflows/stlc-promote.yml Outdated
Comment thread .github/workflows/stlc-promote.yml Outdated
Comment thread .github/workflows/stlc-promote.yml
@sjmiller609
sjmiller609 self-requested a review August 5, 2026 14:34
@sjmiller609
sjmiller609 merged commit 9529bea into main Aug 5, 2026
11 checks passed
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