Skip to content

Document how to release to prod, and add a /release skill - #515

Open
stephaniehobson wants to merge 2 commits into
mainfrom
document-releases
Open

stephaniehobson wants to merge 2 commits into
mainfrom
document-releases

Conversation

@stephaniehobson

Copy link
Copy Markdown
Collaborator

One-line summary

Write down the steps for releasing to prod, and add a /release Claude Code skill that walks through them.

Significant changes and points to review

  • docs/architecture/deploy.md gains a "Releasing to prod" section: check stage, bump the version in a PR, publish the GitHub release, watch the deploy, and confirm version.json, plus the command to re-run a deploy or roll back from a tag. These are the steps used for 2.1.0.
    • It notes that the prod environment needs no approval, only a tag, which I checked against the environment's settings.
  • .claude/skills/release/SKILL.md points at that section instead of repeating it, so the two can't drift. It adds what an agent has to decide (proposing a version from the commits since the last release) and where it must stop for a go-ahead (before publishing, and before any rollback). It's user-invoked only and limited to read-only gh, git and curl commands.
  • README.md's "In production" paragraph points to both.

Issue / Bugzilla link

n/a

Testing

n/a

deploy.md described what the deploy workflow does but not the steps to
cut a release: check stage, bump the version in a PR, publish the
release, watch the deploy, and confirm version.json. Add them, with the
re-run and rollback command, and point the README at them.

The /release skill walks through the same steps from that section
rather than repeating them, adding when to stop for the user: choosing
the version, and the go-ahead before publishing, which reaches prod.

This comment was marked as resolved.

Review on #515: checking stage came before the version bump existed,
and publishing with --target main could release a later commit stage
hadn't checked. Bump first, then wait for the chosen SHA's stage run
and release that SHA. Watching took the newest release run, which
straight after publishing can be the previous release's; wait for the
run on the new tag instead.

The skill also finds the remote rather than assuming mozilla, and
leaves drafts and pre-releases out when finding the last prod release.

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.

🟢 Approval recommended

No active review issues are reported for the release-process documentation and accompanying /release guidance.

No open issues 🎉

4 resolved since last review

Review effort: Balanced

This branch has not been deployed

No deployments
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