Skip to content

chore: promote SDK changes from staging - #35

Open
borisbarath-stripe wants to merge 42 commits into
mainfrom
stainless/next
Open

borisbarath-stripe wants to merge 42 commits into
mainfrom
stainless/next

Conversation

@borisbarath-stripe

@borisbarath-stripe borisbarath-stripe commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Automated promotion from staging, re-audited against the live tree diff.

What is actually landing

API surface

  • Adds V2 lifecycle notification resources: offset notification create/get/list/archive/edit and system event listing.
  • Adds billable-metric name updates.
  • Adds custom pricing-unit create and archive methods.
  • Adds required anchor_date fields to recurring commit and credit response models.
  • Exposes subscription-product product_custom_fields and subscription-name edits.
  • Adds duration, rate_type, and rollover_fraction to prepaid-balance threshold commit configuration.
  • Adds uniqueness keys for manual balance entries and notification creation.
  • Adds invoice line-item quantity_consumed and clarifies billable_status.
  • Adds the generated body-cursor pagination helper and corresponding RBI/RBS types.

SDK automation and release metadata

  • Hardens promotion/sync against stale runs and adds newest-run-wins concurrency.
  • Uses STLC App authentication for production promotion operations.
  • Restricts release and RubyGems publishing jobs to the production Ruby repository.
  • Keeps release-PR descriptions synchronized for in-place version overrides.
  • Removes the retired Stainless artifact-upload job and unrelated MCP README section.
  • Changes the checked-in version representation from 3.11.0-alpha.1 to 3.11.0.pre.alpha.1.

Review notes

This is a large accumulated promotion. Confirm the prerelease version normalization before merging; it changes README, Gemfile.lock, and MetronomeSDK::VERSION.

Freshness and validation

  • Promotion head exactly matches staging main.
  • Required lint and test checks pass.

Diff reviewed

  • 152 files, +6,073 / -119
  • Production base: 2e7b436
  • Staging head: a690aa4

Merge with a merge commit (not squash or rebase) to preserve staging/production ancestry.

borisbarath-stripe and others added 30 commits July 29, 2026 17:27
Stainless-Generated-From: 873cd902249d45638a3178dbfc0d6e090464aba8
…y-and-seal-trigger-20260729

fix(stlc): reconcile back-sync ancestry and enable seal dispatch
…to-staging-20260729

chore(stlc): reconcile production into staging
…igger-20260729

fix(stlc): correct push trigger placement
…to-staging-20260729-release

chore(stlc): reconcile Ruby release into staging
Stainless-Generated-From: 97b9c3290a21e86680722b9f9da0de6f5c3f170e
Stainless-Generated-From: dd1e9a983bb79aa363f123b5de6c09c885af4ea4
Stainless-Generated-From: 3b7e7e5cf99e8290cf5e4c9afd4cca032e30e094
Stainless-Generated-From: 32c2a0b4c94f7f526cb1b27594bd6b56afd97ccb
Stainless-Generated-From: c9df9ed51798c233c32439c060f65d448019bfb3
Stainless-Generated-From: 8f126d16b17f17822eef8d8339817b0057db71a2
Stainless-Generated-From: a7c7fc753d7d0cded875bd90d4046cd9ca859837
Stainless-Generated-From: e740e1ef2e82e9b9f162705bf0d5d805b10caf28
Stainless-Generated-From: b66e58984dec6e8985a304f1ae73facb14c4d6b3
Stainless-Generated-From: 2282dc90526b4b71da9c2cf3ee55344834e3d5fb
Stainless-Generated-From: 0690c347c9687cf0a742e1ddc5aba007d894de77
Stainless-Generated-From: 894a7416d729ad173eabfa5ef0425b199f1f9911
Stainless-Generated-From: ef2d786a5f34fd2cf00fb9637c89fa4e43a31775
Stainless-Generated-From: 09f123893073f4e6630e75b102eb0b90bcd19527
Stainless-Generated-From: 695de1801e8f72f19d5fe56a5358a98c29c8b261
Stainless-Generated-From: fa4d95ac7ac5c18d9d5f673dffe8169e76551670
Stainless-Generated-From: d48e2a9262499429b2be398c76a1c9effc07da87
Stainless-Generated-From: 8aa2658304a4ef18d0fc28767d4cebcee4a6dd41
Stainless-Generated-From: 3aa1ca907bb1879c4595d6ba03aa29932acd3899
Stainless-Generated-From: 64c7b1d731dae715534ad0928b4c8570e7deaae8
Ports the Go-first fixes for
[ACTIV-1668](https://linear.app/getmetronome/issue/ACTIV-1668),
[ACTIV-1669](https://linear.app/getmetronome/issue/ACTIV-1669), and
[ACTIV-1729](https://linear.app/getmetronome/issue/ACTIV-1729) to Ruby.

- updates the release PR description when its title selects a different
version
- restricts release and RubyGems publishing jobs to `metronome-ruby`
- keeps staging promotion/sync jobs restricted to
`metronome-ruby-staging`
- skips stale promotion runs and applies newest-run-wins concurrency
- removes the legacy Stainless artifact-upload-only build job
- replaces `PRODUCTION_REPO_TOKEN` with a freshly minted STLC GitHub App
token for the production branch push and `gh pr` operations

Ancestry before this change: production `2e7b436` is an ancestor of
staging `6fe8489`, so this workflow change belongs in staging and can
follow the normal seal/promote path.

Validation: actionlint and `git diff --check` pass.

After merge, verify seal tracking before merging the generated
production promotion PR. Merge that promotion PR with a merge commit.

Co-authored-by: codex <noreply@openai.com>
Stainless-Generated-From: a49acf7c3fbce905f1039f184bb77fffb524e537
Stainless-Generated-From: 5ca0c8c8adc87e2edfdf146b5ea834294f7db053
Stainless-Generated-From: 237001743607dd28cdbd46b6b3b1d7b28c1c0558
Stainless-Generated-From: 5db1969b33f649f6bc9cbb92bfec2554845fd83a
Stainless-Generated-From: 9b2bcde223b157f658d5dc9197b2d34f8793778f
Stainless-Generated-From: 38c5ad3138c2c344b5a3b3c768a8ec1017f16acf
Stainless-Generated-From: b088e27aa3da33d91327c82b60d546a05c9f193f
Stainless-Generated-From: e103634368ba585ec72b26da922277982ed3f639
…fset notifications

Stainless-Generated-From: 99040c774c6e82959f08cd060e0ee51f7beb0290
Stainless-Generated-From: b1ffba97da2988e913dfffe8b99925547318c517
Stainless-Generated-From: 388b81c6c33b6ede568a8c5316df2f461289c977
Stainless-Generated-From: 1978f54179eaba7b5bc18e0897c0b3ba10f5ad23
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