Skip to content

[Release] Adopt release-please for monorepo releases #870

Closed

Description

@widal001

Summary

Adopt release-please in manifest mode for the four published packages (lib/core, lib/cli, lib/ts-sdk, lib/python-sdk) so the conventional commit history drives releases instead of hand-authored changeset files.

Rationale

The current Changesets setup mostly works, but it has a couple of challenges that release-please would address:

  • The team has to remember to create changesets to initiate a version bump
  • The team can't easily stack changes before a release goes out, because the current workflow bumps version as soon as one changeset is present
  • The team has to remember to manually run the release and deploy after a version bump is created
  • The current CI requires disabling branch protections to support directly committing to main
  • The python codebase requires a bunch of workarounds like package.json and a special script to bump the python version

The benefits of switching:

  • The conventional commit history is the changeset, so contributors don't have to remember a separate file
  • Multiple changes can be documented in a single Release PR and only ship when that PR is merged, so the team controls release timing without disabling branch protections
  • Python releases use the real pyproject.toml config with release-type: python, no vestigial package.json or shell-parsing step
  • Release notes are generated from PR titles, so they read more like a changelog and less like a list of changeset summaries

There are a few tradeoffs though:

  • Requires switching to conventional commits and adopting a different PR title format
  • Requires contributors to know which conventional commits map to which kinds of version bumps

Implementation notes

The CommonBenefits config provides a decent template for what this repo would need to make this change (four packages, separate release PRs per package, conventional commits, component-aware tags):

Files that would need to be removed or updated:

  • The .changeset/ directory and .changeset/config.json
  • lib/python-sdk/package.json (the vestigial one)
  • The "Detect changesets", "Bump version for Python package", "Bump version for Node package", and tag-creation steps in ci-bump-version.yml, replaced by a single release-please-action step
  • The per-package publish workflows would key off the release-please released outputs instead of changeset-created tags

Open questions

  • Can we make release please work with our existing changelogs rather than creating new changelogs?
  • Does release please support PR filtering in the GitHub release notes it creates?

Acceptance criteria

  • A conventional commit on main opens a separate Version PR per affected package without any manual changeset step
  • Merging a Version PR tags and publishes the right package(s) to npm, and the Python SDK to PyPI
  • lib/python-sdk/package.json is gone and the Python version lives only in pyproject.toml
  • ADR 10 (or its successor) is updated to reflect the choice
  • Branch protections have been re-enabled

Activity

  1. added
    enhancementNew feature or request
    pythonIssue or PR related to Python tooling
    ciIssue or PR related to CI/CD workflows
    on May 29, 2026
  2. added theissue type on May 29, 2026
  3. moved this from In Review to In Progress in Simpler Grants Product & Deliveryon Jul 30, 2026
  4. moved this from In Progress to In Review in Simpler Grants Product & Deliveryon Aug 4, 2026
  5. laurabelinfante commented on Aug 4, 2026

    @laurabelinfante
    Collaborator

    @SnowboardTechie bumping this one to 6.8 given the decision around v0.4 releasing first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ciIssue or PR related to CI/CD workflowsenhancementNew feature or requestpythonIssue or PR related to Python tooling

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions