Skip to content

docs(skills): the release cut also prepares the prisma/web docs PR and the Supabase fixture re-emit - #30271

Merged
wmadden-electric merged 1 commit into
mainfrom
skill/publish-release-updates-docs-site
Sep 13, 2026
Merged

wmadden-electric merged 1 commit into
mainfrom
skill/publish-release-updates-docs-site

Conversation

@wmadden-electric

@wmadden-electric wmadden-electric commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

At a glance

Cutting rc.10 took two extra commits and a docs-site PR that the release skill did not mention. The skill now describes all three, so the next release cut produces them without rediscovery:

1. chore(release): bump to <version>
2. chore(release): re-emit the Supabase fixtures + upgrade-recipe declaration   ← CI fails without this
3. docs(release): release notes                                                  ← already covered
4. prisma/web PR: docs(docs): update the Prisma ORM 8 pages for <version>       ← new step 10

What changed in the skill

  • Step 5 (sanity-check) now says that the Supabase extension stamps its version into eight emitted fixture files, that the Fixtures job diffs them, and that check:upgrade-coverage then requires the bump PR to declare the re-emit in the app upgrade recipe. The rc.9 and rc.10 bumps both needed exactly this.
  • New step 10 prepares the prisma/web docs PR from the release notes: clone into a gitignored path in the release worktree, move the version numbers on the three pages that carry them, walk the notes entry by entry to find the pages that state old behaviour (with the usual home for each kind of change), run the three docs linters, and open the PR with a body that says it merges only after the publish. This is the process rc.10 followed in docs(docs): update the Prisma ORM 8 pages for 8.0.0-rc.10 web#8261.
  • Step 11 (report) reports both PRs. It also records the merge order if the maintainer asks the agent to merge, and two merge-queue facts that cost time on rc.10: the queue refuses a PR with any unresolved review thread even when checks are green, and CodeRabbit flags the tag-pinned recipe links as dead every time, which is expected because the publish creates the tag.
  • The frontmatter description mentions the docs-site PR so the skill triggers with that expectation.

Validation

pnpm lint:skills passes.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated the npm release workflow to include required version updates across Supabase contract and fixture files.
    • Added upgrade-coverage instructions for re-emitting the Supabase extension version.
    • Added steps to prepare a matching Prisma documentation-site pull request with updated version tables and release notes.
    • Clarified reporting, pull request linking, worktree details, and the required release-first merge order.

…e fixture re-emit

The rc.10 cut needed two things the publish skill did not describe: the Supabase fixture re-emit with its upgrade-recipe declaration, without which the Fixtures and upgrade-coverage checks fail, and a prisma/web PR that updates the docs site from the same release notes. Both are now steps, along with the merge order and the two merge-queue blockers hit on rc.10.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@wmadden-electric
wmadden-electric requested a review from a team as a code owner September 13, 2026 06:38
@coderabbitai

coderabbitai Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Advanced

Run ID: 827f41c9-a446-46bb-bbb3-f9d14408f851

📥 Commits

Reviewing files that changed from the base of the PR and between cfccb09 and f878078.

📒 Files selected for processing (1)
  • skills-contrib/publish-npm-version/SKILL.md

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The publish skill now documents Supabase version updates and prepares a matching prisma/web documentation pull request. It also adds validation, reporting, and merge-order instructions for both pull requests.

Changes

Release and documentation workflow

Layer / File(s) Summary
Release follow-up requirements
skills-contrib/publish-npm-version/SKILL.md
The procedure updates eight Supabase contract or fixture files and adds the reemit-supabase-extension-version upgrade instruction after the version bump.
Documentation pull request workflow
skills-contrib/publish-npm-version/SKILL.md
The skill prepares a prisma/web branch, updates documentation pages, runs lint checks, opens the documentation pull request, and reports both pull requests with merge-order guidance.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: tensordreams

Merge Risk: ⚪ Minimal · up to f8780

The documented workflow covers both required follow-ups and PR linking, so this change is ready to merge after normal checks.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main changes: updating the release skill to prepare the prisma/web documentation PR and document the Supabase fixture re-emit.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch skill/publish-release-updates-docs-site

Comment @coderabbitai help to get the list of available commands.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@wmadden-electric
wmadden-electric added this pull request to the merge queue Sep 13, 2026
Merged via the queue into main with commit 1e8b6a6 Sep 13, 2026
22 checks passed
@wmadden-electric
wmadden-electric deleted the skill/publish-release-updates-docs-site branch September 13, 2026 07:38
github-merge-queue Bot pushed a commit that referenced this pull request Sep 14, 2026
…ed contract artefacts (#30282)

## At a glance

What a release cut looks like after this PR, compared with rc.9 and
rc.10:

```text
before: pnpm bump-version                     → Fixtures job fails on 8 Supabase artefacts
        hand-edit 8 version stamps            → check:upgrade-coverage fails: no recipe entry
        hand-write a recipe entry             → green

after:  pnpm bump-version                     → green (the 8 stamps move with the bump)
```

## Why

The Supabase extension writes its own package version into every
contract it emits. The tracked example and fixture artefacts therefore
go stale on every bump, `fixtures:check` diffs them, and the coverage
check then insists the bump PR declare the "re-emit" in the upgrade
recipe. It is a version move, not a consumer-facing change, and both
rc.9 (#30239) and rc.10 (#30268) paid for it with an extra commit and a
CI round trip.

## What changes

- `scripts/set-version-utils.ts` gains `restampExtensionVersion`, which
moves only the `version` that directly follows an extension entry's
`targetId`, in both the JSON and the `.d.ts` shape, and leaves every
other `version` field alone. Tests cover both shapes, the no-op case,
and idempotence.
- `scripts/set-version.ts` reads the previous root version before
rewriting and applies the helper to every tracked `contract.json` /
`contract.d.ts` outside `migrations/snapshots/` (those are
content-addressed and must never change). A dry run against `main`
touches exactly the eight Supabase files, one line each, and nothing
else among the 531 tracked artefacts.
- `scripts/check-upgrade-coverage.mjs` treats an artefact whose only
difference is that stamp as translation-irrelevant, alongside the
existing version-only `package.json` and `$schema` cases. Two new tests:
a stamp-only sweep passes without a fresh declaration; an artefact whose
shape also changed still fails.
- The `publish-npm-version` skill's sanity-check step now expects the
restamp from the bump instead of describing the manual follow-up added
in #30271.

## Validation

- `node --test scripts/set-version-utils.test.ts`: 22 pass.
- `node --test scripts/check-upgrade-coverage.test.mjs`: 84 pass.
- `pnpm lint` and `pnpm lint:skills` pass.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Improvements**
- Contract artefacts now automatically receive updated extension version
stamps during release versioning.
- Unrelated version fields remain unchanged, and already-updated
artefacts are skipped.
- Release checks now distinguish version-only contract updates from
substantive contract changes.

- **Bug Fixes**
- Prevented version-only changes in generated contract files from
incorrectly triggering upgrade-coverage requirements.

- **Documentation**
- Updated release guidance to reflect automatic contract version updates
and streamlined validation steps.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
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