Skip to content

.agents/skills: add mz-dbt-release runbook#36637

Merged
sjwiesman merged 2 commits into
MaterializeInc:mainfrom
sjwiesman:dbt-release-skill
May 20, 2026
Merged

.agents/skills: add mz-dbt-release runbook#36637
sjwiesman merged 2 commits into
MaterializeInc:mainfrom
sjwiesman:dbt-release-skill

Conversation

@sjwiesman
Copy link
Copy Markdown
Contributor

Summary

Adds an agent skill that documents the mechanical procedure for cutting a dbt-materialize PyPI release: bump the version in __version__.py and setup.py, date the ## Unreleased CHANGELOG entry, and open a PR titled dbt-materialize: release vX.Y.Z with a Ship: <url> body.

The skill also calls out which Materialize-wide checks (cargo check, bin/fmt, bin/lint) do not apply to a version-bump-only PR, so future releases don't get blocked on irrelevant pre-commit machinery.

Verified end-to-end against the v1.9.10 release (#36636), which followed this exact recipe.

Test plan

Encodes the three-file release procedure for the dbt-materialize PyPI
package: bump version in __version__.py + setup.py, date the Unreleased
CHANGELOG entry, commit as `dbt-materialize: release vX.Y.Z` with a
`Ship:` URL pointing at the feature/fix PR being released.

Also notes which checks (cargo, bin/fmt, bin/lint) do not apply to a
version-bump-only PR.
@sjwiesman sjwiesman force-pushed the dbt-release-skill branch from cda8e36 to e30cc7f Compare May 20, 2026 16:34
Copy link
Copy Markdown
Contributor

@bobbyiliev bobbyiliev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Comment thread .agents/skills/mz-dbt-release/SKILL.md Outdated
Comment thread .agents/skills/mz-dbt-release/SKILL.md Outdated
Comment thread .agents/skills/mz-dbt-release/SKILL.md
Comment thread .agents/skills/mz-dbt-release/SKILL.md Outdated
Copy link
Copy Markdown
Member

@bosconi bosconi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely scoped runbook — accurate where it counts (file paths, the
__version__.pysetup.py sync rule, the +4/-2 shape across the
three recent releases I checked). Suggestions in-line plus:

Consider scripting the mechanical edits. This procedure is
genuinely mechanical — read current version, bump, write to two
files, insert dated heading. A ~30-line tools/cut_release.py X.Y.Z
would (a) eliminate the version-string drift class of bugs, (b) let
you drop the +4/-2 sanity check entirely, and (c) shrink SKILL.md
to "run the script, then commit". Strict-runbook is defensible (a
human eyeballing each edit is the current shape), but worth a
conscious choice rather than the default. No strong opinion — just
wanted to surface the option.

Copy link
Copy Markdown
Member

@bosconi bosconi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few possible improvements.

Co-authored-by: Jon Currey <bosconi@users.noreply.github.com>
Copy link
Copy Markdown
Member

@bosconi bosconi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huzzah!

@sjwiesman sjwiesman merged commit 9c54d76 into MaterializeInc:main May 20, 2026
7 checks passed
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.

3 participants