Skip to content

ci: weekly SDK generation and hold version-only regenerations - #368

Merged
cbetta merged 2 commits into
mainfrom
ci/weekly-sdk-generation
Dec 4, 2026
Merged

cbetta merged 2 commits into
mainfrom
ci/weekly-sdk-generation

Conversation

@cbetta

@cbetta cbetta commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Every regeneration Speakeasy opens bumps the version, and the release bot merged and published each one. In November the Java SDK used up the com.gr4vy namespace's Maven Central size limit (Sonatype ticket #131110). This cuts the number of releases in two ways.

  1. Weekly schedule. A new API spec still starts a run straight away through repository_dispatch from core-api, so only the routine check for Speakeasy's own updates moves from daily to Mondays 00:00 UTC.
  2. Hold version-only regenerations. gr4vy/sdk-release moves to the merge of Release bot: hold a regeneration that only changes version numbers sdk-release#18. The release bot now leaves a regeneration open, labelled version-only, when nothing but version numbers changed since the last release. Speakeasy updates that PR on its next run, and the bot merges it once it carries a real change.
  schedule:
    - cron: 0 0 * * 1   # was 0 0 * * *
# sdk_merge.yaml, sdk_publish.yaml
uses: gr4vy/sdk-release/release-bot@1e90009a9f666d4d825e6923398011d10d91d491    # was 4d17bbf
uses: gr4vy/sdk-release/publish-gate@1e90009a9f666d4d825e6923398011d10d91d491   # was 4d17bbf

Warning

A change of ours on main, such as a Dependabot fix, ships only with the next regeneration. That can now take up to a week. To ship sooner, start Generate SDK by hand.

Reviewer checks
Auth / secrets None
Data None
CI / deploy Generate SDK runs weekly; the release bot holds version-only regenerations. The publish gate is unchanged apart from the pin.
Dependencies gr4vy/sdk-release pin moves to 1e90009

🤖 Generated with Claude Code

cbetta and others added 2 commits December 4, 2026 15:12
New API specs still start a run at once through repository_dispatch, so
only the routine check for Speakeasy updates moves to Mondays. Fewer
regenerations mean fewer version bumps released to the registries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Moves gr4vy/sdk-release to the merge of gr4vy/sdk-release#18. The release
bot now leaves a regeneration open, labelled version-only, when nothing but
version numbers changed since the last release, so it is not released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cbetta cbetta changed the title ci: run the scheduled SDK generation weekly, not daily ci: weekly SDK generation and hold version-only regenerations Dec 4, 2026
@cbetta
cbetta marked this pull request as ready for review December 4, 2026 15:22
Copilot AI lite review requested due to automatic review settings December 4, 2026 15:22

Copilot AI 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.

🔵 Needs a closer look

The changes affect the external release bot’s critical merge and Maven Central publish flow, which requires human verification of the first cross-repository weekly regeneration cycle.

No open issues 🎉

What changed in this PR

Updates SDK automation to reduce unnecessary Maven releases by running routine generation weekly and holding version-only regenerations.

Changes:

  • Changes scheduled generation to Mondays at 00:00 UTC.
  • Pins release and publish actions to the updated sdk-release commit.
  • Preserves immediate generation through repository_dispatch.
File Description
.github/​workflows/​sdk_publish.yaml Updates the publish-gate action pin.
.github/​workflows/​sdk_merge.yaml Updates the release-bot action pin.
.github/​workflows/​sdk_generation.yaml Changes routine SDK generation from daily to a weekly schedule.

Review effort: Lite

@cbetta
cbetta merged commit f6e9e99 into main Dec 4, 2026
11 checks passed
@cbetta
cbetta deleted the ci/weekly-sdk-generation branch December 4, 2026 15:25
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.

2 participants