Skip to content

feat(release): release-please opens the release pull request, topic pull requests target main, and its merge publishes #1861

Closed

Description

@dan-petty

Friction

The bespoke release path broke releases again and again. It had release branches, a cut pull request and a release pull request made by hand, changelog fragments, a closer and a notes compactor. Agents misread its many rules: wrong pull request titles and bases, stacked pull requests and a republished version.

Decision

ADR 0013 records the owner's decision of 2026-10-23. release-please makes every release as the tool ships. Agents stay out of the release workflow. Nothing predicts a version. Every instruction that conflicts is deleted. ADR 0013 supersedes ADR 0012.

Remedy

  • release.yml runs googleapis/release-please-action on each push to main with the release App token. release-please opens or updates one release pull request. Its merge creates the release and the tag.
  • In the run that creates a release, later jobs upload the wheel, the sdist and SHA256SUMS.txt, and publish both images.
  • pr-title.yml checks that each pull request title into main is a Conventional Commit.
  • Topic pull requests target main. devops pr create always opens a draft. Readiness requires one closed issue and a change to its task file.
  • devops ci runs uv build.
  • Deleted: devops release, the cut, release branches, changelog fragments, devops docs compact, the copilot-pass and file-issues commands, and the planner (devops roadmap reprioritize, close, render, migrate and docs/ROADMAP.md).
  • The instructions, documents, labels, board template and test samples describe trunk releases only.

The repository settings that the workflow needs are in #1864.

Not done, by the owner's decision of 2026-10-23

  • No draft release, no softprops/action-gh-release and no publish order.
  • Argo CD keeps tracking main. feat(k8s): Argo CD follows release tags #1862 is not done.
  • The planner is deleted. It gets no date-titled buckets.
  • No Release-As path and no version estimate.

Acceptance criteria

  • release.yml runs release-please on each push to main with the App token, and each publish job runs only when release-please creates a release. tests/test_workflow_contracts.py passes.
  • No workflow or hook targets a release branch or runs release tooling. git grep -nE 'release/v|changelog\.d|chore/cut|Part of #' -- AGENTS.md CONTRIBUTING.md RELEASE_CYCLE.md .github prints nothing.
  • devops pr create opens a draft into the default branch. devops pr check-readiness blocks a body that closes no issue or several, and a base that is not the default branch.
  • devops ci runs uv build.
  • AGENTS.md has 40,000 characters or fewer. devops docs check and uv run devops ci pass with coverage of 90.0 percent or more.

Activity

  1. added
    source/agent
    type/feature
    on Oct 22, 2026
  2. dan-petty commented on Oct 22, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.

    • Type: type/feature. The candidate proposes a new feature to change how releases are handled.
    • Priority: P1-High. This change affects the core release process and is required for unblocking other related work items.
    • Value: High. Improves the reliability and automation of the release process, benefiting all users by reducing friction and potential errors.
    • Effort: High. Requires significant changes to workflows, CI/CD logic, and potentially existing release scripts and documentation.
  3. changed the title [-]feat(release): topic pull requests target main, and merging the release pull request publishes[/-] [+]feat(release): release-please opens the release pull request, topic pull requests target main, and its merge publishes[/+] on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    source/agenttype/feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions