Skip to content

Revert #4784: restore dist/docs versioned snapshots accidentally deleted#4798

Merged
bokelley merged 1 commit into
mainfrom
bokelley/revert-4784-restore-dist-docs
May 19, 2026
Merged

Revert #4784: restore dist/docs versioned snapshots accidentally deleted#4798
bokelley merged 1 commit into
mainfrom
bokelley/revert-4784-restore-dist-docs

Conversation

@bokelley
Copy link
Copy Markdown
Contributor

Emergency restore. PR #4784 (whats-new-in-3-1.mdx, merged as `e01cbf907b`) accidentally deleted 1,131 files (~925K lines) under `dist/docs/` — the versioned doc snapshots (`2.5.3/`, `3.0.0/`, `3.0.0-beta.3/`, etc.) that adopters fetch from raw.githubusercontent.com URLs.

Root cause

The whats-new-in-3-1 branch was created from a stale local `main` (Apr 28). Despite a subsequent `git pull origin main` and a `git reset --hard origin/main`, the branch's tree-state at push time was missing the `dist/docs/` artifacts. The squash-merge faithfully applied that diff — 1131 file deletions on top of 1 file addition. The pre-push broken-links hook scanned for broken markdown links on changed files but didn't notice the large-scale deletion.

What this PR does

`git revert e01cbf9` — restores all 2,718 `dist/docs/` files (the full versioned-snapshot tree) and removes the `whats-new-in-3-1.mdx` page + its nav entry + changeset. A clean re-application of the whats-new page will follow in a separate PR opened from current main with no carry-over from the stale branch base.

Test plan

🤖 Generated with Claude Code

@bokelley bokelley merged commit 181d8b7 into main May 19, 2026
12 of 13 checks passed
@bokelley bokelley deleted the bokelley/revert-4784-restore-dist-docs branch May 19, 2026 17:07
bokelley added a commit that referenced this pull request May 19, 2026
…4800)

Re-applies the 3.0 → 3.1 announcement page on a fresh branch from
current main. The original landing (PR #4784, commit e01cbf9)
accidentally deleted 1,131 dist/docs/ versioned-snapshot files because
its branch tree-state was based on a stale local main. That was
reverted in PR #4798 (commit 181d8b7), restoring the dist artifacts
but also removing this page.

This commit re-adds the page (content identical to the original) on a
clean branch base. Verified diff stat shows only 3 file changes
(docs/reference/whats-new-in-3-1.mdx + docs.json nav entries +
changeset) — no dist/ touch.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant