Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

docs(release): clear the editorial gate on the Version Packages PR before it merges; finish the CDN smoke-test comment (#7362)

Cindy Zhanged072339529a
diff --git a/.github/scripts/cdn-template-smoke-test.mjs b/.github/scripts/cdn-template-smoke-test.mjs
index c0d58b8504..c2c2605e0c 100644
--- a/.github/scripts/cdn-template-smoke-test.mjs
+++ b/.github/scripts/cdn-template-smoke-test.mjs
@@ -73,7 +73,8 @@ console.log(`scaffolded ${PAGE} pinned to ${pinned}`);
// The pin is the owner-declared version in this checkout. It can remain
// unpublished throughout next-plan and release-branch PRs; branch consolidation
// writes changelogs without bumping package.json. Gating every PR on that exact
-// so on an unpublished pin we re-point the page at npm's stable `latest`
+// version being on the CDN would block the whole release train on a build that
+// cannot exist yet, so on an unpublished pin we re-point the page at npm's stable `latest`
// dist-tag and still assert the recipe. Registry `versions` keys are not a
// version-ordered API: the final key can be a canary that esm.sh has not built.
const metadata = await fetch('https://registry.npmjs.org/@astryxdesign/core')
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 94bf599bdc..98963b2104 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -754,12 +754,13 @@ main's declaration. A separate owner PR then declares the next plan across the
fixed group, exact internal pins, and lockfile—patch successor by default,
minor only when the owner explicitly names it.
-Before stable publication, a patch release self-grades its complete generated
-changelogs and draft GitHub Release notes against the public [Blog Review
+Before the Version Packages PR merges, a patch release self-grades its complete
+generated changelogs and draft GitHub Release notes against the public [Blog Review
Rubric](https://github.com/facebook/astryx/wiki/Blog-Review-Rubric#three-required-scored-criteria)
-under the `update` profile. Every criterion must pass; failures are fixed on the
-release branch and the complete text is re-graded. A minor release instead requires
-Cindy's explicit human editorial approval of the changelogs, release notes, and public blog.
+under the `update` profile and records the result on that PR. Every criterion
+must pass; failures are fixed on the PR and the complete text is re-graded. A
+minor release instead requires Cindy's explicit human editorial approval of the
+changelogs, release notes, and public blog, recorded the same way.
## Finding Something to Work On
diff --git a/docs/release.md b/docs/release.md
index 159b7bb5a9..8b6d5be029 100644
--- a/docs/release.md
+++ b/docs/release.md
@@ -22,15 +22,17 @@ stable package is built from an immutable release tag and published with provena
promotes staged codemods, refreshes exact internal pins, and deletes only the
frozen Changesets. It never chooses or bumps the version. Refresh and verify the
lockfile before the Version Packages PR merges.
-4. Merge the generated PR to the release branch, run exact-head branch CI, and
- clear the public editorial gate. For a patch, self-grade the complete generated
- changelogs and draft GitHub Release notes against the public [Blog Review
+4. Clear the public editorial gate on the generated PR before it merges, so a
+ failed criterion is fixed on that PR rather than by moving the release head
+ afterwards. For a patch, self-grade the complete generated changelogs and draft
+ GitHub Release notes against the public [Blog Review
Rubric](https://github.com/facebook/astryx/wiki/Blog-Review-Rubric#three-required-scored-criteria)
- under the `update` profile, record the result, and fix and re-grade every failed
- criterion.
- A minor requires Cindy's explicit human editorial approval of the changelogs,
- release notes, and required public blog. Then tag and publish that exact branch
- head. Stable publication from `main` is refused.
+ under the `update` profile, record the result on the PR, and fix and re-grade
+ every failed criterion. A minor requires Cindy's explicit human editorial
+ approval of the changelogs, release notes, and required public blog, recorded
+ the same way. Then merge the generated PR to the release branch, run exact-head
+ branch CI, and tag and publish that exact branch head. Stable publication from
+ `main` is refused.
5. Squash the published branch outputs back into current `main` through
`chore/merge-vX.Y.Z-to-main`. The trusted validator requires the immutable tag,
active branch head, and plan digest; exact generated bytes and frozen deletions;