Skip to content

release-branch workflow: three small hardening follow-ups from the #853 review #856

Closed

Description

@fdaviddpt

These came out of the maintainer review of .github/workflows/release-branch.yml (#853, merged). None of them blocks the first release.

  1. release can go backwards. If a patch tag for an older line (say v0.36.2) is pushed after v0.37.0, the publish job adds the 0.36.2 tree on top of the 0.37.0 commit. The directory then shows 0.36.2, and installed copies don't move, because the version is lower. Fix: in publish, refuse unless the new tree's .claude-plugin/plugin.json version is strictly greater than the parent release commit's, or require workflow_dispatch with an explicit override to publish an older version. Add a test.
  2. pyyaml is installed unpinned in both jobs (pip install pyyaml). Pin an exact version, so the check's verdict changes only when we choose, the same reasoning the workflow already applies to CLAUDE_CLI_VERSION.
  3. A stale comment. The comment above concurrency: still talks about "racing a force-push". The push is no longer forced; the concurrency group protects two publishes from racing on the same parent.

Also update docs/releasing.md if item 1 changes the procedure for patch releases on an older line.

[AI-generated]

Activity

  1. added
    priority:medium
    lane-other
    on Oct 2, 2026
  2. self-assigned this
    on Oct 2, 2026
  3. added 2 commits that reference this issue on Oct 2, 2026
  4. removed their assignment
    on Oct 2, 2026
  5. added 2 commits that reference this issue on Oct 7, 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

    lane-otherpriority:medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions